:root {
    --bs-body-color: #4A4949;
    --bs-link-color: #4A4949;
    --bs-link-hover-color: #4A4949;
    --bs-body-font-size: .75rem;
    --bs-primary-rgb: 231, 116, 8;
    --color-blue-5: #F2F3FE;
    --color-blue-50: #3F7DEE;
    --color-red-50: #D5575F;
    --color-red-60: #C73346;
    --color-yellow-5: #FFF1DB;
    --color-green-40: #40AB90;
    --color-yellow-500: #E77408;
    --color-neutral-5: #F4F4F4;
    --color-orange-40: #E07E35;
    --color-yellow-800: #E8C4681A;
    --color-yellow-600: #A16207;
    --color-yellow-400: #E8C46880;
    --bs-gutter-x: .75rem;
}
/* Job Application Mobile Styles */

/* Force mobile view on all devices */
body {
    max-width: 430px;
    margin: 0 auto;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overscroll-behavior-y: none; /* Prevent vertical overscroll bounce */
    position: relative;
}

.mobile-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    border: 1px solid #E5E5E5;
}

.row {
    --bs-gutter-x: .75rem;
}

.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    font-weight: bold !important;
}

/* Fixed Mobile Header - Instagram-style */
.mobile-header-fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    z-index: 1000;
    background-color: #ffffff;
}

/* Override padding for elements that should not have top padding */
.mobile-container > .mobile-header-fixed {
    padding-top: 0;
}

.applicant-mobile-header-brand {
    min-width: 0;
}

.applicant-mobile-header-logo,
.applicant-mobile-header-badge {
    height: 32px;
    width: auto;
    flex-shrink: 0;
}

/* Reusable secondary action button */
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    color: #18181B;
    background: #F4F4F5;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

.button-secondary i {
    width: 16px;
    color: #09090B;
    font-size: 16px;
    line-height: 1;
    flex: 0 0 auto;
}

.button-secondary.is-disabled {
    color: #71717A;
    cursor: default;
}

.button-secondary.is-disabled i {
    color: #71717A;
}

.search-input {
    font-size: .875rem;
    padding: 1rem .5rem 1rem 2.5rem; /* Adjusted for icon */
    border-radius: .5rem;
    border: 1px solid #ced4da; /* Bootstrap's default border color */
    width: 100%;
}

.search-input::placeholder {
    color: #A1A1AA;
}

.search-icon {
    /* Bootstrap: position-absolute, start-0, top-50, translate-middle-y, ms-3 */
    color: #71717A;
}

/* Filter Button - Bootstrap utilities handle all properties */
.filter-btn {
    /* Bootstrap: btn, btn-light-gray, w-100, d-flex, align-items-center, justify-content-center, position-relative */
    /* All styling moved to Bootstrap utilities in HTML */
}

/* Filter Icon - Bootstrap utilities handle margin */
.filter-icon {
    /* Bootstrap: me-2 (margin-end 8px) */
    /* All styling moved to Bootstrap utilities in HTML */
}

/* Filter Badge - Bootstrap utilities handle all properties */
.filter-badge {
    /* Bootstrap: position-absolute, top-0, start-100, translate-middle, badge, rounded-circle, bg-orange-primary */
    width: 20px;
    height: 20px;
    font-size: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Job Cards */
.job-cards-container {
    padding: 0 16px 16px 16px;
}

.job-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e4e4e7;
    overflow: hidden;
}

/* Job card link wrapper */
.job-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

/* Hover effect for clickable cards */
.job-card-link:hover .job-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.job-card-link:active .job-card {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.job-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 4px;
}

.job-title-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.job-company {
    font-size: 14px;
    color: #262626;
    margin-bottom: 2px;
}

.job-location {
    font-size: 12px;
    color: #71717A;
    margin-bottom: 4px;
}
.job-salary {
    font-size: 12px;
    font-weight: 400;
    color: #09090B;
}

/* Easy Apply post-submit design */
.easy-apply-card {
    background: #ffffff;
    padding: 16px;
    border-top: 8px solid #f4f4f5;
}

.easy-apply-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.easy-apply-card-icon {
    color: #18181b;
    font-size: 24px;
}

.easy-apply-card-title {
    margin: 0;
    color: #09090b;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.easy-apply-card-subtitle {
    margin: 0;
    color: #71717a;
    font-size: 12px;
    line-height: 16px;
}

.easy-apply-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.easy-apply-job-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.easy-apply-job-card {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    padding: 16px 16px 12px;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(16, 24, 40, 0.1);
}

.easy-apply-job-row.is-selected .easy-apply-job-card {
    border-color: #ffbb4b;
}

.easy-apply-job-title {
    color: #09090b;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.easy-apply-job-company,
.easy-apply-job-salary {
    color: #09090b;
    font-size: 12px;
    line-height: 16px;
    padding-top: 4px;
}

.easy-apply-job-company { font-weight: 500; }

.easy-apply-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.easy-apply-checkbox-visual {
    display: flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    border: 1.2px solid #a1a1aa;
    border-radius: 4px;
    color: #09090b;
    font-size: 16px;
}

.easy-apply-checkbox:checked + .easy-apply-checkbox-visual {
    border-color: #feb022;
    background: #feb022;
}

.easy-apply-checkbox:not(:checked) + .easy-apply-checkbox-visual .bi {
    display: none;
}

.easy-apply-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 1000;
    display: flex;
    width: 100%;
    max-width: 480px;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    transform: translateX(-50%);
    background: #ffffff;
    border-top: 1px solid #e3e3e3;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
}

.easy-apply-primary,
.easy-apply-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

