@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette matching LLDIKTI4 Logo */
    --brand-blue: #0F52BA;        /* Sapphire/Royal Blue */
    --brand-blue-hover: #0D47A1;
    --brand-gold: #F59E0B;        /* Amber/Gold */
    --brand-gold-hover: #D97706;
    --brand-red: #EF4444;         /* Crimson Red */
    --brand-red-hover: #DC2626;

    /* Base Theme Variables - Light Aurora Theme */
    --bg-primary: #F8FAFC;        /* Slate 50 */
    --card-bg: rgba(255, 255, 255, 0.70); /* Highly translucent frosted glass */
    --border-color: rgba(226, 232, 240, 0.8); /* Slate 200 */
    --input-border: rgba(148, 163, 184, 0.35); /* Slate 400 soft */
    
    /* Text Contrast conforming to WCAG AA */
    --text-main: #0F172A;         /* Slate 900 */
    --text-muted: #475569;        /* Slate 600 */
    
    --accent-color: #0284C7;      /* Light Blue/Sky Blue */
    --accent-hover: #0369A1;
    --error-color: #EF4444;
    --success-color: #10B981;     /* Emerald/Green */
    --blur-amount: 24px;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(15, 82, 186, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(234, 179, 8, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(239, 68, 68, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(15, 82, 186, 0.04) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

/* Dashboard Page Body Override */
body.dashboard-page {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
}

/* Glassmorphism Containers */
.login-container, .control-panel, .table-container, .kpi-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 
        0 10px 30px -10px rgba(15, 23, 42, 0.06), 
        0 1px 3px rgba(15, 23, 42, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
    margin: 20px 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.logo-container img {
    max-width: 150px;
    height: auto;
}

h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.20s ease;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.12);
}

/* CAPTCHA styling */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.captcha-box {
    background: rgba(15, 82, 186, 0.05);
    border: 1px dashed rgba(15, 82, 186, 0.25);
    border-radius: 6px;
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--brand-blue);
    user-select: none;
    letter-spacing: 1px;
}

.btn-submit {
    width: 100%;
    background: var(--brand-blue);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.2);
}

.btn-submit:hover:not(:disabled) {
    background: var(--brand-blue-hover);
    box-shadow: 0 6px 18px rgba(15, 82, 186, 0.3);
    transform: translateY(-1px);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #C53030;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065F46;
}

/* Spinner */
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #FFFFFF;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
    display: none;
}

/* Dashboard Layout Wrapper */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Modern Left Sidebar */
.sidebar {
    width: 280px;
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-right: 1px solid var(--border-color);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    z-index: 100;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.sidebar-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-brand img {
    height: 40px;
    width: auto;
}

.sidebar-brand span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-logout-mobile {
    display: none;
    color: var(--brand-red);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 8px;
    padding: 8px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-logout-mobile:hover {
    background: var(--brand-red);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.sidebar-menu-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 12px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.sidebar-link:hover {
    color: var(--brand-blue);
    background: rgba(15, 82, 186, 0.04);
}

.sidebar-link.active {
    color: #FFFFFF;
    background: var(--brand-blue);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.15);
}

.sidebar-link .menu-count {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
}

.sidebar-link.active .menu-count {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-user {
    padding: 12px;
    background: rgba(148, 163, 184, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.sidebar-user-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sidebar-user-name {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 700;
    word-break: break-word;
}

.btn-logout-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--brand-red);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.1);
}

.btn-logout-sidebar:hover {
    background: var(--brand-red-hover);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Dashboard Content Layout */
.dashboard-content {
    flex-grow: 1;
    min-width: 0;
    padding: 40px;
}

.welcome-title {
    margin-bottom: 30px;
}

.welcome-title h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.welcome-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* KPI Cards Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.kpi-card {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.08);
}

.kpi-info h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.kpi-info .number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-icon svg {
    width: 26px;
    height: 26px;
}

/* KIP KPI Colors */
.kpi-card.tidak-aktif .number { color: var(--success-color); }
.kpi-card.tidak-aktif .kpi-icon { background: rgba(16, 185, 129, 0.1); color: var(--success-color); }
.kpi-card.meninggal .number { color: var(--brand-red); }
.kpi-card.meninggal .kpi-icon { background: rgba(239, 68, 68, 0.1); color: var(--brand-red); }
.kpi-card.double-funding .number { color: var(--brand-gold-hover); }
.kpi-card.double-funding .kpi-icon { background: rgba(245, 158, 11, 0.1); color: var(--brand-gold-hover); }

/* Filter & Controls Panel */
.control-panel {
    padding: 24px;
    margin-bottom: 30px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group.btn-group {
    flex: 0;
    min-width: 140px;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-filter {
    background: var(--brand-blue);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    box-shadow: 0 2px 6px rgba(15, 82, 186, 0.15);
}

.btn-filter:hover {
    background: var(--brand-blue-hover);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.25);
}

/* Tabs Navigation */
.tab-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.6);
    padding-bottom: 1px;
}

.tab-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: var(--font-heading);
}

