:root {
    --primary: #eb7613;
    --primary-dark: #c09e5e;
    --primary-light: #f5a745;
    --secondary: #013d21;
    --secondary-light: #1a5a37;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --neutral-50: #fafbfc;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --radius: 12px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--neutral-50);
    color: var(--neutral-900);
    line-height: 1.6;
    height: 100%;
    display: flex;
    flex-direction: column;

}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* HEADER */
header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--primary) 100%);
    color: white;
    padding: 18px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-image {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 26px;
}
.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.logo-text .app-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.logo-text .app-subtitle {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}
.header-right {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* BUTTONS */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease,
        height 0.6s ease;
}
.btn:hover::before {
    width: 300px;
    height: 300px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(235, 118, 19, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 118, 19, 0.4);
}
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(1, 61, 33, 0.3);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 61, 33, 0.4);
}
.btn-danger {
    background-color: var(--danger);
    color: white;
}
.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}
.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}
.btn-cancel {
    padding: 10px 20px;
    border: 1.5px solid var(--neutral-300);
    background: white;
    color: var(--neutral-600);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-cancel:hover {
    border-color: var(--neutral-400);
    background: var(--neutral-50);
}
.btn-detail {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(235, 118, 19, 0.3);
}

/* NAV */
nav {
    background-color: white;
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
nav ul {
    list-style: none;
    display: flex;
}
nav button {
    background: none;
    border: none;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-600);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    position: relative;
}
nav button:hover {
    color: var(--primary);
    background-color: var(--neutral-50);
}
nav button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* MAIN */
main {
    flex: 1;
    padding: 32px 0;
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

/* HERO */
.hero-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 60%, var(--primary) 100%);
    border-radius: var(--radius);
    padding: 48px 40px;
    margin-bottom: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}
.hero-banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}
.hero-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-banner h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    animation: slideUp 0.6s ease-out 0.1s backwards;
}
.hero-banner p {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 500;
    max-width: 600px;
    animation: slideUp 0.6s ease-out 0.2s backwards;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    animation: slideUp 0.6s ease-out 0.3s backwards;
}
.hero-stat {
    text-align: center;
}
.hero-stat-number {
    font-size: 28px;
    font-weight: 700;
    display: block;
}
.hero-stat-label {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TABS */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    background: var(--neutral-100);
    border-radius: 12px;
    padding: 4px;
}
.tab-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--neutral-600);
    background: none;
    transition: all 0.2s ease;
}
.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* FILTER */
.filter-bar {
    background: white;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-100);
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}
.filter-bar label {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-700);
    white-space: nowrap;
}
.filter-select {
    padding: 9px 14px;
    border: 1.5px solid var(--neutral-300);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-700);
    background: var(--neutral-50);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}
.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(235, 118, 19, 0.15);
}
.search-input {
    flex: 1;
    min-width: 200px;
    padding: 9px 14px;
    border: 1.5px solid var(--neutral-300);
    border-radius: 10px;
    font-size: 13px;
    background: var(--neutral-50);
    transition: all 0.3s ease;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(235, 118, 19, 0.15);
    background: white;
}

