/* ==========================================================================
   Authentication Pages (Login, Register, Forgot Password)
   ========================================================================== */

.login-page,
.register-page,
.forgot-password-page,
.reset-password-page,
.verify-email-page {
    padding-top: 0 !important;
}

body.login-page,
body.register-page,
body.forgot-password-page,
body.reset-password-page,
body.verify-email-page {
    padding-top: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
}

.login-page main,
.register-page main,
.forgot-password-page main,
.reset-password-page main,
.verify-email-page main {
    padding: 0 !important;
    margin: 0 !important;
}

.login-page .site-header,
.register-page .site-header,
.forgot-password-page .site-header,
.reset-password-page .site-header,
.verify-email-page .site-header {
    display: none;
}

.login-page footer,
.register-page footer,
.forgot-password-page footer,
.reset-password-page footer,
.verify-email-page footer {
    display: none;
}

/* ==========================================================================
   Login Page Styles
   ========================================================================== */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: linear-gradient(135deg, 
        #0a0a0a 0%, 
        #1a1a1a 25%,
        #0f1419 50%,
        #1a1a1a 75%,
        #0a0a0a 100%
    );
    position: relative;
    overflow: hidden;
    padding: 0;
}

.login-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(128, 10, 10, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(210, 26, 26, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Login Form Section */
.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-form-card {
    background: linear-gradient(135deg, #0f1419, #1a1f2e);
    border-radius: var(--radius-card);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(128, 10, 10, 0.2);
    position: relative;
}

.login-logo {
    margin-bottom: 2.5rem;
}

.login-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.login-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-base);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: #ffffff;
    color: #1a1f2e;
    font-size: 0.95rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: rgba(26, 31, 46, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-400);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(128, 10, 10, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-input.is-invalid {
    border-color: #ef4444;
    background: #fff5f5;
}

.form-error {
    font-size: 0.85rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(26, 31, 46, 0.6);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 200ms ease;
}

.password-toggle:hover {
    color: #1a1f2e;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-400);
    cursor: pointer;
}

.form-forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password-link {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--brand-500);
    text-decoration: none;
    transition: color 200ms ease;
}

.forgot-password-link:hover {
    color: var(--brand-400);
    text-decoration: underline;
}

.login-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--brand-500);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(128, 10, 10, 0.3);
    margin-top: 0.5rem;
}

