/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F37526;
    --primary-dark: #D65A10;
    --primary-darker: #B84A0A;
    --primary-light: #FDE8DC;
    --secondary: #00028C;
    --secondary-light: #1a1ca6;
    --secondary-lighter: #3335c0;
    --accent: #F37526;
    --background: #DDE4EB;
    --background-light: #EEF2F6;
    --background-white: #FFFFFF;
    --text-dark: #00028C;
    --text-medium: #1a1ca6;
    --text-light: #4a4cbf;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #DDE4EB;
    color: #00028C;
    line-height: 1.6;
}

/* Header */
.header {
    background: linear-gradient(135deg, #00028C 0%, #1a1ca6 100%);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 2, 140, 0.3);
}

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

.logo {
    height: 50px;
    width: auto;
}

.header-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.header-title p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    font-size: 0.9rem;
}

.role-badge {
    background: rgba(255,255,255,0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Navigation */
.nav-tabs {
    background: white;
    padding: 0 30px;
    display: flex;
    gap: 5px;
    border-bottom: 1px solid #DDE4EB;
}

.nav-tab {
    padding: 15px 25px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #00028C;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tab:hover {
    color: #F37526;
    background: #EEF2F6;
}

.nav-tab.active {
    color: #F37526;
    border-bottom-color: #F37526;
}

/* Main Navigation (for separate pages) */
.main-nav {
    background: white;
    padding: 15px 30px;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #DDE4EB;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 12px 25px;
    border: 2px solid #00028C;
    background: white;
    color: #00028C;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #EEF2F6;
}

.nav-btn.active {
    background: linear-gradient(135deg, #F37526 0%, #D65A10 100%);
    color: white;
    border-color: #F37526;
}

.nav-btn.active:hover {
    background: linear-gradient(135deg, #D65A10 0%, #B84A0A 100%);
}

/* Back Button Section */
.back-section {
    margin-bottom: 20px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #EEF2F6;
    color: #00028C;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #DDE4EB;
    color: #F37526;
}

/* Graph Controls */
.graph-controls {
    display: flex;
    gap: 10px;
}

.btn-control {
    padding: 8px 12px;
    border: 1px solid #DDE4EB;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    color: #00028C;
    transition: all 0.3s;
}

.btn-control:hover {
    background: #F37526;
    color: white;
    border-color: #F37526;
}

/* Navigation Buttons at bottom */
.nav-buttons {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #DDE4EB;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.btn-secondary {
    background: #78716C;
    color: white;
}

.btn-secondary:hover {
    background: #57534E;
}

/* Main Content */
.main-content {
    padding: 25px 30px;
    min-height: calc(100vh - 180px);
}

.view {
    display: none;
}

.view.active {
    display: block;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-header h2 {
    font-size: 1.4rem;
    color: #00028C;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-select, .search-input {
    padding: 10px 15px;
    border: 1px solid #DDE4EB;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
}

.filter-select:focus, .search-input:focus {
    outline: none;
    border-color: #F37526;
    box-shadow: 0 0 0 3px rgba(243, 117, 38, 0.1);
}

.search-input {
    min-width: 200px;
}

/* Data Table */
.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 2, 140, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: linear-gradient(135deg, #EEF2F6 0%, #DDE4EB 100%);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #00028C;
    border-bottom: 2px solid #DDE4EB;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #EEF2F6;
}

.data-table tr:hover {
    background: #EEF2F6;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: #DCFCE7;
    color: #16A34A;
}

.badge-warning {
    background: #FEF3C7;
    color: #D97706;
}

.badge-danger {
    background: #FEE2E2;
    color: #DC2626;
}

.badge-info {
    background: #FDE8DC;
    color: #F37526;
}

.badge-secondary {
    background: #F5F5F4;
    color: #78716C;
}

/* Action Buttons */
.btn-action {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-view {
    background: #EEF2F6;
    color: #00028C;
}

.btn-view:hover {
    background: linear-gradient(135deg, #F37526 0%, #D65A10 100%);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-page {
    padding: 10px 15px;
    border: 1px solid #DDE4EB;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-page:hover {
    background: #F37526;
    color: white;
    border-color: #F37526;
}

.page-info {
    color: #00028C;
}

/* ==================== SIASATAN VIEW ==================== */

/* Applicant Info Card */
.siasatan-header {
    margin-bottom: 25px;
}

.applicant-info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 25px;
    box-shadow: 0 2px 10px rgba(0, 2, 140, 0.1);
    flex-wrap: wrap;
    border-left: 4px solid #F37526;
}

.applicant-photo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #EEF2F6 0%, #DDE4EB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.applicant-photo i {
    font-size: 3rem;
    color: #F37526;
}

.applicant-details {
    flex: 1;
    min-width: 250px;
}

.applicant-details h3 {
    font-size: 1.3rem;
    color: #00028C;
    margin-bottom: 10px;
}

.applicant-details p {
    margin-bottom: 5px;
    color: #1a1ca6;
}

.application-meta {
    background: linear-gradient(135deg, #EEF2F6 0%, #DDE4EB 100%);
    padding: 15px 20px;
    border-radius: 8px;
    min-width: 200px;
}

.application-meta p {
    margin-bottom: 5px;
}

/* Graph Section */
.graph-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 2, 140, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h3 {
    font-size: 1.1rem;
    color: #00028C;
    display: flex;
    align-items: center;
    gap: 10px;
}

.graph-legend {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 0;
    align-items: center;
}

.combo-legend {
    padding-top: 0;
    border-top: none;
}

.legend-title {
    font-weight: 600;
    color: #00028C;
    font-size: 0.8rem;
    margin-right: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #1a1ca6;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
}

.legend-icon i {
    font-size: 10px;
}

.legend-box {
    width: 16px;
    height: 12px;
    border-radius: 3px;
    border: 2px solid;
}

.legend-line {
    width: 30px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}

.legend-hint {
    font-size: 0.75rem;
    color: #A3A3A3;
    font-style: italic;
}

.control-divider {
    width: 1px;
    height: 20px;
    background: #DDE4EB;
    margin: 0 5px;
}

#graph-container {
    width: 100%;
    height: 650px;
    border: 1px solid #DDE4EB;
    border-radius: 8px;
    background: linear-gradient(135deg, #EEF2F6 0%, #FFFFFF 100%);
}

/* Integration Cards */
.integration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.int-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 2, 140, 0.1);
}

.int-card-header {
    background: linear-gradient(135deg, #00028C 0%, #1a1ca6 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.int-card-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.int-card-body {
    padding: 20px;
}

.int-card-body p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.mini-table {
    width: 100%;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.mini-table tr:not(:last-child) {
    border-bottom: 1px solid #EEF2F6;
}

.mini-table td {
    padding: 8px 5px;
}

.mini-table td:last-child {
    text-align: right;
}

.summary {
    background: linear-gradient(135deg, #EEF2F6 0%, #DDE4EB 100%);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-top: 10px;
}

.text-success {
    color: #16A34A;
}

.text-warning {
    color: #D97706;
}

.text-danger {
    color: #DC2626;
}

/* Decision Section */
.decision-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 2, 140, 0.1);
}

.scoring-panel h4 {
    margin-bottom: 20px;
    color: #00028C;
}

.score-items {
    margin-bottom: 30px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.score-item .score-label {
    width: 200px;
    font-size: 0.9rem;
    color: #1a1ca6;
}

.score-bar {
    flex: 1;
    height: 10px;
    background: #DDE4EB;
    border-radius: 5px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.score-item .score-value {
    width: 60px;
    text-align: right;
    font-weight: 600;
    color: #00028C;
}

.total-score {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #EEF2F6 0%, #DDE4EB 100%);
    border-radius: 12px;
    flex-wrap: wrap;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-circle.approved {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    color: white;
}

.score-circle.rejected {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
}

.score-circle .score-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.score-circle .score-label {
    font-size: 0.7rem;
    text-align: center;
    opacity: 0.9;
}

.recommendation {
    flex: 1;
    min-width: 250px;
}

.recommendation h4 {
    margin-bottom: 10px;
    color: #00028C;
}

.recommendation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.recommendation-badge.approved {
    background: #DCFCE7;
    color: #16A34A;
}

.recommendation-badge.rejected {
    background: #FEE2E2;
    color: #DC2626;
}

.recommendation-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #1a1ca6;
    line-height: 1.6;
}

/* Calculation Breakdown */
.calculation-breakdown {
    background: #EEF2F6;
    border: 1px solid #DDE4EB;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.calculation-breakdown h4 {
    color: #00028C;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.calculation-table th,
.calculation-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #DDE4EB;
}

.calculation-table th {
    background: #DDE4EB;
    color: #00028C;
    font-weight: 600;
}

.calculation-table th:first-child,
.calculation-table td:first-child {
    text-align: left;
}

.calculation-table tbody tr:hover {
    background: #DDE4EB;
}

.calculation-table tfoot .total-row {
    background: linear-gradient(135deg, #F37526 0%, #D65A10 100%);
    color: white;
    font-weight: 700;
}

.calculation-table tfoot .total-row td {
    border-bottom: none;
    padding: 15px;
}

.calculation-legend {
    font-size: 0.85rem;
    color: #1a1ca6;
    padding-top: 10px;
    border-top: 1px dashed #DDE4EB;
}

.calculation-legend p {
    margin-bottom: 8px;
}

.calculation-legend .badge {
    font-size: 0.75rem;
    padding: 3px 8px;
}

/* Skills & CSR Section */
.skills-csr-section,
.empowerment-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 2, 140, 0.1);
}

.skills-csr-content,
.empowerment-content,
.empowerment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skills-card,
.csr-card,
.program-suggestions,
.action-plan,
.barriers-card,
.support-card {
    background: #EEF2F6;
    border: 1px solid #DDE4EB;
    border-radius: 10px;
    padding: 20px;
}

.card-header-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #DDE4EB;
}

.card-header-mini i {
    color: #F37526;
    font-size: 1.1rem;
}

.card-header-mini h4 {
    margin: 0;
    color: #00028C;
    font-size: 1rem;
}

.card-header-mini.warning i {
    color: #DC2626;
}

.card-header-mini.success i {
    color: #16A34A;
}

/* Skills List */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-item {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #F37526;
}

.skill-name {
    font-weight: 600;
    color: #00028C;
    margin-bottom: 5px;
}

.skill-level {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.skill-level.expert {
    background: #DCFCE7;
    color: #16A34A;
}

.skill-level.proficient {
    background: #DBEAFE;
    color: #2563EB;
}

.skill-level.basic {
    background: #F3F4F6;
    color: #6B7280;
}

.skill-cert {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #00028C;
}

.skill-cert i {
    color: #F37526;
    margin-right: 5px;
}

/* CSR List */
.csr-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.csr-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #8B5CF6;
}

.csr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.csr-program {
    font-weight: 600;
    color: #00028C;
}

.csr-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.csr-status.completed {
    background: #DCFCE7;
    color: #16A34A;
}

.csr-status.ongoing {
    background: #DBEAFE;
    color: #2563EB;
}

.csr-details {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #1a1ca6;
    margin-bottom: 8px;
}

.csr-details i {
    color: #F37526;
    margin-right: 5px;
}

.csr-notes {
    font-size: 0.85rem;
    color: #00028C;
    background: #DDE4EB;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

.csr-notes i {
    color: #F37526;
    margin-right: 5px;
}

/* Empowerment Overview */
.empowerment-overview {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #EEF2F6 0%, #DDE4EB 100%);
    border-radius: 12px;
    margin-top: 15px;
}

.potential-score {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.potential-score.high {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    color: white;
}

.potential-score.medium {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: white;
}

.potential-score.low {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
}

.potential-score .score-value {
    font-size: 2rem;
    font-weight: 700;
}

.potential-score .score-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.potential-info {
    flex: 1;
}

.potential-category,
.exit-target {
    margin-bottom: 10px;
}

.potential-info .label {
    color: #1a1ca6;
    font-weight: 500;
    margin-right: 10px;
}

.exit-target .value {
    font-weight: 700;
    color: #F37526;
}

/* Program List */
.program-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.program-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #10B981;
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.program-name {
    font-weight: 600;
    color: #00028C;
}

.program-match {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.program-match.high {
    background: #DCFCE7;
    color: #16A34A;
}

.program-match.medium {
    background: #FEF3C7;
    color: #D97706;
}

.program-match.low {
    background: #FEE2E2;
    color: #DC2626;
}

.program-reason {
    font-size: 0.85rem;
    color: #1a1ca6;
    margin-bottom: 10px;
}

.program-details {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: #00028C;
}

.program-details i {
    color: #F37526;
    margin-right: 5px;
}

/* Action List */
.action-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
}

.action-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F37526;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-step {
    font-weight: 500;
    color: #00028C;
    margin-bottom: 6px;
}

.action-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
}

.action-duration {
    color: #1a1ca6;
}

.action-duration i {
    color: #F37526;
    margin-right: 5px;
}

.action-status {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.action-status.ongoing {
    background: #DBEAFE;
    color: #2563EB;
}

.action-status.inprogress {
    background: #FEF3C7;
    color: #D97706;
}

.action-status.suggested {
    background: #F3F4F6;
    color: #6B7280;
}

.action-status i {
    margin-right: 5px;
}

/* Barrier & Support Lists */
.barrier-list,
.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.barrier-list li,
.support-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #DDE4EB;
    color: #1a1ca6;
}

.barrier-list li:last-child,
.support-list li:last-child {
    border-bottom: none;
}

.barrier-list li i {
    color: #DC2626;
    margin-right: 10px;
}

.support-list li i {
    color: #16A34A;
    margin-right: 10px;
}

/* Decision Actions */
.decision-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #DDE4EB;
}

.decision-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #00028C;
}

.decision-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-approve {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    color: white;
}

.btn-approve:hover {
    background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
}

.btn-reject {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
}

.btn-reject:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #DC2626 100%);
}

.btn-pending {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: white;
}

.btn-pending:hover {
    background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
}

.notes-section {
    margin-bottom: 20px;
}

.notes-section textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #DDE4EB;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
}

.notes-section textarea:focus {
    outline: none;
    border-color: #F37526;
    box-shadow: 0 0 0 3px rgba(243, 117, 38, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #F37526 0%, #D65A10 100%);
    color: white;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #D65A10 0%, #B84A0A 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #00028C 0%, #1a1ca6 100%);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
}

/* Responsive */
/* ==================== SARINGAN PAGE (Wizard Style) ==================== */

/* Saringan Page Layout */
.saringan-page {
    background: #EEF2F6;
}

.saringan-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: calc(100vh - 140px);
}

/* Step Container */
.step-container {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h1 {
    color: #00028C;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.step-header p {
    color: #1a1ca6;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DDE4EB;
    color: #78716C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.step.active .step-number,
.step.completed .step-number {
    background: linear-gradient(135deg, #00028C 0%, #1a1ca6 100%);
    color: white;
}

.step.completed .step-number {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
}

.step-label {
    font-size: 0.75rem;
    color: #78716C;
    font-weight: 500;
    white-space: nowrap;
}

.step.active .step-label,
.step.completed .step-label {
    color: #00028C;
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 3px;
    background: #DDE4EB;
    margin: 0 10px;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.step-line.completed {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
}

/* Wizard Container */
.wizard-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 2, 140, 0.1);
    overflow: hidden;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step.active {
    display: block;
}

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

.wizard-card {
    padding: 40px;
}

.wizard-title {
    color: #00028C;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.wizard-subtitle {
    color: #1a1ca6;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Question Groups */
.question-group {
    margin-bottom: 28px;
}

.question-label {
    display: block;
    font-weight: 600;
    color: #00028C;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.question-label .required {
    color: #DC2626;
}

/* Form Inputs */
.form-select,
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #DDE4EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    color: #00028C;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #00028C;
    box-shadow: 0 0 0 4px rgba(0, 2, 140, 0.1);
}

.form-input.short {
    width: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: #1a1ca6;
    margin-top: 8px;
    display: block;
}

/* Input with Prefix */
.input-with-prefix {
    display: flex;
    align-items: stretch;
}

.input-prefix {
    background: #EEF2F6;
    border: 2px solid #DDE4EB;
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 14px 16px;
    font-weight: 600;
    color: #00028C;
}

.input-with-prefix .form-input {
    border-radius: 0 10px 10px 0;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #DDE4EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.radio-option:hover {
    border-color: #00028C;
    background: #EEF2F6;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-box {
    width: 20px;
    height: 20px;
    border: 2px solid #DDE4EB;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.radio-option input[type="radio"]:checked + .radio-box {
    border-color: #00028C;
    background: #00028C;
}

.radio-option input[type="radio"]:checked + .radio-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-option input[type="radio"]:checked ~ .radio-text {
    color: #00028C;
    font-weight: 600;
}

.radio-text {
    color: #1a1ca6;
    font-size: 0.95rem;
}

/* Checkbox Buttons */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid #DDE4EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.checkbox-option:hover {
    border-color: #00028C;
    background: #EEF2F6;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 22px;
    height: 22px;
    border: 2px solid #DDE4EB;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-box {
    border-color: #00028C;
    background: #00028C;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-box::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-text {
    color: #00028C;
    font-weight: 600;
}

.checkbox-text {
    color: #1a1ca6;
    font-size: 0.95rem;
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    padding: 25px 40px;
    background: #EEF2F6;
    border-top: 1px solid #DDE4EB;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #00028C 0%, #1a1ca6 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a1ca6 0%, #3335c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 2, 140, 0.3);
}

.btn-outline {
    background: white;
    color: #00028C;
    border: 2px solid #00028C;
}

.btn-outline:hover {
    background: #EEF2F6;
}

.btn-secondary {
    background: #78716C;
    color: white;
}

.btn-secondary:hover {
    background: #57534E;
}

/* Quick Links */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #00028C;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 2, 140, 0.08);
}

.quick-link:hover {
    background: #00028C;
    color: white;
    transform: translateY(-2px);
}

.quick-link i {
    font-size: 1rem;
}

/* Results Section */
.hasil-card {
    text-align: center;
}

.hasil-card .hasil-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 30px;
}

.hasil-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00028C 0%, #1a1ca6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.hasil-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Profil Ringkasan */
.profil-ringkasan {
    background: #EEF2F6;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.profil-ringkasan h3 {
    color: #00028C;
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
}

.profil-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.profil-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 2, 140, 0.05);
}

