﻿ 
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f5f5;
}

header {
    background-color: #00BCD4; /* رنگ فیروزه‌ای */
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-content {
    display: flex;
    flex: 1;
    padding: 2rem;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.login-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.news-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    text-align:center;
}
.dntCaptcha {
  
    align-items:center;
   text-align:center;
}
button {
    background-color: #00BCD4; /* رنگ فیروزه‌ای */
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #36C6B6; /* رنگ فیروزه‌ای تیره‌تر برای حالت hover */
    }

.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

    .news-item:last-child {
        border-bottom: none;
    }
header {
    height: auto;
    
}
footer {
    background-color: #00BCD4; /* رنگ فیروزه‌ای */
    color: white;
    padding: 1rem;
    text-align: center;
    margin-top: auto;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 1rem;
    }

    .login-section, .news-section {
        max-width: 100%;
    }

    .news-section {
        max-height: 200px;
    }
}

 
