/**
 * SIM-KK OCR Dukcapil - Custom Stylesheet
 * Responsive, Modern, Clean Government System UI
 */

:root {
    --primary-color: #1e3a8a;
    --primary-hover: #1e40af;
    --secondary-color: #0d9488;
    --accent-color: #3b82f6;
    --bg-light: #f8fafc;
    --card-border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

/* Navbar Custom */
.navbar-custom {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.12);
}

/* Card Modern */
.card-custom {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-custom:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

/* Stat Cards */
.stat-card {
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.75rem;
    opacity: 0.15;
}

/* Drag & Drop Upload Zone */
.upload-dropzone {
    border: 2px dashed #94a3b8;
    border-radius: 14px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.25s ease;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
    transform: scale(1.005);
}

.upload-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

/* Review & Verification Table */
.table-review th {
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.825rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.table-review td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.badge-nik {
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Form Katalog Grid */
.form-card {
    transition: all 0.2s ease-in-out;
    border-left: 4px solid var(--accent-color);
}

.form-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: var(--text-muted);
}