.profil-item i {
    font-size: 1.5rem;
    color: #F37526;
    margin-bottom: 8px;
    display: block;
}

.profil-label {
    display: block;
    font-size: 0.75rem;
    color: #78716C;
    margin-bottom: 5px;
}

.profil-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #00028C;
}

/* Bantuan Lists */
.bantuan-layak-section,
.bantuan-tidak-layak-section {
    text-align: left;
    margin-bottom: 25px;
}

.bantuan-layak-section h3,
.bantuan-tidak-layak-section h3 {
    color: #00028C;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bantuan-layak-section h3 i {
    color: #16A34A;
}

.bantuan-tidak-layak-section h3 i {
    color: #DC2626;
}

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

.bantuan-list.collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bantuan-list.expanded {
    max-height: 1000px;
}

.bantuan-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 2, 140, 0.05);
    transition: all 0.3s;
}

.bantuan-item:hover {
    transform: translateX(5px);
}

.bantuan-item.layak {
    border-left-color: #16A34A;
}

.bantuan-item.tidak-layak {
    border-left-color: #DC2626;
    opacity: 0.7;
}

.bantuan-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bantuan-item-content {
    flex: 1;
}

.bantuan-item-nama {
    font-weight: 600;
    color: #00028C;
    margin-bottom: 4px;
}

