:root {
    --bs-primary: #2563eb;
    --bs-primary-active: #1b4fbc;
    --bs-primary-25: rgba(37, 99, 235, 0.25);
    --bs-primary-rgb: 37, 99, 235;
    --bs-secondary: #64748b;
    --bs-success: #10b981;
    --bs-info: #3b82f6;
    --bs-warning: #2563eb;
    --bs-danger: #ef4444;
    --bs-light: #f8fafc;
    --bs-dark: #0f172a;
    --bs-body-bg: #f8fafc;
    --bs-body-color: #1e293b;
    --bs-card-bg: #ffffff;
}

html[data-bs-theme="dark"] {
    color-scheme: dark;
    --bs-primary-25: rgba(37, 99, 235, 0.35);
    --bs-secondary: #94a3b8;
    --bs-light: #0f172a;
    --bs-dark: #e2e8f0;
    --bs-body-bg: #0f172a;
    --bs-body-color: #e2e8f0;
    --bs-card-bg: #111827;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.6;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* bagian ini ngedorong footer ke bawah */
}

.ck .ck-placeholder,
.ck.ck-placeholder {
    font-size: 0.9rem;
}

/* plus jakarta sans font classes */
.pjs-xl {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}
.pjs-l {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
.pjs-r {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.pjs-md {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.pjs-sb {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.pjs-bd {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.pjs-xb {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}
/* end of plus jakarta sans font classes */

.text-primary {
    color: var(--bs-primary) !important;
}

html[data-bs-theme="dark"] .text-dark {
    color: #f8fafc !important;
}

html[data-bs-theme="dark"] .text-muted {
    color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .bg-light {
    background-color: #0b1220 !important;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start {
    border-color: #1f2937 !important;
}

html[data-bs-theme="dark"] hr {
    border-color: #1f2937;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 3px 3px 12px 2px var(--bs-primary-25);
}

.btn.btn-primary.disabled,
.btn.btn-primary:disabled,
fieldset:disabled .btn.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    opacity: 0.3 !important;
}

.btn.btn-outline-primary.disabled,
.btn.btn-outline-primary:disabled,
fieldset:disabled .btn.btn-outline-primary {
    filter: brightness(0.3) !important;
    background-color: var(--bs-primary-25) !important;
    border: none !important;
}

.btn-outline-warning:hover {
    color: #fff;
}

/* Checkbox dasar */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

html[data-bs-theme="dark"] .form-check-input {
    background-color: #0f172a;
    border-color: #334155;
}

/* Fokus */
.form-check-input:focus {
    outline: 0;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25);
}

/* Checkbox primary */
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% 70%;
}

/* Checkbox secondary */
.form-check-input.secondary:checked {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

/* Disabled */
.form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: 0.5;
}

/* Label */
.form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
}

html[data-bs-theme="dark"] .form-check-label {
    color: #e2e8f0;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
    background-color: var(--bs-primary-active) !important;
    border-color: var(--bs-primary) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-primary:focus-visible,
.btn-primary:focus {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25) !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    background-color: transparent !important;
    border-color: var(--bs-primary) !important;
}

.dropdown-item {
    opacity: 0.5;
    transition: all 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:focus-visible {
    background-color: var(--bs-primary) !important;
    opacity: 1 !important;
    color: white !important;
}

html[data-bs-theme="dark"] .dropdown-menu {
    background-color: #0f172a;
    border-color: #1f2937;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="dark"] .dropdown-item {
    color: #e2e8f0;
    opacity: 0.9;
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:active,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .dropdown-item:focus-visible {
    background-color: #1f2937 !important;
    color: #f8fafc !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
}
.btn-outline-primary:focus-visible,
.btn-outline-primary:focus {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25) !important;
    color: white !important;
}
.btn-outline-primary.btn-outline-clean:hover,
.btn-outline-primary.btn-outline-clean:focus,
.btn-outline-primary.btn-outline-clean:active,
.btn-outline-primary.btn-outline-clean.active {
    background-color: transparent !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}
.btn-outline-primary.btn-outline-clean:focus-visible,
.btn-outline-primary.btn-outline-clean:focus {
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25);
}

/* Input, select, textarea dasar */
.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

/* Fokus (highlight dengan warna primary) */
.form-control:focus,
.form-select:focus,
textarea:focus {
    color: #212529;
    background-color: #fff;
    border-color: var(--bs-primary);
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25);
}

/* Disabled & Readonly */
.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

/* Placeholder */
.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

html[data-bs-theme="dark"] .form-label {
    color: #cbd5f1;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea.form-control {
    color: #e2e8f0;
    background-color: #0f172a;
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba(226,232,240,.8)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus {
    color: #f8fafc;
    background-color: #111827;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25);
}

html[data-bs-theme="dark"] .form-control::placeholder {
    color: #94a3b8;
}

html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-control[readonly],
html[data-bs-theme="dark"] .form-select:disabled {
    background-color: #0b1220 !important;
    border-color: #1f2937 !important;
    color: #64748b !important;
}

html[data-bs-theme="light"] .swal2-popup,
html[data-bs-theme="light"] .swal2-toast {
    background-color: var(--bs-card-bg);
    color: var(--bs-body-color);
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

html[data-bs-theme="light"] .swal2-title,
html[data-bs-theme="light"] .swal2-html-container,
html[data-bs-theme="light"] .swal2-content {
    color: var(--bs-body-color);
}

html[data-bs-theme="light"] .swal2-close {
    color: #64748b;
}

html[data-bs-theme="light"] .swal2-input,
html[data-bs-theme="light"] .swal2-textarea,
html[data-bs-theme="light"] .swal2-select,
html[data-bs-theme="light"] .swal2-file {
    background-color: #fff;
    border-color: #ced4da;
    color: #212529;
}

html[data-bs-theme="light"] .swal2-input:focus,
html[data-bs-theme="light"] .swal2-textarea:focus,
html[data-bs-theme="light"] .swal2-select:focus,
html[data-bs-theme="light"] .swal2-file:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25);
}

html[data-bs-theme="dark"] .swal2-popup,
html[data-bs-theme="dark"] .swal2-toast {
    background-color: var(--bs-card-bg);
    color: var(--bs-body-color);
    border: 1px solid #1f2937;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="dark"] .swal2-title,
html[data-bs-theme="dark"] .swal2-html-container,
html[data-bs-theme="dark"] .swal2-content {
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .swal2-close {
    color: #cbd5f1;
}

html[data-bs-theme="dark"] .swal2-input,
html[data-bs-theme="dark"] .swal2-textarea,
html[data-bs-theme="dark"] .swal2-select,
html[data-bs-theme="dark"] .swal2-file {
    background-color: #0f172a;
    border-color: #1f2937;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .swal2-input:focus,
html[data-bs-theme="dark"] .swal2-textarea:focus,
html[data-bs-theme="dark"] .swal2-select:focus,
html[data-bs-theme="dark"] .swal2-file:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25);
}

html[data-bs-theme="dark"] .swal2-input::placeholder,
html[data-bs-theme="dark"] .swal2-textarea::placeholder {
    color: #94a3b8;
}

/* Textarea khusus */
textarea.form-control {
    min-height: calc(1.5em + 0.75rem + 2px);
}

/* Input file */
.form-control[type="file"] {
    overflow: hidden;
}
.form-control[type="file"]:hover::file-selector-button {
    background-color: var(--bs-primary) !important;
    border: 1px solid var(--bs-primary);
    filter: brightness(1.4);
}
.form-control[type="file"]::file-selector-button {
    padding: 0.5rem 0.75rem;
    margin: -0.5rem -0.75rem;
    margin-inline-end: 0.75rem;
    color: #fff;
    background-color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    border-radius: 0.375rem 0 0 0.375rem;
    transition:
        filter 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
    appearance: none;
    -webkit-appearance: none;
}

/* Select */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba(0,0,0,.5)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2rem;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-primary-25 {
    background-color: var(--bs-primary-25) !important;
}

.section-muted-bg {
    background-color: rgba(243, 244, 246, 0.3);
}

html[data-bs-theme="dark"] .section-muted-bg {
    background-color: rgba(15, 23, 42, 0.6);
}

.card {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background-color: var(--bs-card-bg);
    transition: all 0.3s ease;
}

html[data-bs-theme="dark"] .card {
    border-color: #1f2937;
    background-color: #111827;
}

html[data-bs-theme="dark"] .card-header {
    background-color: #0f172a;
    border-bottom-color: #1f2937;
    color: #f8fafc;
}

html[data-bs-theme="dark"] .card-footer {
    background-color: #0f172a;
    border-top-color: #1f2937;
}

html[data-bs-theme="dark"] .modal-content {
    background-color: #0f172a;
    color: #e2e8f0;
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .modal-header,
html[data-bs-theme="dark"] .modal-footer {
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .btn-close {
    filter: invert(1);
}

/* Input group text dark mode */
html[data-bs-theme="dark"] .input-group-text {
    background-color: #0f172a;
    border-color: #1f2937;
    color: #94a3b8;
}

/* Badge dark mode */
html[data-bs-theme="dark"] .badge.bg-outline-secondary {
    background-color: transparent !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

/* Modal title dark mode */
html[data-bs-theme="dark"] .modal-title {
    color: #f8fafc;
}

#questionBankModal .modal-footer {
    background-color: #ffffff;
}

html[data-bs-theme="dark"] #questionBankModal .modal-footer {
    background-color: #0f172a;
}

.hover-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.hero-section {
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.1) 0%,
        #ffffff 50%,
        rgba(107, 114, 128, 0.1) 100%
    );
    padding: 5rem 0;
}

html[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.2) 0%,
        #0f172a 55%,
        rgba(30, 41, 59, 0.9) 100%
    );
}