/* CARDS */
.lowongan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.lowongan-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-100);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
}
.lowongan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 1;
}
.lowongan-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    transform: translateY(-6px);
}
.card-image-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, rgba(235, 118, 19, 0.1) 0%, rgba(1, 61, 33, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}
.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.card-body {
    padding: 22px;
}
.card-unit {
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-unit::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
}
.card-jabatan {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.card-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--neutral-600);
    font-weight: 500;
}
.meta-icon {
    font-size: 13px;
    width: 18px;
    text-align: center;
}
.card-desc {
    font-size: 13px;
    color: var(--neutral-500);
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-desc ol,
.card-desc ul {
    padding-left: 20px;
    margin: 8px 0;
}
.card-desc ol {
    list-style-type: decimal;
}
.card-desc ul {
    list-style-type: disc;
}
.card-desc li {
    margin-bottom: 4px;
    line-height: 1.6;
}
.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--neutral-100);
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.badge-open {
    background-color: #d1fae5;
    color: #065f46;
}
.badge-closed {
    background-color: #fee2e2;
    color: #991b1b;
}
.badge-kontrak {
    background-color: #dbeafe;
    color: #1e40af;
}
.badge-tetap {
    background-color: #fef3c7;
    color: #92400e;
}
.badge-magang {
    background-color: #f3e8ff;
    color: #6b21a8;
}
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-open {
    background-color: var(--success);
}
.dot-closed {
    background-color: var(--danger);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(4px);
}
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-header {
    align-items: center;
    margin: 10px 20px;
}
.modal-content {
    background-color: white;
    border-radius: var(--radius);
    padding: 0;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.modal-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.modal-img-placeholder {
    width: 100%;
    height: 210px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 60%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}
.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: white;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}
.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}
.modal-body {
    padding: 28px;
}
.modal-unit {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}
.modal-jabatan {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.modal-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}
.modal-meta-item {
    background: var(--neutral-50);
    border-radius: 10px;
    padding: 13px;
    border: 1px solid var(--neutral-100);
}
.modal-meta-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.modal-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-800);
}
.modal-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--neutral-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--neutral-200);
}
.modal-description {
    font-size: 14px;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 24px;
}
.modal-actions {
    display: flex;
    gap: 12px;
}
.modal-actions .btn {
    flex: 1;
    padding: 13px;
}
.modal-footer {
    display: flex;
    gap: 7px;
    margin: 15px;
}

/* DESKRIPSI */
#m-desc ol,
#m-desc ul {
    padding-left: 20px;
    margin: 8px 0;
}
#m-desc ol {
    list-style-type: decimal;
}
#m-desc ul {
    list-style-type: disc;
}
#m-desc li {
    margin-bottom: 4px;
    line-height: 1.6;
}

/* TABLE */
.table-section {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-100);
    animation: fadeInUp 0.6s ease-out;
}
.table-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.table-section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-900);
    letter-spacing: -0.3px;
}
.table-responsive {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
th {
    padding: 13px 15px;
    text-align: left;
    font-weight: 700;
    color: var(--neutral-800);
    border-bottom: 2px solid var(--primary);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 11px;
    background: linear-gradient(135deg, rgba(235, 118, 19, 0.04) 0%, rgba(1, 61, 33, 0.04) 100%);
}
td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--neutral-100);
    font-weight: 500;
}
tbody tr {
    transition: all 0.2s ease;
}
tbody tr:hover {
    background-color: rgba(235, 118, 19, 0.03);
}
.table-actions {
    display: flex;
    gap: 6px;
}

/* FORM */
.form-section {
    background: white;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-100);
    animation: fadeInUp 0.6s ease-out;
}
.form-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 28px;
    letter-spacing: -0.3px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--neutral-800);
    font-size: 13px;
    letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--neutral-300);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: var(--neutral-50);
    font-family: inherit;
    color: var(--neutral-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(235, 118, 19, 0.15);
    transform: translateY(-1px);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-weight: 500;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
}
.form-actions .btn {
    min-width: 130px;
    padding: 12px 24px;
}

/* ALERT */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: slideUp 0.4s;
}
.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--neutral-500);
    animation: fadeIn 0.4s ease-out;
}
.empty-state .empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
}
.empty-state h3 {
    font-size: 20px;
    color: var(--neutral-700);
    margin-bottom: 8px;
    font-weight: 700;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background-color: white;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}
.page-link:hover {
    background-color: #fff3e6;
    border-color: var(--primary);
    transform: translateY(-2px);
}
.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(235, 118, 19, 0.3);
}

/* CONFIRM MODAL */
.confirm-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.confirm-modal.show {
    display: flex;
}
.confirm-content {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.confirm-icon {
    font-size: 52px;
    margin-bottom: 16px;
}
.confirm-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--neutral-900);
}
.confirm-content p {
    font-size: 14px;
    color: var(--neutral-600);
    margin-bottom: 28px;
}
.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.confirm-actions button {
    flex: 1;
    max-width: 140px;
    padding: 11px 20px;
}