.bantuan-item-jumlah {
    font-size: 0.85rem;
    color: #F37526;
    font-weight: 600;
}

.bantuan-item-btn {
    padding: 10px 18px;
    background: linear-gradient(135deg, #F37526 0%, #D65A10 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.bantuan-item-btn:hover {
    background: linear-gradient(135deg, #D65A10 0%, #B84A0A 100%);
}

.btn-toggle-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: none;
    border: 2px dashed #DDE4EB;
    border-radius: 10px;
    color: #78716C;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-toggle-list:hover {
    border-color: #00028C;
    color: #00028C;
}

.btn-toggle-list.expanded i {
    transform: rotate(180deg);
}

/* Responsive Saringan */
@media (max-width: 768px) {
    .step-indicator {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-line {
        display: none;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .wizard-card {
        padding: 25px;
    }

    .wizard-nav {
        flex-direction: column;
        gap: 15px;
        padding: 20px 25px;
    }

    .wizard-nav .btn {
        width: 100%;
        justify-content: center;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-option {
        width: 100%;
    }

    .profil-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-links {
        flex-direction: column;
        align-items: center;
    }

    .quick-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .header, .main-nav, .footer, .form-actions, .hasil-actions, .kelayakan-card-footer, .cadangan-buttons {
        display: none !important;
    }

    .hasil-saringan {
        box-shadow: none;
        padding: 0;
    }

    .kelayakan-card:hover {
        transform: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-section {
        flex-direction: column;
    }

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th, .data-table td {
        padding: 10px;
    }

    .applicant-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .total-score {
        flex-direction: column;
        text-align: center;
    }

    .score-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .score-item .score-label {
        width: 100%;
    }

    .score-bar {
        width: 100%;
    }

    .main-nav {
        justify-content: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .hasil-actions {
        flex-direction: column;
    }

    .cadangan-buttons {
        flex-direction: column;
    }

    .btn-cadangan {
        width: 100%;
        justify-content: center;
    }
}