.login-submit-btn:hover {
    background: var(--brand-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 10, 10, 0.4);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.social-login {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-login-top {
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}

.social-login-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.social-login-title span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.social-login-title span::before,
.social-login-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.social-login-title span::before {
    right: calc(100% + 1rem);
}

.social-login-title span::after {
    left: calc(100% + 1rem);
}

.social-login-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-btn--google {
    color: #4285F4;
}

.social-btn--google svg {
    width: 20px;
    height: 20px;
}

.social-btn--github {
    color: #24292e;
}

.social-btn--facebook {
    color: #1877F2;
}

.social-btn--linkedin {
    color: #0077B5;
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
}

.login-footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.register-footer {
    margin-top: 1.25rem;
    text-align: center;
}

.register-footer p {
    font-size: 0.9rem;
    color: var(--text-500);
}

/* Recruiter form specific styles - footer - Balanced size */
@media (min-width: 1025px) {
    .register-recruiter-page .register-footer {
        margin-top: 0.75rem;
    }
    
    .register-recruiter-page .register-footer p {
        font-size: 0.8125rem;
        margin: 0.375rem 0;
        line-height: 1.4;
    }
}

.register-link {
    color: var(--brand-500);
    font-weight: bold;
    text-decoration: underline;
    transition: color 200ms ease;
}

.register-link:hover {
    color: var(--brand-400);
}

.login-link {
    color: var(--brand-500);
    font-weight: bold;
    text-decoration: underline;
    transition: color 200ms ease;
}

.login-link:hover {
    color: var(--brand-400);
}

/* ==========================================================================
   Register Page Styles
   ========================================================================== */

.register-container {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/Login-BG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.register-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 0;
}

.register-container > * {
    position: relative;
    z-index: 1;
}

.register-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 950px;
    width: 100%;
    background: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: calc(100vh - 4rem);
    max-height: calc(100vh - 4rem);
    margin: 0;
}

@media (min-width: 1025px) {
    .register-card {
        max-height: none;
    }
}

/* Left Section - Gradient Background */
.register-left-section {
    background-image: url('/assets/LoginBG-Vertical.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.register-left-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.register-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.register-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.register-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.register-text-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.register-text-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.75rem;
    font-weight: 400;
}

.register-text-large {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Right Section - Form */
.register-right-section {
    background: #ffffff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 2rem);
}

/* Scrollbar styling - visible */
.register-right-section::-webkit-scrollbar {
    width: 8px;
}

.register-right-section::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.register-right-section::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.register-right-section::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Employee Register Page Styles (Separate from Recruiter)
   ========================================================================== */

.register-employee-page .register-container {
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.register-employee-page .register-card {
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
}

.register-employee-page .register-left-section {
    height: auto !important;
    min-height: auto !important;
    align-self: stretch;
}

.register-employee-page .register-right-section {
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    max-height: none !important;
    height: auto;
}

.register-employee-page .register-form-wrapper {
    height: auto;
    overflow: visible;
}

/* ==========================================================================
   Recruiter Register Page Styles (Separate from Employee)
   ========================================================================== */

/* Prevent body scroll for recruiter page */
body.register-recruiter-page {
    overflow: hidden !important;
}

body.register-recruiter-page .page {
    overflow: hidden;
}

body.register-recruiter-page main {
    overflow: hidden;
}

/* Recruiter container - no scroll */
.register-recruiter-page .register-container {
    overflow: hidden;
    max-height: 100vh;
}

/* Recruiter card - fixed height for scrolling */
.register-recruiter-page .register-card {
    overflow: hidden;
    height: calc(100vh - 3rem);
    max-height: calc(100vh - 3rem);
    min-height: calc(100vh - 3rem);
}

/* Recruiter form specific styles - right section padding */
@media (min-width: 1025px) {
    .register-recruiter-page .register-container {
        padding: 1.5rem 1rem;
        align-items: center;
    }
    
    .register-recruiter-page .register-card {
        height: calc(100vh - 3rem);
        max-height: calc(100vh - 3rem);
        min-height: calc(100vh - 3rem);
    }
    
    .register-recruiter-page .register-right-section {
        height: 100%;
        max-height: 100%;
        padding: 1rem 1.25rem;
        overflow-y: auto !important;
        overflow-x: hidden;
        display: block;
        position: relative;
    }
    
    .register-recruiter-page .register-right-section .register-form-wrapper {
        padding-bottom: 2rem;
        min-height: fit-content;
    }
    
    /* Show scrollbar for recruiter page on desktop */
    .register-recruiter-page .register-right-section::-webkit-scrollbar {
        width: 10px;
        display: block !important;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 5px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.4);
        border-radius: 5px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .register-recruiter-page .register-right-section {
        -ms-overflow-style: scrollbar !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.1) !important;
    }
}

.register-form-wrapper {
    max-width: 100%;
    width: 100%;
}

/* Recruiter Register - Form Wrapper - Compact */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form-wrapper {
        display: block;
        width: 100%;
        overflow: visible;
        min-height: auto;
    }
    
    .register-recruiter-page .register-footer {
        margin-top: 1.25rem;
        padding-bottom: 0.5rem;
    }
}

.register-signup-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-900);
    margin: 0 0 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-left-section .register-signup-label {
    color: #ffffff;
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: left;
}

.register-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-900);
    margin: 1.5rem 0 0.4rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.register-subtitle {
    font-size: 1rem;
    color: var(--text-500);
    margin: 0 0 1.25rem;
    line-height: 1.4;
    text-align: center;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.register-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.register-form .form-group:last-of-type {
    margin-bottom: 1.5rem;
}

/* Recruiter Register - Form Sizes - Balanced size for readability */
@media (min-width: 1025px) {
    .register-recruiter-page .register-title {
        font-size: 1.75rem;
        margin: 0.625rem 0 0.25rem;
        line-height: 1.3;
    }
    
    .register-recruiter-page .register-subtitle {
        font-size: 0.8125rem;
        margin: 0 0 0.625rem;
        line-height: 1.4;
    }
    
    .register-recruiter-page .register-form {
        gap: 0.5rem;
    }
    
    .register-recruiter-page .register-form .form-group {
        margin-bottom: 0.5rem;
        gap: 0.3rem;
    }
    
    .register-recruiter-page .register-form .form-group:last-of-type {
        margin-bottom: 0.625rem;
    }
}

.register-form .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-700);
}

