body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    /* Very dark grey, almost black */
    color: #e0e0e0;
    /* Light grey for general text */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #1e1e1e;
    /* Dark container background */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.25);
    /* Red shadow */
    border: 1px solid #990000;
    /* Dark red border */
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    color: #ff3333;
    /* Bright red for heading */
    margin-bottom: 25px;
    font-size: 2em;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ff6666;
    /* Lighter, softer red for labels */
    font-size: 0.95em;
}

.form-group input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #660000;
    /* Darker red border for inputs */
    background-color: #2c2c2c;
    /* Slightly lighter dark background for inputs */
    color: #e0e0e0;
    /* Light text in input */
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff3333;
    /* Bright red on focus */
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.4);
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #cc0000;
    /* Strong red button */
    color: #ffffff;
    /* White text on button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

button[type="submit"]:hover {
    background-color: #ff3333;
    /* Brighter red on hover */
    transform: translateY(-1px);
}

button[type="submit"]:active {
    transform: translateY(0px);
}

.register-link {
    margin-top: 25px;
    font-size: 0.9em;
    color: #aaaaaa;
    /* Greyish text */
}

.register-link a {
    color: #ff6666;
    /* Lighter red for link */
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
    color: #ff3333;
    /* Brighter red on link hover */
}
.remember-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #ccc;
    /* یا هر رنگ مناسب با تم شما */
    font-size: 0.95rem;
}

.remember-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: red;
    /* رنگ تیک با تم قرمز هماهنگ می‌شود */
}