/* ===== APPLY MODAL ===== */
#apply-modal .modal-content {
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
}

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

.apply-form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--neutral-800);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.apply-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-300);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: var(--neutral-50);
    transition: all 0.3s ease;
    color: var(--neutral-900);
}

.apply-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(235, 118, 19, 0.15);
    transform: translateY(-1px);
}

/* CV Upload Area */
.cv-upload-area {
    border: 2px dashed var(--neutral-300);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--neutral-50);
}

.cv-upload-area:hover {
    border-color: var(--primary);
    background: rgba(235, 118, 19, 0.04);
}

.cv-upload-area.has-file {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.04);
}

.cv-upload-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.cv-upload-text {
    font-size: 14px;
    color: var(--neutral-500);
    margin: 0;
    font-weight: 500;
}

.cv-upload-hint {
    font-size: 12px;
    color: var(--neutral-400);
    margin-top: 6px;
}

/* CV Preview */
.cv-preview {
    display: none;
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--neutral-50);
    border-radius: 10px;
    border: 1px solid var(--neutral-200);
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.3s ease-out;
}

.cv-preview.show {
    display: flex;
}

.cv-preview-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cv-preview-info {
    flex: 1;
    min-width: 0;
}

.cv-preview-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--neutral-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-preview-size {
    font-size: 12px;
    color: var(--neutral-500);
    margin-top: 2px;
}

.cv-remove-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.cv-remove-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ===== CHAT ===== */
.chat-success-banner {
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
    margin-bottom: 16px;
    font-size: 13px;
    color: #166534;
    font-weight: 500;
    animation: fadeInUp 0.4s ease-out;
}

.chat-box {
    height: 320px;
    overflow-y: auto;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    padding: 16px;
    background: var(--neutral-50);
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

/* Scrollbar chat */
.chat-box::-webkit-scrollbar {
    width: 4px;
}

.chat-box::-webkit-scrollbar-track {
    background: transparent;
}

.chat-box::-webkit-scrollbar-thumb {
    background: var(--neutral-300);
    border-radius: 2px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.3s ease-out;
}

.chat-message.self {
    align-items: flex-end;
}

.chat-message.other {
    align-items: flex-start;
}

.chat-bubble {
    max-width: 75%;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    word-break: break-word;
}

.chat-message.self .chat-bubble {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 14px 14px 4px 14px;
}

.chat-message.other .chat-bubble {
    background: white;
    color: var(--neutral-900);
    border-radius: 14px 14px 14px 4px;
    border: 1px solid var(--neutral-200);
}

.chat-meta {
    font-size: 11px;
    color: var(--neutral-400);
    margin-top: 4px;
}

/* Chat empty state */
.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    font-size: 13px;
    gap: 8px;
}

.chat-empty-icon {
    font-size: 32px;
}

/* Chat Input */
.chat-input-area {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-300);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--neutral-50);
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(235, 118, 19, 0.15);
}

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-dot.active {
    background: var(--primary);
    color: white;
}

.step-dot.done {
    background: var(--success);
    color: white;
}

.step-dot.inactive {
    background: var(--neutral-200);
    color: var(--neutral-500);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--neutral-200);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.step-line.done {
    background: var(--success);
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================================
           FOOTER
        ============================================================ */
footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 18px;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 28px 20px;
    }
    .hero-banner h1 {
        font-size: 22px;
    }
    .hero-stats {
        gap: 20px;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .lowongan-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 95%;
    }
    .modal-meta-grid {
        grid-template-columns: 1fr;
    }
    .form-section {
        padding: 20px;
    }
    .table-section {
        padding: 16px;
    }
    .table-section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    .tabs .tab-btn {
        font-size: 11px;
        padding: 8px 10px;
    }
    #apply-modal .modal-content {
        width: 95%;
        padding: 24px;
        max-height: 95vh;
    }

    .chat-box {
        height: 240px;
    }

    .chat-bubble {
        max-width: 85%;
    }
}

@media (max-width: 480px){
    .btn-small {
        width: 90px;
    }

    .filter-bar select{
        width: 300px;
    }
}