.register-form .form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-base);
    border: 1.5px solid var(--border-200);
    background: #ffffff;
    color: var(--text-900);
    font-size: 0.875rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Recruiter Register - Input Sizes - Balanced for readability */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form .form-input {
        padding: 0.55rem 0.875rem;
        font-size: 0.875rem;
        line-height: 1.4;
    }
}

.register-form .form-input::placeholder {
    color: var(--text-500);
}

.register-form .form-input:focus {
    outline: none;
    border-color: var(--brand-400);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(128, 10, 10, 0.1);
}

.register-form .form-input.is-invalid {
    border-color: #ef4444;
    background: #fff5f5;
}

.register-separator {
    text-align: center;
    margin: 1.5rem 0;
}

/* Recruiter Register - Separator - Balanced size */
@media (min-width: 1025px) {
    .register-recruiter-page .register-separator {
        margin: 0.625rem 0;
    }
    
    .register-recruiter-page .register-separator span {
        font-size: 0.75rem;
    }
}

.register-separator span {
    font-size: 0.85rem;
    color: var(--text-500);
}

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

.form-input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-500);
    font-size: 0.9rem;
    z-index: 1;
    pointer-events: none;
}

.register-form .form-input-wrapper .form-input {
    padding-left: 2.75rem;
    padding-right: 1rem;
}

.register-form .form-input-wrapper:has(.password-toggle) .form-input {
    padding-right: 3rem;
}

/* Select dropdown styling to match input text */
.register-form .form-input-wrapper select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23909090' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.75rem;
    cursor: pointer;
}

.register-form .form-input-wrapper:has(select.form-input) .form-input-icon {
    z-index: 2;
}

/* Recruiter Register - Select dropdown styling */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form .form-input-wrapper select.form-input {
        padding-right: 2.5rem;
        background-position: right 0.875rem center;
    }
}

/* Job Title Other field - smooth transition */
.job-title-other-group {
    transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
    overflow: visible;
}

.job-title-other-group[style*="display: none"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    opacity: 0 !important;
    max-height: 0 !important;
}

/* Ensure consistent spacing when field appears */
.register-form .form-group.job-title-other-group {
    margin-top: 0;
    margin-bottom: 1rem;
    opacity: 1;
    max-height: none;
}

/* Force visibility when displayed */
.register-form .form-group.job-title-other-group[style*="display: block"],
.register-form .form-group.job-title-other-group:not([style*="display: none"]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Recruiter Register - Job Title Other spacing */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form .form-group.job-title-other-group {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .register-form .form-group.job-title-other-group {
        margin-top: 0;
        margin-bottom: 0.875rem;
    }
}

@media (max-width: 480px) {
    .register-form .form-group.job-title-other-group {
        margin-top: 0;
        margin-bottom: 0.875rem;
    }
}

/* Industry Other field - smooth transition */
.industry-other-group {
    transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
    overflow: visible;
}

.industry-other-group[style*="display: none"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    opacity: 0 !important;
    max-height: 0 !important;
}

/* Ensure consistent spacing when field appears */
.register-form .form-group.industry-other-group {
    margin-top: 0;
    margin-bottom: 1rem;
    opacity: 1;
    max-height: none;
}

/* Force visibility when displayed */
.register-form .form-group.industry-other-group[style*="display: block"],
.register-form .form-group.industry-other-group:not([style*="display: none"]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Recruiter Register - Industry Other spacing */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form .form-group.industry-other-group {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .register-form .form-group.industry-other-group {
        margin-top: 0;
        margin-bottom: 0.875rem;
    }
}

@media (max-width: 480px) {
    .register-form .form-group.industry-other-group {
        margin-top: 0;
        margin-bottom: 0.875rem;
    }
}

/* Recruiter Register - Input Icons and Padding - Balanced size */
@media (min-width: 1025px) {
    .register-recruiter-page .form-input-icon {
        left: 0.875rem;
        font-size: 0.875rem;
    }
    
    .register-recruiter-page .register-form .form-input-wrapper .form-input {
        padding-left: 2.5rem;
        padding-right: 0.875rem;
    }
    
    .register-recruiter-page .register-form .form-input-wrapper:has(.password-toggle) .form-input {
        padding-right: 2.75rem;
    }
    
    /* Password toggle button - Balanced size */
    .register-recruiter-page .register-form .password-toggle {
        right: 0.875rem;
        padding: 0.5rem;
    }
    
    .register-recruiter-page .register-form .password-toggle i {
        font-size: 0.875rem;
    }
}

.register-form .form-error {
    font-size: 0.85rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

/* Recruiter Register - Form Error - Balanced size */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form .form-error {
        font-size: 0.75rem;
        margin-top: 0.2rem;
        line-height: 1.3;
    }
}

.register-form .password-input-wrapper {
    position: relative;
}

.register-form .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-500);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 200ms ease;
    z-index: 2;
}

