: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;
    --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;
}

.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-company {
    font-size: 14px;
    color: #262626;
    margin-bottom: 2px;
}

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

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

.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;
}

.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 {
    /* 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::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 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: 16px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 4px;
}

.job-detail-location {
    font-size: 14px;
    color: #71717A;
    margin-bottom: 16px;
}

.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: 8px;
    color: #262626;
    line-height: 1.5;
}

.description-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FFBB4B;
    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: #FFBB4B;
    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;
    background-color: #F9FAFB;
    border-radius: 12px;
    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: 0 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 14px;
}

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

.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;
}

/* 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: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;
}

/* 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: center;
}

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

.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.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;
}

/* 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;
}