.tab-link:hover {
    color: var(--brand-blue);
}

.tab-link.active {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* Responsive Table */
.table-container {
    overflow-x: auto;
    margin-bottom: 40px;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    min-width: 850px;
}

.responsive-table th {
    background: rgba(248, 250, 252, 0.9);
    padding: 18px 24px;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.responsive-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.responsive-table tbody tr {
    transition: background-color 0.15s ease;
}

.responsive-table tbody tr:hover {
    background: rgba(15, 82, 186, 0.015);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-pt {
    background: rgba(15, 82, 186, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(15, 82, 186, 0.15);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: rgba(248, 250, 252, 0.4);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pagination-buttons {
    display: flex;
    gap: 8px;
}

.btn-page {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.btn-page:hover:not(.disabled) {
    background: rgba(15, 82, 186, 0.04);
    border-color: rgba(15, 82, 186, 0.25);
    color: var(--brand-blue);
}

.btn-page.active {
    background: var(--brand-blue);
    color: #FFFFFF;
    border-color: var(--brand-blue);
}

.btn-page.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 52px;
    height: 52px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.4;
}

/* Animation utilities */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Responsive Sidebar Mobile Styling */
@media (max-width: 992px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 20px;
        flex-direction: column;
        gap: 16px;
    }
    .sidebar-brand {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .sidebar-menu {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .sidebar-menu::-webkit-scrollbar {
        display: none;
    }
    .sidebar-menu-title {
        display: none;
    }
    .sidebar-link {
        padding: 8px 14px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .sidebar-footer {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-top: 0;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }
    .sidebar-user {
        padding: 6px 12px;
        flex-grow: 1;
        margin-right: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .sidebar-user-label {
        margin-bottom: 0;
        margin-right: 4px;
    }
    .btn-logout-sidebar {
        width: auto;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .dashboard-content {
        padding: 24px 20px;
    }
}

@media (max-width: 576px) {
    .sidebar {
        padding: 12px 16px;
        gap: 12px;
    }
    .sidebar-user {
        display: none;
    }
    .sidebar-footer {
        border-top: none;
        padding-top: 0;
    }
}

/* ==========================================
   MODAL & CLARIFICATION FORM STYLING
   ========================================== */

/* Badges for status */
.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--brand-gold);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Action button style */
.btn-detail-action {
    background: rgba(15, 82, 186, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(15, 82, 186, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-detail-action:hover {
    background: var(--brand-blue);
    color: #FFFFFF;
    border-color: var(--brand-blue);
}

/* Modal Backdrop */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    opacity: 1;
}

/* Modal Content Card */
.modal-content {
    background: #FFFFFF; /* Solid white background for high contrast */
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 
        0 25px 50px -12px rgba(15, 23, 42, 0.25),
        0 0 1px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Modal Header */
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: left;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--brand-red);
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    background: #F8FAFC; /* Solid Slate 50 background */
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}

.modal-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.modal-tab:hover {
    color: var(--brand-blue);
}

.modal-tab.active {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* Modal Body */
.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Loading state */
.modal-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 12px;
}

.modal-loading-container p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Tab content visibility */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Detail view grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-section-title {
    grid-column: 1 / -1;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-top: 16px;
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(15, 82, 186, 0.1);
}

.detail-section-title:first-of-type {
    margin-top: 0;
}

.detail-item {
    background: #F8FAFC; /* Solid Slate 50 background */
    border: 1px solid #E2E8F0; /* Solid border */
    padding: 10px 14px;
    border-radius: 8px;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    word-break: break-word;
}

/* Form structure */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-section-title {
    grid-column: 1 / -1;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-top: 20px;
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(15, 82, 186, 0.1);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-grid .form-group {
    margin-bottom: 0;
}

.form-grid .form-group.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.btn-save {
    background: var(--brand-blue);
    color: #FFFFFF;
    border: 1px solid var(--brand-blue-hover);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
}

.btn-save:hover {
    background: var(--brand-blue-hover);
}

.btn-cancel {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.btn-cancel:hover {
    background: rgba(226, 232, 240, 0.4);
    color: var(--text-main);
}