.easy-apply-primary { background: #feb022; color: #09090b; }
.easy-apply-primary:disabled {
    background: rgba(24, 24, 27, 0.5);
    color: #fafafa;
    cursor: not-allowed;
}
.easy-apply-secondary { background: #f4f4f5; color: #18181b; }

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
    align-items: center;
    justify-content: space-between;
}

.job-priority-badge {
    background: linear-gradient(
        90deg,
        #9b59b6,
        #c0392b
    );
    color: white;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 12px;
    flex-shrink: 0;
}

.job-footer {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 4px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
}

.footer-left {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.footer-tag {
    background: #2747541A;
    color: #09090B;
    padding: 4px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #262626;
}

.meta-item i {
    margin-right: 8px;
    font-size: 14px;
}

.job-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.status-new {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-posted {
    background-color: #DCFCE7;
    color: #166534;
}

.time-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    color: #71717A;
    flex-shrink: 0;
}

.time-badge i {
    margin-right: 4px;
}

/* Load More Button */
.load-more-btn {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
}

/* ============================================
   BOOTSTRAP MODAL OVERRIDE - FULLSCREEN MODAL
   ============================================ */

/* Bootstrap Modal Backdrop - Smooth Fade */
.modal-backdrop {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.show {
    opacity: 0.5;
}

/* Fullscreen Modal Dialog */
.modal-fullscreen .modal-dialog {
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Fullscreen Modal Content */
.modal-fullscreen .modal-content {
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

/* Filter Content Styling */
.filter-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    border: none;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Modal Body - Scrollable Area */
.filter-content .modal-body {
    padding: 0 24px 24px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding-bottom: 160px; /* Space for fixed bottom buttons */
}

/* Filter Header - Bootstrap utilities handle: display, justify, align, padding, margin */
.filter-header {
    flex-shrink: 0; /* Prevent header shrinking - unique property */
}

/* Filter Title - Bootstrap utilities handle: font-size, font-weight, color, margin */
.filter-title {
    /* All styling moved to Bootstrap utilities in HTML */
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #71717A;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #262626;
}

/* Filter Group - Bootstrap utilities handle: margin-bottom */
.filter-group {
    /* All styling moved to Bootstrap utilities in HTML */
}

/* Filter Label - Bootstrap utilities handle: all properties */
.filter-label {
    color: #09090B;
    font-size: 14px;
    /* All styling moved to Bootstrap utilities in HTML */
}

/* Filter Select - Bootstrap utilities handle: width, basic styling */
.filter-select {
    /* Keep only custom unique properties */
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    background-color: #ffffff;
    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='%2371717A' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

/* Filter Input - Bootstrap utilities handle: width */
.filter-input {
    /* Keep only custom unique properties */
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    background-color: #ffffff;
}

.filter-input:focus {
    outline: none;
    border-color: #E77408;
}

.filter-input::placeholder {
    color: #A1A1AA;
}

/* Fixed Bottom Footer - Absolute positioning relative to modal content */
.modal-footer-fixed {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.filter-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.filter-switch input {
    display: none;
}

.filter-slider {
    position: absolute;
    inset: 0;
    background: #d9d9de;
    border-radius: 999px;
    cursor: pointer;
    transition: .25s;
}

.filter-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    transition: .25s;
}

.filter-switch input:checked + .filter-slider {
    background: #f9b233;
}

.filter-switch input:checked + .filter-slider::before {
    transform: translateX(20px);
}

/* Filter Actions - Bootstrap utilities handle all properties */
.filter-actions {
    /* Bootstrap utilities: d-flex, flex-column, gap-3 */
    /* All styling moved to Bootstrap utilities in HTML */
}

/* Button Apply - Bootstrap button component with custom variant */
.btn-apply {
    /* Bootstrap: btn, btn-orange-primary, w-100, btn-mobile */
    /* All styling including hover handled by .btn-orange-primary variant */
}

/* Button Reset - Bootstrap button component with custom variant */
.btn-reset {
    /* Bootstrap: btn, btn-light-gray, w-100, btn-mobile */
    /* All styling including hover handled by .btn-light-gray variant */
}

/* Disabled state for selects */
.filter-select:disabled {
    background-color: #F4F4F5;
    color: #A1A1AA;
    cursor: not-allowed;
}

/* ============================================
   CUSTOM CHOICES.JS STYLING - FILTER MODAL
   ============================================ */

/* Override Choices.js container untuk match dengan .filter-select */
.filter-group {
    position: relative;
    z-index: 1;
}

.filter-group .choices {
    width: 100%;
    margin-bottom: 0;
    position: relative;
}

/* Ensure Choices dropdown is above modal */
.filter-group .choices.is-open {
    z-index: 10000;
    position: relative;
}

/* Remove default padding from single list */
.filter-group .choices__list--single {
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.filter-group .choices__list--single .choices__item {
    font-size: 13px;
    padding: 13px 0;
    margin: 0;
    line-height: 20px;
    display: flex;
    align-items: center;
}

.filter-group .choices__inner {
    width: 100%;
    padding: 0 40px 0 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    background-color: #ffffff;
    min-height: 46px;
    display: flex;
    align-items: center;
    transition: border-color 0.2s;
}

/* Override global Choices.js padding-bottom with higher specificity */
.filter-group .choices[data-type*="select-one"] .choices__inner {
    padding: 0 40px 0 16px !important;
}

/* ============================================
   MULTIPLE SELECT STYLING
   ============================================ */

/* Multiple select container */
.filter-group .choices[data-type*="select-multiple"] .choices__inner {
    padding: 8px 16px;
    min-height: 46px;
    flex-wrap: wrap;
    gap: 6px;
}

/* Multiple select list container */
.filter-group .choices__list--multiple {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* Selected items (tags/chips) */
.filter-group .choices__list--multiple .choices__item {
    display: inline-flex;
    align-items: center;
    background-color: #FFF7ED;
    border: 1px solid #E77408;
    border-radius: 6px;
    padding: 4px 8px;
    margin: 0;
    font-size: 13px;
    color: #E77408;
    line-height: 1.4;
    font-weight: 500;
}

/* Remove button (X) in tags */
.filter-group .choices__list--multiple .choices__button {
    border: none;
    background-color: #E77408;
    padding: 0 0 0 6px;
    cursor: pointer;
    font-size: 0; /* Hide default text content */
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    position: relative;
    border-radius: 50%;
    margin: 0 0 0 6px;
}

.filter-group .choices__list--multiple .choices__button:hover {
    opacity: 1;
    color: #D16807;
}

/* Better X icon */
.filter-group .choices__list--multiple .choices__button::before {
    content: '×';
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    display: block;
    color: inherit;
}

/* Hide default button text */
.filter-group .choices__list--multiple .choices__button .visually-hidden {
    display: none !important;
}

/* Remove any additional text nodes */
.filter-group .choices__list--multiple .choices__button::after {
    content: none;
}

/* Input field for typing in multiple select */
.filter-group .choices[data-type*="select-multiple"] .choices__input {
    background-color: transparent;
    padding: 4px 0;
    margin: 0;
    font-size: 14px;
    min-width: 100px;
    flex: 1;
    border: none;
}

.filter-group .choices[data-type*="select-multiple"] .choices__input:focus {
    outline: none;
}

/* Placeholder for multiple select */
.filter-group .choices[data-type*="select-multiple"] .choices__placeholder {
    padding: 9px 0;
}

/* Disabled state */
.filter-group .choices.is-disabled[data-type*="select-multiple"] .choices__list--multiple .choices__item {
    background-color: #F4F4F5;
    border-color: #D1D5DB;
    color: #71717A;
    opacity: 0.6;
}

.filter-group .choices.is-disabled .choices__list--multiple .choices__button {
    color: #71717A;
    cursor: not-allowed;
    opacity: 0.5;
}

.filter-group .choices.is-disabled .choices__list--multiple .choices__button:hover {
    opacity: 0.5;
}

/* Custom dropdown arrow - CSS triangle */
.filter-group .choices[data-type*="select-one"]::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #71717A;
    pointer-events: none;
    border-radius: 0;
    margin: 0;
    transition: transform 0.2s;
}

/* Rotate arrow when open */
.filter-group .choices.is-open[data-type*="select-one"]::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Focus state untuk match design */
.filter-group .choices.is-focused .choices__inner,
.filter-group .choices.is-open .choices__inner {
    border-color: #E77408;
    box-shadow: none;
}

/* Hover state untuk inner container */
.filter-group .choices__inner:hover {
    border-color: #D1D5DB;
}

/* Selected item text */
.filter-group .choices__item--selectable {
    font-size: 14px;
    color: #262626;
    padding: 0;
}

/* Placeholder styling */
.filter-group .choices__placeholder {
    color: #A1A1AA;
    opacity: 1;
    padding: 13px 0;
    line-height: 20px;
}

/* Dropdown list container - FIX: High z-index to prevent modal clipping */
.filter-group .choices__list--dropdown {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 99999 !important;
    background-color: #ffffff;
    position: absolute !important;
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
}

/* Dropdown items */
.filter-group .choices__list--dropdown .choices__item {
    padding: 10px 16px;
    font-size: 14px;
    color: #262626;
    transition: all 0.15s ease;
    min-height: auto;
}

/* Highlighted item (keyboard navigation & hover) */
.filter-group .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #FFF7ED;
    color: #E77408;
}

/* Selected item in dropdown */
.filter-group .choices__list--dropdown .choices__item--selected {
    background-color: #F9FAFB;
    color: #71717A;
}

/* Disabled state */
.filter-group .choices.is-disabled .choices__inner {
    background-color: #F4F4F5;
    color: #A1A1AA;
    cursor: not-allowed;
    border-color: #E5E5E5;
}

.filter-group .choices.is-disabled::after {
    border-top-color: #A1A1AA;
}

/* Z-index stacking fix: Earlier filter groups have higher z-index when dropdown is open */
/* This prevents dropdowns from being covered by elements below them */
.filter-group {
    position: relative;
    z-index: 1;
}

/* When dropdown is open, increase z-index based on position */
/* Earlier elements (like Perusahaan at top) get higher z-index */
.filter-group:nth-child(1) .choices.is-open {
    z-index: 10004 !important;
}

.filter-group:nth-child(2) .choices.is-open {
    z-index: 10003 !important;
}

.filter-group:nth-child(3) .choices.is-open {
    z-index: 10002 !important;
}

.filter-group:nth-child(4) .choices.is-open {
    z-index: 10001 !important;
}

.filter-group:nth-child(5) .choices.is-open {
    z-index: 10000 !important;
}

/* Ensure parent filter-group also gets z-index when dropdown is open */
.filter-group:has(.choices.is-open) {
    z-index: auto;
}

/* Loading state */
.filter-group .choices.is-loading .choices__inner::after {
    border-color: #E77408 #E77408 transparent transparent;
}

/* Search input inside dropdown (for searchable selects) */
.filter-group .choices__input {
    font-size: 14px;
    padding: 8px 12px;
    background-color: #F9FAFB;
    margin-bottom: 8px;
}

.filter-group .choices__input:focus {
    outline: none;
}

/* No results message */
.filter-group .choices__item--choice.has-no-results {
    color: #71717A;
    font-size: 14px;
    padding: 10px 16px;
}

.is-flipped .choices__list--dropdown, .is-flipped .choices__list[aria-expanded] {
    border-radius: 6px 6px 0 0;
}

.is-flipped.is-open .choices__inner {
    border-radius: 0 0 6px 6px;
}

/* ============================================
   JOB DETAIL PAGE STYLES
   ============================================ */

/* Job Detail Header */
.job-detail-header {
    background-color: #ffffff;
    padding: 20px 16px;
    position: relative;
}

.job-header-content {
    padding-right: 0;
}

.job-detail-title {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
    line-height: 1.3;
}

.job-detail-company {
    font-size: 12px;
    font-weight: 400;
    color: #09090B;
    margin-bottom: 4px;
}

.job-detail-location {
    font-size: 14px;
    color: #09090B;
    font-weight: 500;
    margin-bottom: 4px;
}

.job-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.job-detail-meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #262626;
}

.job-detail-meta-item i {
    margin-right: 8px;
    font-size: 16px;
    color: #71717A;
}

.job-detail-time {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #A1A1AA;
}

.job-detail-time i {
    margin-right: 4px;
}

/* Job Content Sections */
.job-content-section {
    background-color: #ffffff;
    padding: 20px 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 12px;
}

.description-list {
    font-size: 14px;
}

.description-list ul, .description-list ol {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
    margin: 0 0 12px 0;
}

.description-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 4px;
    color: #3F3F46;
    line-height: 1.5;
}

.description-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3F3F46;
    font-weight: bold;
    font-size: 16px;
}

/* Requirements Section */
.requirements-section {
    margin-bottom: 16px;
    font-size: 14px;
}

.requirement-label {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.requirement-list ol, .requirement-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 12px 0;
}

.requirement-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    color: #262626;
    line-height: 1.5;
    font-size: 14px;
}

.requirement-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3F3F46;
    font-weight: bold;
    font-size: 16px;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
    font-size: 14px;
    color: #262626;
}

.benefit-item i {
    margin-right: 12px;
    font-size: 18px;
    color: #10B981;
}

.benefit-item.bi-check-circle {
    color: #10B981;
}

/* Company Info Card */
.company-info-card {
    display: flex;
    align-items: center;
    padding: 16px 0px 16px 0px;
    gap: 12px;
}

.company-logo {
    height: 32px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.company-info-text {
    flex: 1;
}

.company-info-name {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 2px;
}

.company-info-legal {
    font-size: 12px;
    color: #71717A;
}

/* Job Recommendations */
.recommendations-section {
    background-color: #ffffff;
    padding: 20px 0;
    margin-top: 8px;
}

.recommendations-header {
    padding: 0 16px;
    margin-bottom: 16px;
}

.recommendations-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 0px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 0 0 14px;
}

.recommendations-scroll::-webkit-scrollbar {
    display: none;
}

.recommendations-scroll .job-card-link {
    flex: 0 0 300px;
    min-width: 0;
}

.recommendations-scroll .job-card-link:last-child {
    padding-right: 16px;
}

.job-card-mini {
    flex: 0 0 280px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 16px;
    scroll-snap-align: start;
    overflow: hidden;
}

.job-card-mini .job-title {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 4px;
}

.job-card-mini .job-company {
    font-size: 13px;
    color: #262626;
    margin-bottom: 4px;
}

.job-card-mini .job-location {
    font-size: 12px;
    color: #71717A;
    margin-bottom: 12px;
}

.job-card-mini .meta-item {
    font-size: 12px;
}

/* Lowongan Serupa Section */
.similar-section .job-card {
    background: #fff;
    border-radius: 12px;
    transition: box-shadow 0.15s ease;
}

.similar-section .job-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.similar-section-header {
    padding: 0px 16px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Similar Jobs — Vertical View */
.similar-job-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.similar-job-list .job-card-link {
    flex: none;
    width: 100%;
    min-width: 0;
}

.similar-job-list .job-card-link:last-child {
    padding-bottom: 0;
}

.similar-job-list .job-card-link .job-card {
    margin-bottom: 0;
}

/* Job Interstitial — Figma design */
.job-interstitial-card {
    background: #fff;
    margin: 0 0 8px;
}

.job-interstitial-alert-container {
    padding: 16px;
}

.job-interstitial-alert-banner {
    background: #EAB3081F;
    border-radius: 8px;
    padding: 16px;
}

.job-interstitial-alert-text {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #3F3F46;
    line-height: 1.5;
}

.job-interstitial-cards-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 0 16px 16px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.job-interstitial-cards-scroll::-webkit-scrollbar {
    display: none;
}

.job-interstitial-card-row {
    display: flex;
    gap: 8px;
}

.job-interstitial-card-row .job-card-link {
    flex: 0 0 300px;
    flex-shrink: 0;
    min-width: 0;
}

.job-interstitial-cards-scroll .job-card-link:last-child {
    padding-right: 16px;
}

.job-interstitial-dismiss {
    padding: 0 16px 16px 16px;
    text-align: center;
}

.job-interstitial-dismiss-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #3D83D9;
    cursor: pointer;
}

.job-interstitial-dismiss-btn:hover {
    color: #2563EB;
    text-decoration: underline;
}



/* P1 Action Group — bottom CTA for priority jobs */
.p1-action-group {
    border: 1px solid #FFBB4B;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.p1-nudge-banner {
    background: #FFF1DB;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
}

.p1-nudge-icon {
    color: #59462B;
}

.p1-nudge-text {
    color: #59462B;
    font-size: 12px;
    font-weight: 400;
}

.p1-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    background: #FEB022;
    color: #09090B;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    width: 100%;
}

