/* Authentication Pages Styles */

/* Login/Signup/Profile Pages */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: white;
    border: 1px solid var(--google-blue-200);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.12);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--google-blue) 0%, var(--google-blue-400) 100%);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    color: var(--google-gray-900);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--google-gray-600);
    font-size: 1rem;
    margin: 0;
}

/* Form Groups */
.form-floating {
    margin-bottom: 20px;
    position: relative;
}

.form-floating .form-control {
    height: 58px;
    border: 2px solid var(--google-blue-200);
    border-radius: 12px;
    padding: 16px 16px 8px 16px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-floating .form-control:focus {
    border-color: var(--google-blue);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.form-floating .form-control::placeholder {
    color: transparent;
}

.form-floating label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--google-gray-600);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 4px;
    z-index: 2;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 12px;
    font-size: 0.875rem;
    color: var(--google-blue);
    font-weight: 600;
}

/* Authentication Buttons */
.auth-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-btn-primary {
    background: linear-gradient(135deg, var(--google-blue) 0%, var(--google-blue-600) 100%);
    color: white;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.auth-btn-secondary {
    background: white;
    color: var(--google-blue);
    border: 2px solid var(--google-blue-200);
}

.auth-btn-secondary:hover {
    border-color: var(--google-blue);
    background: var(--google-blue-50);
    transform: translateY(-2px);
}

/* Links */
.auth-link {
    color: var(--google-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: var(--google-blue-600);
    text-decoration: underline;
}

.auth-links {
    text-align: center;
    margin-top: 24px;
}

.auth-links p {
    color: var(--google-gray-600);
    margin-bottom: 8px;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--google-gray-500);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--google-blue-200);
}

.auth-divider span {
    padding: 0 16px;
    background: white;
}

/* Social Login Buttons */
.social-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid var(--google-blue-200);
    background: white;
    color: var(--google-gray-700);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-btn:hover {
    border-color: var(--google-blue);
    background: var(--google-blue-50);
    transform: translateY(-2px);
}

/* OTP Verification */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.otp-input {
    width: 100% !important;
    max-width: 300px;
    height: 60px;
    border: 2px solid var(--google-blue-200);
    border-radius: 12px;
    text-align: center;
    font-size: 2rem !important;
    font-weight: 600;
    letter-spacing: 0.5rem;
    padding: 20px !important;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.otp-input:focus {
    border-color: var(--google-blue);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    outline: none;
}

/* Success/Error Messages */
.auth-message {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-message.success {
    background: var(--google-green-100);
    color: var(--google-green-800);
    border: 1px solid var(--google-green-200);
}

.auth-message.error {
    background: var(--google-red-100);
    color: var(--google-red-800);
    border: 1px solid var(--google-red-200);
}

.auth-message.info {
    background: var(--google-blue-100);
    color: var(--google-blue-800);
    border: 1px solid var(--google-blue-200);
}

/* Profile Page Specific */
.profile-section {
    background: white;
    border: 1px solid var(--google-blue-200);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.08);
}

.profile-section h3 {
    color: var(--google-gray-900);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--google-blue-100);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--google-blue-200);
    background: var(--google-blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--google-blue);
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    padding: 16px;
    background: var(--google-blue-50);
    border-radius: 12px;
    border: 1px solid var(--google-blue-200);
}

.info-label {
    font-size: 0.875rem;
    color: var(--google-gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    color: var(--google-gray-900);
    font-weight: 500;
    font-size: 1rem;
}

/* Account Status */
.account-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-status.active {
    background: var(--google-green-100);
    color: var(--google-green-800);
    border: 1px solid var(--google-green-200);
}

.account-status.inactive {
    background: var(--google-red-100);
    color: var(--google-red-800);
    border: 1px solid var(--google-red-200);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 24px;
        margin: 20px;
        border-radius: 16px;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .otp-container {
        gap: 8px;
    }
    
    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .profile-section {
        padding: 20px;
    }
    
    .profile-info {
        grid-template-columns: 1fr;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}