/* Authentication screens. */

body.auth-screen {
    background-color: #f0f2f5;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-wrapper {
    width: 100%;
    max-width: 450px;
}

.auth-container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.auth-container-narrow {
    max-width: 450px;
}

.auth-container-wide {
    max-width: 500px;
}

.auth-form-row {
    display: flex;
    gap: 15px;
}

.auth-form-col {
    flex: 1;
}

.auth-help {
    color: #777;
    display: block;
    margin-top: 5px;
}

@media (max-width: 640px) {
    .auth-form-row {
        flex-direction: column;
        gap: 0;
    }
}

.auth-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 16px;
    background: #f8f9fa;
    padding: 10px;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
}

.auth-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.auth-form {
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    margin: 0 0 8px 5px;
    font-weight: 600;
    color: #34495e;
    font-size: 0.9rem;
}

.auth-form .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .input-icon {
    position: absolute;
    left: 16px;
    color: #95a5a6;
    font-size: 1.1rem;
    z-index: 10;
    pointer-events: none;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.auth-form input[type="file"] {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    font-size: 1rem;
    background-color: #f9fbfc;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: #3498db;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #3498db;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.auth-footer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #7f8c8d;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.auth-form .remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.auth-form .remember-row input {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.auth-form .remember-row label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}