.register-form .form-input-wrapper .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-500);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 200ms ease;
    z-index: 2;
}

.register-form .password-toggle:hover {
    color: var(--text-700);
}

.register-submit-btn {
    width: 100%;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--brand-500);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(128, 10, 10, 0.3);
    margin-top: 0.2rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.register-submit-btn:hover {
    background: var(--brand-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 10, 10, 0.4);
}

.register-submit-btn:active {
    transform: translateY(0);
}

.register-form .social-login {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-200);
}

.register-form .social-login-top {
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}

/* Recruiter Register - Social Login - Balanced size */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form .social-login-top {
        margin-top: 0.625rem;
        margin-bottom: 0.625rem;
    }
}

.register-form .social-login-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.register-form .social-login-title span {
    font-size: 0.9rem;
    color: var(--text-500);
    position: relative;
}

.register-form .social-login-title span::before,
.register-form .social-login-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--border-200);
}

.register-form .social-login-title span::before {
    right: calc(100% + 1rem);
}

.register-form .social-login-title span::after {
    left: calc(100% + 1rem);
}

.register-form .social-login-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Recruiter form specific styles - social buttons - Balanced size */
@media (min-width: 1025px) {
    .register-recruiter-page .register-form .social-login-buttons {
        gap: 0.75rem;
    }
    
    .register-recruiter-page .register-form .social-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .register-recruiter-page .register-form .social-btn--google svg {
        width: 20px;
        height: 20px;
    }
}

.register-form .social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid var(--border-200);
    background: #ffffff;
    color: var(--text-700);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.register-form .social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-400);
}

.register-form .social-btn--behance {
    color: var(--text-700);
}

/* Google icon - menggunakan SVG colorful */
.register-form .social-btn--google {
    color: transparent;
}

.register-form .social-btn--google svg {
    width: 20px;
    height: 20px;
}

.register-form .social-btn--facebook {
    color: #1877F2;
}