@media (max-width: 991px) {
    .navbar {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .navbar .nav-item,
    .navbar .nav-link,
    .navbar .btn,
    .navbar .nav-link a {
        width: 100% !important;
        text-align: center;
        margin: auto;
    }
}

html[data-bs-theme="dark"] .navbar {
    background-color: #0f172a !important;
    border-bottom: 1px solid #1f2937;
}

html[data-bs-theme="dark"] .navbar .nav-link {
    color: #cbd5f1;
}

html[data-bs-theme="dark"] .navbar .nav-link.active,
html[data-bs-theme="dark"] .navbar .nav-link:hover,
html[data-bs-theme="dark"] .navbar .nav-link:focus,
html[data-bs-theme="dark"] .navbar .nav-link:focus-visible {
    color: #f8fafc;
}

html[data-bs-theme="dark"] .navbar .navbar-toggler {
    border-color: #334155;
}

html[data-bs-theme="dark"] .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.toggle-password {
    border: 2px solid #e5e7eb;
    border-left: none;
    cursor: pointer;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}
.otp-field {
    flex-direction: row;
    column-gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-field input {
    height: 45px;
    width: 42px;
    border-radius: 6px;
    outline: none;
    font-size: 1.125rem;
    text-align: center;
    border: 1px solid #ddd;
}

.otp-field input:focus {
    box-shadow: 0 1px 0 rgba(var(--theme-primary), 0.2);
}

html[data-bs-theme="dark"] .otp-field input {
    background-color: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .otp-field input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem var(--bs-primary-25);
}

html[data-bs-theme="dark"] .otp-field input:disabled {
    background-color: #0b1220;
    border-color: #1f2937;
    color: #64748b;
}

.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
    display: none;
}

.otp-field input {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    .otp-field input {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-dark {
    display: none;
}

html[data-bs-theme="dark"] .logo-light {
    display: none;
}

html[data-bs-theme="dark"] .logo-dark {
    display: inline-block;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bs-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.search-input {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem 0.5rem 3rem;
    font-size: 1rem;
}

.search-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.category-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background-color: #f8fafc;
    border-color: var(--bs-primary);
}

html[data-bs-theme="dark"] .category-card {
    background-color: #111827;
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .category-card:hover {
    background-color: #0b1220;
    border-color: var(--bs-primary);
}

.category-card:hover .category-icon {
    opacity: 1;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    color: var(--bs-primary) !important;
    transition: all 0.3s ease;
}

.job-card {
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--bs-primary);
    border-radius: 16px;
    padding: 1.5rem;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

html[data-bs-theme="dark"] .job-card {
    border-color: #1f2937;
    border-left: 4px solid var(--bs-primary);
    background-color: #111827;
}

html[data-bs-theme="dark"] .btn-love-jobs {
    background-color: #1f2937 !important;
}

html[data-bs-theme="dark"] .job-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="dark"] .btn.btn-outline-primary.disabled,
.btn.btn-outline-primary:disabled,
fieldset:disabled .btn.btn-outline-primary {
    filter: brightness(0.8) !important;
    background-color: var(--bs-primary) !important;
    border: none !important;
    color: var(--bs-body-bg) !important;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

html[data-bs-theme="dark"] .job-title {
    color: #f8fafc;
}

.job-company {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.job-meta span {
    width: 33.3333%;
}

@media (max-width: 512px) {
    .job-meta {
        flex-direction: column;
        align-items: start;
    }
}

.job-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

html[data-bs-theme="dark"] .job-company,
html[data-bs-theme="dark"] .job-meta,
html[data-bs-theme="dark"] .job-description {
    color: #94a3b8;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-tag {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

html[data-bs-theme="dark"] .job-tag {
    background-color: #1f2937;
    color: #e2e8f0;
}

.company-card {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: default;
}

.company-card:hover {
    background-color: #f8fafc;
    border-color: var(--bs-primary);
}

html[data-bs-theme="dark"] .company-card {
    background-color: #111827;
    border-color: #1f2937;
}

html[data-bs-theme="dark"] .company-card:hover {
    background-color: #0b1220;
    border-color: var(--bs-primary);
}

html[data-bs-theme="dark"] .company-logo {
    background-color: #1f2937;
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin: 0 auto 1rem auto;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-section {
    background-color: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.no-transform-animation:hover {
    transform: unset !important;
}

.footer-section a:hover {
    color: white;
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

html[data-bs-theme="dark"] .topbar-icon-btn {
    background-color: #0f172a;
    border-color: #1f2937;
    color: #cbd5f1;
}

html[data-bs-theme="dark"] .topbar-icon-btn:hover {
    background-color: #1f2937;
    border-color: #334155;
    color: #f8fafc;
}

.topbar-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.topbar-icon-btn:hover {
    background-color: #f3f4f6;
    color: #334155;
    border-color: #d1d5db;
}

.topbar-icon-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.btn-group .btn-showing {
    border-color: var(--bs-primary) !important;
}

.btn-group .btn-showing + .btn-showing {
    border-left-color: var(--bs-primary) !important;
}


html[data-bs-theme="dark"] .btn-outline-secondary {
    color: #e2e8f0;
    border-color: #334155;
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-secondary:active {
    background-color: #1f2937;
    border-color: #475569;
    color: #f8fafc;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .category-card,
    .company-card {
        padding: 1rem;
    }

    .job-card {
        padding: 1rem;
    }

    .stats-number {
        font-size: 2rem;
    }
}

a.card {
    text-decoration: none;
}

.pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link,
.pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border, #ddd);
    border-radius: 12px !important;
    background-color: var(--background, #fff);
    color: var(--foreground, #333);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin: 0.5rem 0.25rem;
}

html[data-bs-theme="dark"] .pagination {
    --border: #1f2937;
    --background: #0f172a;
    --foreground: #e2e8f0;
    --accent: #1f2937;
    --accent-foreground: #f8fafc;
}

.pagination .page-link:hover,
.pagination .page-link:focus,
.pagination button:hover {
    background-color: var(--accent, #f5f5f5);
    color: var(--accent-foreground, #111);
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25);
}

.pagination .page-item.active .page-link,
.pagination button[aria-current="page"],
.pagination button.bg-primary {
    background-color: var(--bs-primary);
    color: var(--bs-light);
}

.pagination .page-item.disabled .page-link,
.pagination button:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

.heart {
    position: absolute;
    font-size: 20px;
    color: var(--bs-primary);
    animation: floatUp 1.5s ease forwards;
    pointer-events: none;
}

.progress-bar {
    background-color: var(--bs-primary);
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5);
    }
}

@keyframes fallDown {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(120px) scale(0.8) rotate(45deg);
    }
}

.company-card {
    transition: all 0.3s ease;
}

.company-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.job-card {
    border-left: 4px solid var(--bs-primary);
    transition: all 0.3s ease;
}

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

.company-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #f3f4f6;
}

.badge-primary {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--bs-primary);
}

html[data-bs-theme="dark"] .badge-primary {
    background-color: rgba(37, 99, 235, 0.2);
    color: #bfdbfe;
}

.badge.bg-outline-secondary {
    background-color: transparent;
    border: 1px solid #e5e7eb;
    color: #6b7280;
}

html[data-bs-theme="dark"] .badge.bg-outline-secondary {
    border-color: #334155;
    color: #cbd5f1;
}

html[data-bs-theme="dark"] .badge.bg-outline-secondary.text-dark {
    color: #cbd5f1 !important;
}

.rating-star {
    color: var(--bs-primary) !important;
}

.border-left-primary {
    border-left: 4px solid var(--bs-primary) !important;
}
select + .select2-container--bootstrap-5 {
    width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection {
    height: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    color: #212529;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
input.select2-search__field:focus,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem var(--bs-primary-25) !important;
}
.select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option[aria-selected="true"]:not(
        .select2-results__option--highlighted
    ) {
    background-color: var(--bs-primary) !important;
    color: #ffffff;
}

textarea.select2-search__field {
    box-shadow: none !important;
}

.select2-container--bootstrap-5
    .select2-selection--single
    .select2-selection__rendered {
    color: #212529;
    font-size: 16px;
}

.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #6c757d;
}

select:disabled + .select2-container--bootstrap-5 .select2-selection,
.select2-container--bootstrap-5.select2-container--disabled .select2-selection,
.select2-container--bootstrap-5 .select2-selection[aria-disabled="true"] {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #6c757d;
    cursor: not-allowed;
}

select:disabled + .select2-container--bootstrap-5 .select2-selection__rendered,
.select2-container--bootstrap-5.select2-container--disabled
    .select2-selection__rendered,
.select2-container--bootstrap-5
    .select2-selection[aria-disabled="true"]
    .select2-selection__rendered {
    color: #6c757d;
}

select.is-invalid + .select2-container--bootstrap-5 .select2-selection {
    border-color: var(--bs-danger) !important;
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.25) !important;
}

html[data-bs-theme="dark"]
    select
    + .select2-container--bootstrap-5
    .select2-selection,
html[data-bs-theme="dark"] .select2-results,
html[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-dropdown
    .select2-search
    .select2-search__field,
html[data-bs-theme="dark"] .select2-dropdown {
    background-color: #0f172a;
    border: 1px solid #1f2937;
    color: #e2e8f0;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #ced4da !important;
    background-color: #fff;
    color: #212529;
}

html[data-bs-theme="dark"]
    select
    + .select2-container--bootstrap-5
    .select2-selection[aria-disabled="true"] {
    background-color: #0b1220;
    border: 1px solid #1f2937;
}

html[data-bs-theme="dark"]
    select:disabled
    + .select2-container--bootstrap-5
    .select2-selection,
html[data-bs-theme="dark"]
    .select2-container--bootstrap-5.select2-container--disabled
    .select2-selection {
    background-color: #0b1220;
    border: 1px solid #1f2937;
    color: #64748b;
}

html[data-bs-theme="dark"]
    select
    + .select2-container--bootstrap-5
    .select2-selection[aria-disabled="true"]
    span {
    color: #64748b;
}

html[data-bs-theme="dark"]
    select:disabled
    + .select2-container--bootstrap-5
    .select2-selection__rendered,
html[data-bs-theme="dark"]
    .select2-container--bootstrap-5.select2-container--disabled
    .select2-selection__rendered {
    color: #64748b;
}

html[data-bs-theme="dark"]
    select
    + .select2-container--bootstrap-5
    .select2-selection
    span {
    color: #e2e8f0;
}

html[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-selection--single
    .select2-selection__rendered {
    color: #e2e8f0;
}

html[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-selection__placeholder {
    color: #94a3b8;
}

html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-dropdown {
    border-color: #1f2937 !important;
}

html[data-bs-theme="dark"]
    select.is-invalid
    + .select2-container--bootstrap-5
    .select2-selection {
    border-color: var(--bs-danger) !important;
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.3) !important;
}

html[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option.select2-results__option--highlighted[aria-selected="true"],
html[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option.select2-results__option--selected {
    background-color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    color: #ffffff;
}

.form-control.is-invalid[type="password"] {
    background-image: none !important;
}
#laporan-pelamar-table {
    visibility: hidden;
}

/* Container loading */
#table-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--bs-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

#loading-overlay {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loading-overlay .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--bs-primary);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    animation: spin 1s linear infinite;
}

html[data-bs-theme="dark"] .spinner {
    border-color: #1f2937;
    border-top-color: var(--bs-primary);
}

html[data-bs-theme="dark"] #loading-overlay {
    background: rgba(15, 23, 42, 0.85);
}

html[data-bs-theme="dark"] #loading-overlay .spinner {
    border-color: #1f2937;
    border-top-color: var(--bs-primary);
}

html[data-bs-theme="dark"] .loading-overlay {
    background-color: rgba(15, 23, 42, 0.75) !important;
    color: #e2e8f0;
}

/* ============================================ */
/* Application Status Color Utility Classes    */
/* ============================================ */

/* Button Classes */
.btn-blue {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}
.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.btn-indigo {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
}
.btn-indigo:hover,
.btn-indigo:focus,
.btn-indigo:active {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}

.btn-teal {
    background-color: #14b8a6;
    border-color: #14b8a6;
    color: #ffffff;
}
.btn-teal:hover,
.btn-teal:focus,
.btn-teal:active {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
}

.btn-cyan {
    background-color: #06b6d4;
    border-color: #06b6d4;
    color: #ffffff;
}
.btn-cyan:hover,
.btn-cyan:focus,
.btn-cyan:active {
    background-color: #0891b2 !important;
    border-color: #0891b2 !important;
    color: #ffffff !important;
}

.btn-purple {
    background-color: #a855f7;
    border-color: #a855f7;
    color: #ffffff;
}
.btn-purple:hover,
.btn-purple:focus,
.btn-purple:active {
    background-color: #9333ea !important;
    border-color: #9333ea !important;
    color: #ffffff !important;
}

.btn-orange {
    background-color: #f97316;
    border-color: #f97316;
    color: #ffffff;
}
.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active {
    background-color: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
}

.btn-green {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}
.btn-green:hover,
.btn-green:focus,
.btn-green:active {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
}

.btn-yellow {
    background-color: #eab308;
    border-color: #eab308;
    color: #ffffff;
}
.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active {
    background-color: #ca8a04 !important;
    border-color: #ca8a04 !important;
    color: #ffffff !important;
}

.btn-red {
    background-color: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}
.btn-red:hover,
.btn-red:focus,
.btn-red:active {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

/* Text Color Classes */
.text-blue {
    color: #3b82f6 !important;
}
.text-indigo {
    color: #6366f1 !important;
}
.text-teal {
    color: #14b8a6 !important;
}
.text-cyan {
    color: #06b6d4 !important;
}
.text-purple {
    color: #a855f7 !important;
}
.text-orange {
    color: #f97316 !important;
}
.text-green {
    color: #22c55e !important;
}
.text-yellow {
    color: #eab308 !important;
}
.text-red {
    color: #ef4444 !important;
}

/* Dark mode text colors */
html[data-bs-theme="dark"] .text-blue {
    color: #60a5fa !important;
}
html[data-bs-theme="dark"] .text-indigo {
    color: #818cf8 !important;
}
html[data-bs-theme="dark"] .text-teal {
    color: #2dd4bf !important;
}
html[data-bs-theme="dark"] .text-cyan {
    color: #22d3ee !important;
}
html[data-bs-theme="dark"] .text-purple {
    color: #c084fc !important;
}
html[data-bs-theme="dark"] .text-orange {
    color: #fb923c !important;
}
html[data-bs-theme="dark"] .text-green {
    color: #4ade80 !important;
}
html[data-bs-theme="dark"] .text-yellow {
    color: #fbbf24 !important;
}
html[data-bs-theme="dark"] .text-red {
    color: #f87171 !important;
}

/* Background Color Classes */
.bg-blue {
    background-color: #3b82f6 !important;
    color: #ffffff;
}
.bg-indigo {
    background-color: #6366f1 !important;
    color: #ffffff;
}
.bg-teal {
    background-color: #14b8a6 !important;
    color: #ffffff;
}
.bg-cyan {
    background-color: #06b6d4 !important;
    color: #ffffff;
}
.bg-purple {
    background-color: #a855f7 !important;
    color: #ffffff;
}
.bg-orange {
    background-color: #f97316 !important;
    color: #ffffff;
}
.bg-green {
    background-color: #22c55e !important;
    color: #ffffff;
}
.bg-yellow {
    background-color: #eab308 !important;
    color: #ffffff;
}
.bg-red {
    background-color: #ef4444 !important;
    color: #ffffff;
}

/* Badge Classes */
.badge-blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-indigo {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid #6366f1;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-teal {
    background-color: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
    border: 1px solid #14b8a6;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-cyan {
    background-color: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border: 1px solid #06b6d4;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-purple {
    background-color: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid #a855f7;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-orange {
    background-color: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid #f97316;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-green {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-yellow {
    background-color: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid #eab308;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-red {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Dark mode badge adjustments */
html[data-bs-theme="dark"] .badge-blue {
    background-color: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border-color: #60a5fa;
}
html[data-bs-theme="dark"] .badge-indigo {
    background-color: rgba(129, 140, 248, 0.15);
    color: #818cf8;
    border-color: #818cf8;
}
html[data-bs-theme="dark"] .badge-teal {
    background-color: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    border-color: #2dd4bf;
}
html[data-bs-theme="dark"] .badge-cyan {
    background-color: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    border-color: #22d3ee;
}
html[data-bs-theme="dark"] .badge-purple {
    background-color: rgba(192, 132, 252, 0.15);
    color: #c084fc;
    border-color: #c084fc;
}
html[data-bs-theme="dark"] .badge-orange {
    background-color: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border-color: #fb923c;
}
html[data-bs-theme="dark"] .badge-green {
    background-color: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border-color: #4ade80;
}
html[data-bs-theme="dark"] .badge-yellow {
    background-color: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border-color: #fbbf24;
}
html[data-bs-theme="dark"] .badge-red {
    background-color: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border-color: #f87171;
}

/* Border Color Classes */
.border-blue {
    border-color: #3b82f6 !important;
}
.border-indigo {
    border-color: #6366f1 !important;
}
.border-teal {
    border-color: #14b8a6 !important;
}
.border-cyan {
    border-color: #06b6d4 !important;
}
.border-purple {
    border-color: #a855f7 !important;
}
.border-orange {
    border-color: #f97316 !important;
}
.border-green {
    border-color: #22c55e !important;
}
.border-yellow {
    border-color: #eab308 !important;
}
.border-red {
    border-color: #ef4444 !important;
}

/* Dark mode border adjustments */
html[data-bs-theme="dark"] .border-blue {
    border-color: #60a5fa !important;
}
html[data-bs-theme="dark"] .border-indigo {
    border-color: #818cf8 !important;
}
html[data-bs-theme="dark"] .border-teal {
    border-color: #2dd4bf !important;
}
html[data-bs-theme="dark"] .border-cyan {
    border-color: #22d3ee !important;
}
html[data-bs-theme="dark"] .border-purple {
    border-color: #c084fc !important;
}
html[data-bs-theme="dark"] .border-orange {
    border-color: #fb923c !important;
}
html[data-bs-theme="dark"] .border-green {
    border-color: #4ade80 !important;
}
html[data-bs-theme="dark"] .border-yellow {
    border-color: #fbbf24 !important;
}
html[data-bs-theme="dark"] .border-red {
    border-color: #f87171 !important;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
