/* =========================================
   LOGIN PAGE STYLES
   ========================================= */

body {
    background: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* FULL PAGE CONTAINER ADJUSTED FOR HEADER/FOOTER */
.full-page-container {
    width: 100%;
    display: flex;
    min-height: 85vh; 
    flex: 1; 
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* IMAGE SLIDER SECTION - LEFT SIDE */
.fullpage-slider-section {
    flex: 1.2;
    background: #764ba2;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.fullpage-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 600px;
}

.fullpage-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.fullpage-slide.active {
    opacity: 1;
}

.fullpage-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white; /* White text for the images */
    padding: 60px 80px 40px;
    z-index: 2;
}

.slide-overlay h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.slide-overlay p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
    max-width: 500px;
    color: white;
}

.slider-dots-container {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

/* LOGIN FORM SECTION - RIGHT SIDE */
.fullpage-form-section {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 450px;
    padding: 50px 0;
}

.form-content {
    width: 100%;
    max-width: 550px;
    padding: 0 50px;
    margin: 0 auto;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container h1 {
    color: #333;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ROLE TOGGLE */
.fullpage-role-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.fullpage-role-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fullpage-role-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* FORMS */
.form-tab { display: none; }
.form-tab.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.fullpage-form-group { margin-bottom: 20px; }
.fullpage-form-group label { display: block; margin-bottom: 8px; color: #333; font-weight: 600; font-size: 14px; }

.fullpage-form-control {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.fullpage-form-control:focus { border-color: #667eea; outline: none; }

.fullpage-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: #666; }
.forgot-link { color: #667eea; text-decoration: none; font-size: 14px; font-weight: 600; }

.fullpage-submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.signup-prompt {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.signup-prompt a {
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
}

/* SOCIAL LOGIN (Seeker Only) */
.social-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #999;
    font-size: 13px;
}
.social-divider:before, .social-divider:after { content: ''; flex: 1; height: 1px; background: #e9ecef; }
.social-divider span { padding: 0 15px; }

.social-buttons { display: flex; flex-direction: column; gap: 12px; }
.social-login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #e9ecef;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}
.social-login-btn:hover { background: #f8f9fa; border-color: #667eea; }

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s infinite linear;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================
    SUCCESS MODAL STYLES
    ========================================= */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-modal-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
}

.success-modal-overlay.show .success-modal-box {
    transform: scale(1);
}

.success-modal-icon {
    font-size: 65px;
    color: #10B981; /* Emerald Green */
    margin-bottom: 20px;
}

.success-modal-box h2 {
    margin: 0 0 10px 0;
    color: #1E293B;
    font-size: 26px;
    font-weight: 800;
}

.success-modal-box p {
    color: #64748B;
    font-size: 16px;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.modal-spinner {
    width: 35px;
    height: 35px;
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .full-page-container { flex-direction: column; }
    .fullpage-slider-section { display: none; }
    .fullpage-form-section { min-width: 100%; }
}