.p1-apply-btn:hover {
    color: #09090B;
    text-decoration: none;
    background: #F5A600;
}

/* Bottom Actions */
.bottom-actions {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    padding: 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Agreement in Bottom Actions */
.bottom-actions .agreement-checkbox {
    margin-bottom: 12px;
}

.btn-apply-job {
    width: 100%;
    padding: 14px 24px;
    background-color: #E77408;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-apply-job:hover {
    background-color: #D16807;
}

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

/* Button Loading States in Bottom Actions */
.btn-apply-job .btn-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-apply-job .btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-apply-job .btn-loading i {
    animation: spin 1s linear infinite;
}

.btn-share-job {
    width: 100%;
    padding: 14px 24px;
    background-color: #ffffff;
    color: #262626;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-share-job:hover {
    background-color: #F9FAFB;
}

/* Content Padding for Fixed Bottom */
.has-bottom-actions {
    padding-bottom: 160px;
}

/* ============================================
   APPLICATION FORM STYLES
   ============================================ */

/* Back Navigation */
.back-navigation {
    background-color: #ffffff;
    padding: 16px;
    border-bottom: 1px solid #E5E5E5;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #262626;
    font-size: 16px;
    font-weight: 600;
}

.back-link:hover {
    color: #E77408;
}

.back-link i {
    font-size: 18px;
}

/* Form Container */
.application-form-container {
    background-color: #ffffff;
    padding: 24px 16px;
}

/* Form Header */
.form-header {
    margin-bottom: 24px;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: #71717A;
    line-height: 1.5;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
}

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

.form-label .required {
    color: #DC2626;
    margin-left: 2px;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

.form-input:disabled {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
}

.form-input:focus {
    outline: none;
    border-color: #E77408;
}

.form-input::placeholder {
    color: #A1A1AA;
}

.form-input.error {
    border-color: #DC2626;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
    display: flex;
    gap: 8px;
}

.phone-code {
    flex: 0 0 60px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 13px;
    color: #262626;
    background-color: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.phone-input {
    flex: 1;
}

/* Helper Text */
.helper-text {
    font-size: 12px;
    color: #71717A;
    margin-top: 6px;
    line-height: 1.4;
}

.error-message {
    display: block;
    font-size: 12px;
    color: #DC2626;
    margin-top: 6px;
}

/* Select/Dropdown */
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    background-color: #ffffff;
    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='%2371717A' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: #E77408;
}

.form-select:disabled {
    background-color: #F4F4F5;
    color: #A1A1AA;
    cursor: not-allowed;
}

.form-select.placeholder {
    color: #A1A1AA;
}

/* File Upload */
.file-upload-container {
    position: relative;
}

.file-input {
    display: none;
}

.btn-upload-file {
    width: 100%;
    padding: 12px 16px;
    border: 1px dashed #E5E5E5;
    border-radius: 8px;
    background-color: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #262626;
    font-weight: 500;
}

.btn-upload-file:hover {
    border-color: #E77408;
    background-color: #FFF7ED;
}

.btn-upload-file i {
    font-size: 16px;
    color: #E77408;
}

.file-info {
    font-size: 12px;
    color: #71717A;
    margin-top: 8px;
    text-align: center;
}

/* File Input - Figma Redesign */
.file-input-wrapper .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-input-trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 10px 12px;
    background: #FFFFFF;
    border: 1px solid #E4E4E7;
    border-radius: 6px;
    box-sizing: border-box;
    cursor: pointer;
}

.file-input-label {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #09090B;
    line-height: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.file-input-placeholder {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #09090B;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-input-caption {
    display: block;
    margin-top: 4px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #71717A;
    line-height: 20px;
}

/* Selected file card — Figma file-selected state */
.file-selected-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 10px 12px;
    background: #2747541A;
    border: 1px solid #E4E4E7;
    border-radius: 6px;
    box-sizing: border-box;
}

.file-selected-card > i {
    font-size: 16px;
    color: #09090B;
    flex-shrink: 0;
}

.file-selected-name {
    min-width: 0;
    flex: 1;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0085C7;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-selected-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    color: #09090B;
    background: transparent;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.file-selected-remove i {
    font-size: 16px;
    line-height: 1;
}

.file-selected-remove:focus-visible {
    outline: 2px solid #0085C7;
    outline-offset: 2px;
}

/* Security Info Card */
.security-info-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0 0 0;
}

.security-info-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(39, 71, 84, 0.1);
}

