* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1e1e24;
    color: #e0e0e0;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 0;
}

.auth-container {
    background-color: #2a2a35;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #3b3b4f;
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 24px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #a0a0b0;
    font-size: 14px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"] {
    width: 100%;
    padding: 12px;
    background-color: #1e1e24;
    border: 1px solid #3b3b4f;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #396cd8;
}

.password-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.icon-btn {
    background: #1e1e24;
    border: 1px solid #3b3b4f;
    color: #a0a0b0;
    font-size: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    border-color: #396cd8;
    background-color: #2a2a35;
}

.error-msg {
    display: block;
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    min-height: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #a0a0b0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #396cd8;
}

.checkbox-group a {
    color: #396cd8;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    background-color: #396cd8;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #2d5ab8;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #a0a0b0;
}

.auth-link a {
    color: #396cd8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .auth-container {
        margin: 15px;
        padding: 25px 20px;
        width: calc(100% - 30px);
    }
}