/* ===== AUTHENTICATION PAGES STYLES ===== */
:root {
    --primary-color: #f2d0d3;
    --secondary-color: #f2d0d0;
    --accent-color: #f4afb3;
    --highlight-color: #f8ca9d;
    --success-color: #80bf8a;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Auth Section */
.auth-section {
    min-height: 100vh;
    padding: 80px 0;
    background: linear-gradient(135deg, #f2d0d3 0%, #f4afb3 50%, #f8ca9d 100%);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr  ;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Left Side - Decorative */
.auth-left {
    position: relative;
    padding: 40px;
}

.auth-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Decorative Circles */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

/* Decorative Hearts */
.decoration-heart {
    position: absolute;
    font-size: 2rem;
    animation: heartBeat 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.heart-1 {
    top: 25%;
    right: 25%;
    animation-delay: 0s;
}

.heart-2 {
    top: 45%;
    left: 30%;
    animation-delay: 1.5s;
}

.heart-3 {
    bottom: 30%;
    right: 20%;
    animation-delay: 3s;
}

/* Decorative Books */
.decoration-book {
    position: absolute;
    font-size: 1.8rem;
    animation: bookFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.book-1 {
    top: 35%;
    left: 15%;
    animation-delay: 0.5s;
}

.book-2 {
    bottom: 40%;
    right: 30%;
    animation-delay: 2.5s;
}

/* Decorative Stars */
.decoration-star {
    position: absolute;
    font-size: 1.5rem;
    animation: starTwinkle 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.star-1 {
    top: 15%;
    left: 50%;
    animation-delay: 1s;
}

.star-2 {
    bottom: 15%;
    left: 40%;
    animation-delay: 2s;
}

/* Auth Content */
.auth-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #2c3e50;
}

.auth-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.auth-subtitle {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 30px;
    font-weight: 600;
}

.auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.auth-benefits li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.auth-benefits li:hover {
    transform: translateX(10px);
    color: #f4afb3;
}

.auth-benefits li i {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #f4afb3, #f2d0d3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(244,175,179,0.4);
}

/* Right Side - Registration Form */
.auth-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.auth-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f4afb3, #f2d0d3, #f8ca9d, #80bf8a);
    animation: gradientShift 3s ease-in-out infinite;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-title i {
    color: #f4afb3;
    font-size: 2rem;
}

.form-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-label i {
    color: #f4afb3;
    font-size: 1rem;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-input:focus {
    outline: none;
    border-color: #f4afb3;
    box-shadow: 0 0 0 4px rgba(244,175,179,0.1);
    transform: translateY(-2px);
}

.form-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220,53,69,0.1);
}

/* Input Icon */
.input-icon {
    position: absolute;
    left: 18px;
    color: #f4afb3;
    font-size: 1.1rem;
    z-index: 2;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2;
}

.password-toggle:hover {
    color: #f4afb3;
    background: rgba(244,175,179,0.1);
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
}

.error-message i {
    font-size: 0.8rem;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2c3e50;
    line-height: 1.5;
}

.forgot-password {
    color: #f4afb3;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #f2d0d3;
    text-decoration: underline;
}

.form-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.form-checkbox:checked + .checkmark {
    background: #f4afb3;
    border-color: #f4afb3;
}

.form-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
}

.terms-link {
    color: #f4afb3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: #f2d0d3;
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f4afb3, #f2d0d3);
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(244,175,179,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(244,175,179,0.5);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-color: #b8dacc;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-color: #ffeaa7;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-color: #bee5eb;
}

/* Resend Verification Button */
.btn-resend-verification {
    background: none;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-resend-verification:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-resend-verification:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Social Login */
.social-login {
    margin-bottom: 30px;
}

.social-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.social-divider::before,
.social-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e9ecef;
}

.social-divider::before {
    left: 0;
}

.social-divider::after {
    right: 0;
}

.social-divider span {
    background: rgba(255,255,255,0.95);
    padding: 0 15px;
}
.btn-outline {
    color: var(--accent-color) !important;
    background: transparent !important;
    border: 2px solid var(--accent-color) !important;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.05 ) !important;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 12px 30px;
    background: rgba(0, 0, 0, 0.9);
}
.btn-outline:hover {
    background: var(--accent-color) !important;
    color: var(--white) !important;
}
.btn-primary {
    color: white;
    background: rgba(0, 0, 0, 0.8) !important;
}
 
.btn {
    font-weight: 500;
    cursor: pointer;
    display: inline-block ;
    text-align: center;
    padding: 8px 20px !important;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 25px !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
}
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-social {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    color: #2c3e50;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.btn-facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.auth-footer p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

.login-link,
.register-link {
    color: #f4afb3;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-link:hover,
.register-link:hover {
    color: #f2d0d3;
    transform: translateX(5px);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bookFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); }
    100% { filter: drop-shadow(0 8px 20px rgba(244,175,179,0.3)); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .auth-left {
        order: 2;
        padding: 20px;
    }
    
    .auth-right {
        order: 1;
    }
    
    .auth-title {
        font-size: 2.8rem;
    }
    
    .auth-benefits {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 60px 0;
    }
    
    .auth-form-container {
        padding: 30px;
        border-radius: 20px;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .auth-title {
        font-size: 2.4rem;
    }
    
    .auth-benefits li {
        font-size: 1rem;
        padding: 10px 0;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 40px 0;
    }
    
    .auth-form-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .auth-subtitle {
        font-size: 1.1rem;
    }
    
    .form-input {
        padding: 14px 18px 14px 45px;
        font-size: 0.95rem;
    }
    
    .btn-submit {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .error-message {
        font-size: 0.8rem;
        bottom: -22px;
    }
    
    .decoration-circle {
        display: none;
    }
    
    .decoration-heart,
    .decoration-book,
    .decoration-star {
        font-size: 1.5rem;
    }
}

/* Loading States */
.btn-submit:disabled {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    cursor: not-allowed;
}

/* Focus States */
.form-input:focus + .input-icon {
    color: #f4afb3;
}

/* Hover Effects */
.auth-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

.auth-benefits li:hover i {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(244,175,179,0.5);
}

/* ===== EMAIL VERIFICATION SPECIFIC STYLES ===== */

/* Verification Help Section */
.verification-help {
    margin-bottom: 25px;
}

.verification-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-resend {
    background: linear-gradient(135deg, #80bf8a, #6bbf7a);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(128,191,138,0.3);
}

.btn-resend:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128,191,138,0.4);
}

.btn-resend:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.help-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-link:hover {
    color: #f4afb3;
    transform: translateX(3px);
}

/* Alternative Actions */
.verification-alternatives {
    margin: 30px 0;
    padding: 25px;
    background: rgba(244,175,179,0.05);
    border-radius: 15px;
    border: 1px solid rgba(244,175,179,0.2);
}

.alternative-text {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.alternative-text i {
    color: #f4afb3;
}

.alternative-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-alternative {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    color: #2c3e50;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
}

.btn-alternative:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #f4afb3;
}

.btn-email:hover {
    color: #f4afb3;
}

.btn-phone:hover {
    color: #80bf8a;
    border-color: #80bf8a;
}

/* Responsive for Verification */
@media (max-width: 480px) {
    .verification-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .alternative-buttons {
        grid-template-columns: 1fr;
    }
    
    .btn-resend {
        justify-content: center;
    }
}