.security-info-row + .security-info-row {
    border-top: 1px solid rgba(39, 71, 84, 0.3);
}

.security-info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    color: #3F3F46;
    font-size: 14px;
    margin-top: 2px;
}

.security-info-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #3F3F46;
    line-height: 16px;
}

.security-info-text span:first-child {
    font-weight: 500;
}

/* Agreement Checkbox */
.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #E77408;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 13px;
    color: #262626;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.agreement-link {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 500;
}

.agreement-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit-form {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 24px;
}

.btn-submit-form.disabled {
    background-color: #F9FAFB;
    color: #A1A1AA;
    border: 1px solid #E5E5E5;
    cursor: not-allowed;
}

.btn-submit-form.active {
    background-color: #E77408;
    color: #ffffff;
}

.btn-submit-form.active:hover {
    background-color: #D16807;
}

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

.btn-text {
    display: flex;
    align-items: center;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Confirmation Modal */
.confirmation-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.confirmation-modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #ffffff;
    width: 90%;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    text-align: center;
    margin-bottom: 16px;
}

.modal-icon i {
    font-size: 48px;
    color: #22C55E;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 12px;
    text-align: left;
}

.modal-message {
    font-size: 14px;
    color: #71717A;
    line-height: 1.6;
    text-align: left;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.btn-modal-primary {
    width: 100%;
    padding: 14px 24px;
    background-color: #E77408;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-modal-primary:hover {
    background-color: #D16807;
}

.btn-modal-secondary {
    width: 100%;
    padding: 14px 24px;
    background-color: #ffffff;
    color: #262626;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-secondary:hover {
    background-color: #F9FAFB;
}

/* ============================================
   SUCCESS PAGE STYLES
   ============================================ */

/* Success Header */
.success-header {
    background-color: #ffffff;
    padding: 16px;
    border-bottom: 1px solid #E5E5E5;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-staffinc {
    max-height: 32px;
}

.karir-badge {
    background-color: #E77408;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/*.btn-home {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    background-color: transparent;*/
/*    border: none;*/
/*    border-radius: 8px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    cursor: pointer;*/
/*    transition: background-color 0.2s;*/
/*}*/

/*.btn-home:hover {*/
/*    background-color: #F9FAFB;*/
/*}*/

/*.btn-home i {*/
/*    font-size: 20px;*/
/*    color: #262626;*/
/*}*/

/* Success Section */
.success-section {
    padding: 32px 16px;
    background-color: #ffffff;
}

.success-icon {
    /*width: 64px;*/
    /*height: 64px;*/
    /*!*background-color: #22C55E;*!*/
    /*border-radius: 50%;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*margin: 0 auto 16px;*/
}

.success-icon i {
    font-size: 32px;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 16px;
}

.job-applied-info {
    background-color: #F9FAFB;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.job-applied-info .job-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.job-applied-info .job-company {
    font-size: 14px;
    color: #71717A;
    margin-bottom: 4px;
}

.job-applied-info .job-location {
    font-size: 14px;
    color: #71717A;
}

.success-message {
    font-size: 14px;
    color: #71717A;
    line-height: 1.6;
    text-align: center;
}

/* Similar Jobs Section */
.similar-jobs-section {
    padding: 24px 16px 120px 16px;
    background-color: #F9FAFB;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 16px;
}

.similar-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Job Card in Success Page */
.job-card-success {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.2s;
    position: relative;
}

.job-card-success:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-company {
    font-size: 14px;
    color: #71717A;
    margin-bottom: 4px;
}

.job-card-location {
    font-size: 14px;
    color: #3B82F6;
    text-decoration: none;
    margin-bottom: 12px;
    display: inline-block;
}

.job-card-location:hover {
    text-decoration: underline;
}

.job-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.job-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #71717A;
}

.job-card-meta .meta-item i {
    font-size: 14px;
}

.job-card-time {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    color: #A1A1AA;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 16px;
    background-color: #ffffff;
    border-radius: 8px;
}

.empty-state-icon {
    font-size: 48px;
    color: #D4D4D8;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 16px;
    font-weight: 500;
    color: #71717A;
    margin-bottom: 8px;
}

.empty-state-subtitle {
    font-size: 14px;
    color: #A1A1AA;
}

/* Share Button for Success Page */
.btn-share-job-success {
    width: 100%;
    padding: 14px 24px;
    background-color: #E77408;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-share-job-success:hover {
    background-color: #D16807;
}

.btn-primary {
    --bs-btn-color: #4A4949;
    --bs-btn-active-color: #4A4949;
    --bs-btn-hover-color: #4A4949;
    --bs-btn-bg: #FFBB4B;
    --bs-btn-border-color: #FFBB4B;
    --bs-btn-hover-bg: #FFBB4B;
    --bs-btn-hover-border-color: #FFBB4B;
    --bs-btn-active-bg: #FFBB4B;
    --bs-btn-active-border-color: #FFBB4B;
    --bs-btn-disabled-bg: #F4F4F4;
    --bs-btn-disabled-color: #CBCBCB;
    --bs-btn-disabled-border-color: #F4F4F4;
}
.btn-light {
    --bs-btn-color: #4A4949;
    --bs-btn-active-color: #4A4949;
    --bs-btn-hover-color: #4A4949;
    --bs-btn-bg: #F4F4F4;
    --bs-btn-border-color: #F4F4F4;
    --bs-btn-hover-bg: #F4F4F4;
    --bs-btn-hover-border-color: #F4F4F4;
    --bs-btn-active-bg: #F4F4F4;
    --bs-btn-active-border-color: #F4F4F4;
}

.btn-secondary {
    --bs-btn-color: #18181B;
    --bs-btn-active-color: #18181B;
    --bs-btn-hover-color: #18181B;
    --bs-btn-bg: #E4E4E7;
    --bs-btn-border-color: #E4E4E7;
    --bs-btn-hover-bg: #E4E4E7;
    --bs-btn-hover-border-color: #E4E4E7;
    --bs-btn-active-bg: #E4E4E7;
    --bs-btn-active-border-color: #E4E4E7;
    --bs-btn-disabled-color: #18181B;
    --bs-btn-disabled-bg: #E4E4E7;
    --bs-btn-disabled-border-color: #E4E4E7;
}

.btn.btn-soft-success,
.btn.btn-soft-success:focus,
.btn.btn-soft-success:active,
.btn.btn-soft-success:hover {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    box-shadow: none;
}

.btn.btn-soft-danger,
.btn.btn-soft-danger:focus,
.btn.btn-soft-danger:active,
.btn.btn-soft-danger:hover {
    color: #EF4444;
    background-color: #DC26261F;
    box-shadow: none;
}

.badge.badge-soft-danger,
.badge.badge-soft-danger:focus,
.badge.badge-soft-danger:active,
.badge.badge-soft-danger:hover {
    color: #EF4444;
    background-color: #DC26261F;
    box-shadow: none;
}

.badge.badge-soft-warning,
.badge.badge-soft-warning:focus,
.badge.badge-soft-warning:active,
.badge.badge-soft-warning:hover {
    color: var(--color-yellow-600);
    background-color: var(--color-yellow-400);
    box-shadow: none;
}

.badge.badge-soft-success,
.badge.badge-soft-success:focus,
.badge.badge-soft-success:active,
.badge.badge-soft-success:hover {
    color: #047857;
    background-color: #2A9D901A;
    box-shadow: none;
}

/* Button Sizes - Mobile Optimized */
.btn-mobile {
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

.btn-mobile-sm {
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.btn-home {
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

main {
    padding-top: 80px;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    width: 100%;
    font-size: .875rem;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.425rem .875rem
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25rem;
    margin-right: 0.25rem;
}

.form-control:focus {
    outline: none;
    box-shadow: none;
}

/*.inputfile-1 + label {*/
/*    color: #09090B;*/
/*    background-color: var(--smp-primary-color);*/
/*}*/

/*.inputfile-1:focus + label,*/
/*.inputfile-1.has-focus + label,*/
/*.inputfile-1 + label:hover {*/
/*    background-color: var(--smp-primary-color);*/
/*}*/

.custom-editor {
    border: 1px solid #E5E5E5;
    border-radius: 8px; /* Apply to the whole container */
    overflow: hidden; /* Ensures borders are contained */
}

/* Custom styles for Quill Editor */
/*.custom-editor-attributes {*/
/*    border: 1px solid #E5E5E5;*/
/*    !*border-radius: 8px; !* Apply to the whole container *!*!*/
/*    overflow: hidden; !* Ensures borders are contained *!*/
/*}*/

.custom-editor-attributes .ql-toolbar {
    background-color: #F9FAFB; /* Light background for toolbar */
    border: none; /* Remove default toolbar border */
    border-bottom: 1px solid #E5E5E5; /* Separator from editor content */
    /*border-top-left-radius: 8px;*/
    /*border-top-right-radius: 8px;*/
    padding: 8px 12px; /* Adjust padding */
}

.custom-editor-attributes .ql-container {
    border: none !important; /* Remove container border to let parent control */
    font-size: 14px;
    color: #262626;
    background-color: #ffffff;
    /*border-bottom-left-radius: 8px;*/
    /*border-bottom-right-radius: 8px;*/
}

.custom-editor-attributes .ql-editor {
    padding: 12px 16px; /* Match form-input padding */
    min-height: 120px; /* Set a reasonable minimum height */
    line-height: 1.6; /* Improve readability */
}

.custom-editor-attributes .ql-editor.ql-blank::before {
    color: #A1A1AA; /* Placeholder color, matching form-input::placeholder */
    font-style: normal; /* Override italic if Quill applies it */
    left: 16px; /* Adjust placeholder position to match padding */
    right: 16px;
}

/* Focus state */
/* Need to ensure this applies to the whole component's border, not just the editor content */
.custom-editor-attributes:focus-within {
    border-color: #E77408; /* Highlight border on focus, similar to form-input */
}

.ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid #E5E5E5;
}

.ql-container.ql-snow {
    border: none;
}

.numInputWrapper span {
    opacity: 1;
}

.fs-sm-7 {
    font-size: .875rem;
}

html.is-changing .transition-fade {
    transition: opacity 0.25s;
    opacity: 1;
}
html.is-animating .transition-fade {
    opacity: 0;
}


#page-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

html.is-changing #page-loader {
    opacity: 1;
    visibility: visible;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 99;

    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

.profile-picture {
    width: 60px;
    height: 60px;
}

.alert-soft-warning {
    background: var(--color-yellow-800);
    color: var(--color-yellow-600);
}

.alert-soft-success {
    background: #2A9D901A;
    color: #047857;
}

.alert-soft-danger {
    background: #DC26261F;
    color: #EF4444;
}

.bg-yellow-400 {
    background: var(--color-yellow-400);
}

.text-link {
    color: #3D83D9;
}

.text-base {
    font-size: .75rem;
}

.max-w-screen {
    max-width: 100vw;
}

.max-w-xs{
    max-width: 430px;
}

.max-w-sm {
    max-width: 480px;
}

.toast {
    /*--bs-toast-max-width: 400px !important;*/
}

/* ============================================
   HOME PAGE STYLES
   ============================================ */

.home-container {
    background: #F4F4F5;
    min-height: 100vh;
    padding-bottom: 90px;
}

.home-search-filter-section {
    background: #FFFFFF;
}

.home-passport-banner-section {
    padding: 16px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(39, 71, 84, 0.1);
}

.home-passport-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 16px;
    overflow: hidden;
    background-color: #FEB022;
    background-image:
        radial-gradient(circle at 18% 120%, transparent 0 18px, rgba(255, 255, 255, 0.12) 19px 20px, transparent 21px 30px),
        radial-gradient(circle at 75% -30%, transparent 0 24px, rgba(255, 255, 255, 0.1) 25px 26px, transparent 27px 38px);
    border: 1px solid #CA8A04;
    border-radius: 14px;
}

.home-passport-banner-title {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 8px;
}

.home-passport-banner-title img {
    flex: none;
}

.home-passport-banner-title h2 {
    margin: 0;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.home-passport-banner p {
    align-self: stretch;
    margin: 0;
    color: #000000;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.home-passport-banner-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    color: #FFFBED;
    background: #000000;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-decoration: none;
}

.home-passport-banner-action:hover,
.home-passport-banner-action:focus-visible {
    color: #FFFBED;
}

.home-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #09090B;
    margin: 0;
}

.home-section-header {
    background: #F4F4F5;
    padding: 24px 16px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-section-see-all {
    font-size: 12px;
    color: #18181B;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    background: #2747541A;
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.home-section-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #A1A1AA;
    font-size: .8rem;
}

/* ============================================
   SONNER TOAST STYLES
   ============================================ */

.sonner-toast-container {
    z-index: 1080;
    pointer-events: none;
}

.sonner-toast {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: calc(100vw - 24px);
    width: 100%;
    min-width: 350px;
    overflow: hidden;
    pointer-events: auto;
    animation: sonner-slide-in 0.3s ease-out;
    position: relative;
}

@keyframes sonner-slide-in {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes sonner-slide-out {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.sonner-toast-content {
    padding: 16px;
}

.sonner-toast-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sonner-toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #09090B;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sonner-toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.sonner-toast-icon i {
    display: block;
}

.sonner-toast-description {
    font-size: 13px;
    font-weight: 400;
    color: #71717A;
    line-height: 1.4;
}

/* ============================================
   MODAL UNINTERESTED REASON - BOTTOM SHEET
   ============================================ */

.modal-dialog-bottom {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    right: auto !important;
    top: auto !important;
}

@media (min-width: 431px) {
    body {
        position: relative;
    }
    
    .modal-dialog-bottom {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.modal-dialog-bottom .modal-content {
    border-radius: 16px 16px 0 0;
    border: none;
    margin: 0;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
}

.modal-uninterested-content {
    background-color: transparent;
    height: 500px;
    padding: 0;
}

.modal-uninterested-body {
    border-radius: var(--bs-modal-border-radius) var(--bs-modal-border-radius) 0 0;
}

@keyframes modalSlideUpFromBottom {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.modal-dialog-bottom.show .modal-content {
    animation: modalSlideUpFromBottom 0.3s ease-out;
}

body:has(.modal-confirm.show) .modal-backdrop:last-of-type {
    z-index: 1060;
}

/* ============================================
   JOB CARD FOOTER - TEXT TRUNCATION
   ============================================ */

/* Truncate long customer_group name in footer tag */
.footer-tag-truncate {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 1;
}

.footer-tag-truncate .footer-tag-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    min-width: 0;
}

/* ============================================
   JOB POST APPLICATION LIST - FIXED TOOLBAR
   ============================================ */

/* Fixed search and filter toolbar container */
.job-list-toolbar {
    position: fixed;
    top: 74px; /* Below the mobile header */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    z-index: 900;
    background: #F4F4F5;
    border-left: 1px solid #E5E5E5;
    border-right: 1px solid #E5E5E5;
}

/* Spacer for the fixed toolbar to prevent content overlap */
.job-list-toolbar-spacer {
    height: 148px; /* Matches toolbar height (back-nav ~60px + mb-2~8px + search-filter ~80px) */
}

/* Fixed search and filter toolbar for home page (no back-navigation) */
.home-list-toolbar {
    position: fixed;
    top: 74px; /* Below the mobile header */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    z-index: 900;
    background: #F4F4F5;
    border-left: 1px solid #E5E5E5;
    border-right: 1px solid #E5E5E5;
}

/* Spacer for the home page fixed toolbar */
.home-list-toolbar-spacer {
    height: 76px; /* Matches search-filter height ~76px */
}

.home-list-toolbar-spacer--with-passport-banner {
    height: 246px;
}

/* ============================================
   BOTTOM NAVIGATION BAR
   ============================================ */

.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 0 8px;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.08);
    z-index: 1050;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 12px;
    padding-bottom: 16px;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:hover {
    text-decoration: none;
}

.bottom-nav-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 4px 16px;
    transition: background-color 0.2s ease;
}

.bottom-nav-item.active .bottom-nav-icon-wrap {
    background-color: #FEB022;
}

.bottom-nav-icon {
    font-size: 20px;
    color: #09090B;
    line-height: 1;
}

.bottom-nav-label {
    font-size: 10px;
    font-weight: 500;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #4A4949;
    text-align: center;
    line-height: 16px;
    white-space: nowrap;
}

/* Apply to the main content area specifically on the jobs index page */
.job-cards-container {
    padding-bottom: 80px;
}

/* Override previous padding on job-cards-container */
.search-filter-section + .job-cards-container {
    padding-bottom: 80px;
}

/* ============================================
   PHONE NUMBER MODAL - CENTERED
   ============================================ */

.modal-phone-title {
    font-size: 18px;
    font-weight: 600;
    color: #09090B;
    line-height: 1.3;
    text-align: left;
}

.modal-phone-description {
    font-size: 14px;
    font-weight: 400;
    color: #09090B;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 24px !important;
}

.modal-phone-form {
    width: 100%;
}

.modal-phone-prefix {
    font-size: 14px;
    color: #09090B;
    line-height: 1.5;
    text-align: left;
    padding-left: 16px;
}

.modal-phone-input-group {
    width: 100%;
}

.modal-phone-input-group .phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #E4E4E7;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
    background: #fff;
}

.modal-phone-input-group .phone-input-wrapper:focus-within {
    border-color: #E77408;
}

/* Readonly state — pre-filled number from registration flow */
.modal-phone-input-group .phone-input-wrapper.is-readonly {
    background: #F4F4F5;
}
.modal-phone-input-group .phone-input-wrapper.is-readonly .modal-phone-prefix,
.modal-phone-input-group .phone-input-wrapper.is-readonly .phone-input {
    color: #71717A;
    background: #F4F4F5;
}
.modal-phone-input-group .phone-input-wrapper.is-readonly:focus-within {
    border-color: #E4E4E7;
}

.modal-phone-input-group .phone-input {
    flex: 1;
    border: none;
    padding: 12px 16px 12px 0px;
    font-size: 14px;
    color: #09090B;
    background: #fff;
    outline: none;
    min-height: 46px;
}

.modal-phone-input-group .phone-input::placeholder {
    color: #A1A1AA;
}

.modal-phone-input-title {
    display: block;
    font-size: 14px;
    color: #09090B;
    margin-bottom: 4px;
    line-height: 1.4;
}

.modal-phone-actions {
    margin-top: 8px;
}

/* Override modal-body background for centered modals in applicant_mobile */
.modal-dialog-centered .modal-body.modal-content {
     max-width: calc(430px - 32px);
    width: calc(100% - 32px);
    margin: 1.75rem auto;
    border-radius: 16px;
    background: #fff;
}

@media (min-width: 431px) {
    .bottom-navbar {
        border-left: 1px solid #E5E5E5;
        border-right: 1px solid #E5E5E5;
    }
}

/* ============================================
   PASSWORD FORM STYLES (Set Password / Buat Kata Sandi)
   ============================================ */

.password-form-container {
    padding-top: 0;
}

/* Info Banner */
.password-info-banner {
    background-color: #EAB3081A;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #18181b;
}

/* Form Group */
.form-group-password {
    position: relative;
}

.form-label-password {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #09090B;
    margin-bottom: 8px;
}

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

.password-input {
    width: 100%;
    height: 40px;
    padding: 10px 44px 10px 12px;
    font-size: 14px;
    color: #09090B;
    border: 1px solid #E4E4E7;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.password-input:focus {
    border-color: #A1A1AA;
    box-shadow: 0 0 0 2px rgba(161, 161, 170, 0.2);
    outline: none;
}

.password-input.has-error {
    border-color: #EF4444;
}

.password-input.has-error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Password Toggle Button (Eye) */
.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #71717A;
    cursor: pointer;
    z-index: 2;
    padding: 0;
}

.password-toggle:hover {
    color: #09090B;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle i {
    font-size: 18px;
}

/* Password Error Message */
.password-error {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    color: #EF4444;
    line-height: 1.4;
}

.password-error i {
    font-size: 14px;
    flex-shrink: 0;
}

/* Submit Button */
.btn-submit-primary {
    background-color: #FFBB4B;
    color: #09090B;
    border: none;
    border-radius: 8px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s ease-in-out;
}

/* Back confirmation modal */
.modal-back-confirm-content {
    border-radius: 8px;
    border: none;
    padding: 20px;
    background: #fff;
}

.modal-back-confirm-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-back-confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: #09090B;
    margin: 0;
    line-height: 1.3;
}

.modal-back-confirm-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-back-confirm-primary, .btn-back-confirm-primary:hover {
    display: block;
    width: 100%;
    padding: 10px 24px;
    background: #FEB022;
    color: #09090B;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    line-height: 20px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-back-confirm-secondary, .btn-back-confirm-secondary:hover {
    display: block;
    width: 100%;
    padding: 10px 24px;
    background: #fff;
    color: #09090B;
    border: 1px solid #E4E4E7;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    line-height: 20px;
    cursor: pointer;
    transition: background 0.15s;
}

#browserApplyLimitModal .modal-back-confirm-content {
    border: 1px solid #E4E4E7;
    box-shadow: 0 4px 6px -4px rgba(16, 24, 40, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#browserApplyLimitModal .modal-back-confirm-title {
    line-height: 28px;
}

.browser-apply-limit-description {
    margin: 0;
    color: #09090B;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

#browserApplyLimitModal .btn-back-confirm-primary {
    height: 40px;
    padding: 10px 16px;
}

.btn-submit-primary:hover:not(:disabled) {
    background-color: #F5A623;
    color: #09090B;
}

.btn-submit-primary:disabled {
    background-color: #18181b;
    color: #fafafa;
    cursor: not-allowed;
}

.btn-submit-primary .spinner-border {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

/* Password Caption (always-visible hint below input) */
.password-caption {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #A1A1AA;
}

.password-caption.is-invalid {
    color: #EF4444;
}

.password-caption .caption-text {
    color: inherit;
}

.password-caption .caption-icon {
    font-size: 14px;
    flex-shrink: 0;
    display: none;
}

.password-caption.is-invalid .caption-icon {
    display: inline-flex;
}

/* ========== reCAPTCHA Enterprise (apply form) ========== */

/*
 * Google's checkbox-challenge popup (bframe) is a fixed 563px-tall panel
 * (inline z-index 2000000000, overflow: visible, no max-height). On short
 * viewports — docked DevTools, phones with the URL bar collapsed — the VERIFY
 * button at the bottom of the panel lands below the fold with no scrollbar,
 * so it looks like the button never appeared. Clamp the wrapper to the
 * viewport and let it scroll; the iframe inside keeps its 563px height.
 */
div[style*="z-index: 2000000000"] {
    max-height: calc(100dvh - 20px) !important; /* dynamic mobile vh (URL bar collapse) */
    max-height: calc(100vh - 20px) !important;  /* fallback */
    height: auto !important;
    overflow-y: auto !important;
}

/*
 * The checkbox (anchor iframe) lives inside .grecaptcha-badge, which Google
 * pins at bottom: 14px. The fixed .bottom-actions bar (z-index 1000, ~110px
 * tall) covers it on mobile, making the checkbox untappable and the VERIFY
 * panel unreachable. Lift the badge above the bar (Google injects inline
 * styles, so !important is required).
 */
.grecaptcha-badge {
    bottom: 120px !important;
}
.input-date-wrapper {
    position: relative;
}

.input-date-wrapper .input-date-attributes {
    padding-right: 44px;
}

.input-date-button {
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 8px 0 0;
    border: 0;
    background: transparent;
    color: #09090B;
    cursor: pointer;
    transform: translateY(-50%);
}

.input-date-button i {
    font-size: 16px;
}