.register-form .social-btn--linkedin {
    color: #0077B5;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .register-card {
        grid-template-columns: 1fr;
        max-height: none;
    }
    
    .register-role-page .register-left-section {
        min-height: 250px;
    }

    .register-left-section {
        min-height: 300px;
        order: 2;
    }

    .register-right-section {
        order: 1;
    }
    
    /* Employee Register - Responsive Styles */
    .register-employee-page .register-right-section {
        overflow: visible !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
        max-height: none !important;
    }
    
    .register-employee-page .register-card {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .register-employee-page .register-left-section {
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Recruiter Register - Responsive Styles */
    .register-recruiter-page .register-container {
        overflow: hidden;
        max-height: 100vh;
        padding: 1.5rem 1rem;
        align-items: center;
    }
    
    .register-recruiter-page .register-card {
        height: calc(100vh - 3rem);
        max-height: calc(100vh - 3rem);
        min-height: calc(100vh - 3rem);
        overflow: hidden;
    }
    
    .register-recruiter-page .register-right-section {
        height: 100%;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 1.5rem;
    }
    
    /* Show scrollbar for recruiter page on tablet */
    .register-recruiter-page .register-right-section::-webkit-scrollbar {
        width: 8px;
        display: block;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .register-recruiter-page .register-right-section {
        -ms-overflow-style: scrollbar;
        scrollbar-width: thin;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
    }

    .login-form-card {
        padding: 2rem;
    }

    .login-title {
        font-size: 2rem;
    }

    .register-container {
        padding: 1rem 0.5rem;
        align-items: center;
    }
    
    /* Recruiter container - prevent scroll on mobile */
    .register-recruiter-page .register-container {
        overflow: hidden;
        max-height: 100vh;
        padding: 1rem 0.5rem;
        align-items: center;
    }

    .register-card {
        border-radius: var(--radius-base);
        max-height: calc(100vh - 2rem);
    }
    
    /* Recruiter card - fixed height for scrolling on mobile */
    .register-recruiter-page .register-card {
        height: calc(100vh - 2rem);
        max-height: calc(100vh - 2rem);
        min-height: calc(100vh - 2rem);
        overflow: hidden;
    }

    .register-left-section {
        padding: 1.25rem;
        min-height: 250px;
    }

    .register-right-section {
        padding: 1.25rem;
    }
    
    /* Employee Register - Responsive Styles */
    .register-employee-page .register-right-section {
        overflow: visible !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
        max-height: none !important;
    }
    
    .register-employee-page .register-card {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .register-employee-page .register-left-section {
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Recruiter Register - Responsive Styles */
    .register-recruiter-page .register-right-section {
        height: 100%;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 1.5rem;
    }
    
    /* Show scrollbar for recruiter page on mobile */
    .register-recruiter-page .register-right-section::-webkit-scrollbar {
        width: 8px;
        display: block;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .register-recruiter-page .register-right-section {
        -ms-overflow-style: scrollbar;
        scrollbar-width: thin;
    }

    .register-title {
        font-size: 2rem;
    }

    .register-subtitle {
        font-size: 0.9rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .login-form-card {
        padding: 1.5rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .register-left-section {
        padding: 1rem;
        min-height: 200px;
    }

    .register-right-section {
        padding: 1rem;
    }
    
    /* Recruiter container - prevent scroll on small mobile */
    .register-recruiter-page .register-container {
        overflow: hidden;
        max-height: 100vh;
        padding: 1rem 0.5rem;
        align-items: center;
    }
    
    /* Recruiter card - fixed height for scrolling on small mobile */
    .register-recruiter-page .register-card {
        height: calc(100vh - 2rem);
        max-height: calc(100vh - 2rem);
        min-height: calc(100vh - 2rem);
        overflow: hidden;
    }
    
    /* Employee Register - Responsive Styles */
    .register-employee-page .register-right-section {
        overflow: visible !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
        max-height: none !important;
    }
    
    .register-employee-page .register-card {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .register-employee-page .register-left-section {
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Recruiter Register - Responsive Styles */
    .register-recruiter-page .register-right-section {
        height: 100%;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 1.5rem;
    }
    
    /* Show scrollbar for recruiter page on small mobile */
    .register-recruiter-page .register-right-section::-webkit-scrollbar {
        width: 8px;
        display: block;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }
    
    .register-recruiter-page .register-right-section::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .register-recruiter-page .register-right-section {
        -ms-overflow-style: scrollbar;
        scrollbar-width: thin;
    }

    .register-title {
        font-size: 1.75rem;
    }

    .register-text-large {
        font-size: 1.1rem;
    }

    .register-form .form-group {
        margin-bottom: 0.875rem;
    }

    .register-form .form-group:last-of-type {
        margin-bottom: 1.25rem;
    }

    .social-login-buttons,
    .register-form .social-login-buttons {
        gap: 0.75rem;
    }

    .social-btn,
    .register-form .social-btn {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    /* Fix input font-size untuk mencegah auto-zoom di mobile */
    .form-input,
    .register-form .form-input {
        font-size: 16px !important;
    }
}

/* Fix untuk semua ukuran mobile - mencegah zoom dan unwanted scrolling */
@media (max-width: 768px) {
    /* Pastikan semua input minimal 16px untuk mencegah auto-zoom iOS */
    .form-input,
    .register-form .form-input,
    input[type="email"],
    input[type="text"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    /* Prevent unwanted touch scrolling/dragging */
    body {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent content from being dragged around */
    input,
    textarea,
    select {
        touch-action: manipulation;
    }
}

/* ==========================================================================
   Register Role Selection Page
   ========================================================================== */

/* Compact card for register-role page */
.register-role-page .register-card {
    min-height: auto;
    height: auto;
    max-height: none;
    align-items: stretch;
    margin: 0;
}

.register-role-page .register-container {
    align-items: center;
    padding: 2rem 1rem;
}

.register-role-page .register-left-section {
    min-height: auto;
}

.register-role-page .register-right-section {
    max-height: none;
    padding: 2rem 1.5rem;
    justify-content: center;
}

.register-role-page .register-title {
    font-size: 1.75rem;
    margin: 0 0 0.4rem;
}

.register-role-page .register-subtitle {
    font-size: 0.875rem;
    margin: 0 0 1.25rem;
}

.register-role-page .role-selection-cards {
    margin-bottom: 1.25rem;
}

.register-role-page .register-footer {
    margin-top: 0.75rem;
}

.role-selection-cards {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.role-card-option {
    box-sizing: border-box;
    width: 100%;
    min-height: 65px;
    background: #FFFFFF;
    border: 2px solid #909090;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.role-card-option:hover {
    border-color: #800A0A;
    box-shadow: 0 4px 10px rgba(128, 10, 10, 0.12);
    transform: translateY(-1px);
}

.role-card-option.active {
    border-color: #800A0A;
    background: rgba(128, 10, 10, 0.02);
    box-shadow: 0 4px 12px rgba(128, 10, 10, 0.15);
}

.role-card-option__label {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: #909090;
    flex: 1;
    transition: color 0.3s ease;
}

.role-card-option.active .role-card-option__label {
    color: #800A0A;
}

.role-card-option__radio {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    margin-left: 0.75rem;
}

.radio-outer {
    width: 36px;
    height: 36px;
    border: 2px solid #909090;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.role-card-option.active .radio-outer {
    border-color: #800A0A;
}

.radio-inner {
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.role-card-option.active .radio-inner {
    background: #800A0A;
}

.register-submit-btn {
    width: 100%;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--brand-500);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(128, 10, 10, 0.3);
    margin-top: 0.2rem;
}

/* Recruiter Register - Submit Button - Balanced size */
@media (min-width: 1025px) {
    .register-recruiter-page .register-submit-btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.8125rem;
        margin-top: 0.5rem;
    }
}

.register-submit-btn:hover:not(:disabled) {
    background: var(--brand-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 10, 10, 0.4);
}

.register-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #9ca3af;
    box-shadow: none;
    transform: none;
}

@media (max-width: 768px) {
    .register-role-page .register-container {
        padding: 1rem 0.5rem;
    }
    
    .register-role-page .register-right-section {
        padding: 1.5rem 1.25rem;
    }
    
    .register-role-page .register-title {
        font-size: 1.5rem;
        margin: 0 0 0.35rem;
    }
    
    .register-role-page .register-subtitle {
        font-size: 0.8125rem;
        margin: 0 0 1rem;
    }
    
    .role-card-option {
        min-height: 60px;
        padding: 0.875rem 1rem;
    }
    
    .role-card-option__label {
        font-size: 0.9375rem;
    }
    
    .role-card-option__radio {
        width: 32px;
        height: 32px;
        margin-left: 0.5rem;
    }
    
    .radio-outer {
        width: 32px;
        height: 32px;
    }
    
    .radio-inner {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .register-role-page .register-container {
        padding: 0.75rem 0.5rem;
    }
    
    .register-role-page .register-right-section {
        padding: 1.25rem 1rem;
    }
    
    .register-role-page .register-title {
        font-size: 1.375rem;
        margin: 0 0 0.3rem;
    }
    
    .register-role-page .register-subtitle {
        font-size: 0.75rem;
        margin: 0 0 0.875rem;
    }
    
    .register-role-page .role-selection-cards {
        margin-bottom: 1rem;
    }
    
    .role-card-option {
        min-height: 55px;
        padding: 0.75rem 0.875rem;
    }
    
    .role-card-option__label {
        font-size: 0.875rem;
    }
    
    .role-card-option__radio {
        width: 28px;
        height: 28px;
        margin-left: 0.5rem;
    }
    
    .radio-outer {
        width: 28px;
        height: 28px;
    }
    
    .radio-inner {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Toast Notification Positioning for Auth Pages
   ========================================================================== */

/* Override toast positioning for auth pages (no header) */
body.login-page .toast-stack,
body.register-page .toast-stack,
body.forgot-password-page .toast-stack,
body.reset-password-page .toast-stack,
body.verify-email-page .toast-stack {
    top: 1rem !important;
    z-index: 1000 !important;
}

@media (max-width: 768px) {
    body.login-page .toast-stack,
    body.register-page .toast-stack,
    body.forgot-password-page .toast-stack,
    body.reset-password-page .toast-stack,
    body.verify-email-page .toast-stack {
        top: 0.75rem !important;
    }
}

@media (max-width: 640px) {
    body.login-page .toast-stack,
    body.register-page .toast-stack,
    body.forgot-password-page .toast-stack,
    body.reset-password-page .toast-stack,
    body.verify-email-page .toast-stack {
        top: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    body.login-page .toast-stack,
    body.register-page .toast-stack,
    body.forgot-password-page .toast-stack,
    body.reset-password-page .toast-stack,
    body.verify-email-page .toast-stack {
        top: 0.5rem !important;
    }
}
