/**
 * Ikiraha UAT Portal — brand palette and component tweaks.
 * Deep blue, warm gold, white, soft gray.
 */

:root {
    --ik-deep-blue: #0b1f3a;
    --ik-deep-blue-mid: #123a5c;
    --ik-gold: #d4a84b;
    --ik-gold-dark: #b8892a;
    --ik-gray-soft: #eef1f5;
    --ik-text-muted: #5c6b7a;
}

.ik-body {
    background-color: #fff;
    color: #1a2330;
}

.ik-navbar {
    background: linear-gradient(90deg, var(--ik-deep-blue) 0%, var(--ik-deep-blue-mid) 100%);
}

.ik-brand {
    letter-spacing: 0.02em;
}

.ik-header .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
}

.ik-header .nav-link:hover {
    color: #fff !important;
}

.ik-btn-gold {
    background: linear-gradient(180deg, var(--ik-gold) 0%, var(--ik-gold-dark) 100%);
    border: none;
    color: #1a1508 !important;
    font-weight: 600;
}

.ik-btn-gold:hover,
.ik-btn-gold:focus {
    filter: brightness(1.05);
    color: #1a1508 !important;
}

.ik-btn-outline {
    border: 2px solid var(--ik-deep-blue);
    color: var(--ik-deep-blue) !important;
    font-weight: 600;
    background: transparent;
}

.ik-btn-outline:hover {
    background: var(--ik-deep-blue);
    color: #fff !important;
}

.ik-hero {
    background: radial-gradient(120% 100% at 100% 0%, var(--ik-deep-blue-mid) 0%, var(--ik-deep-blue) 55%, #071426 100%);
}

.py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5.5rem !important;
        padding-bottom: 5.5rem !important;
    }
}

.ik-hero-kicker {
    color: var(--ik-gold);
    letter-spacing: 0.12em;
}

.ik-hero-lead {
    color: rgba(255, 255, 255, 0.92);
    max-width: 38rem;
}

.ik-gold {
    color: var(--ik-gold) !important;
}

.ik-hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.ik-hero-list li {
    color: rgba(255, 255, 255, 0.92);
}

.ik-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--ik-gold);
    vertical-align: middle;
}

.ik-section-muted {
    background: var(--ik-gray-soft);
}

.ik-heading {
    color: var(--ik-deep-blue);
}

.ik-prose {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ik-text-muted);
}

.ik-card {
    border-radius: 0.75rem;
}

.ik-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: var(--ik-deep-blue);
    color: var(--ik-gold);
    font-weight: 700;
    font-size: 0.95rem;
}

.ik-footer {
    background: var(--ik-deep-blue);
}

.ik-flash-placeholder {
    min-height: 0;
}

.ik-form-card {
    border-radius: 1rem;
    border: 1px solid rgba(11, 31, 58, 0.08);
}

.ik-download-hero {
    background: linear-gradient(120deg, var(--ik-deep-blue) 0%, var(--ik-deep-blue-mid) 55%, #0a2844 100%);
}

.ik-success-banner {
    background: rgba(212, 168, 75, 0.12);
    border: 1px solid rgba(212, 168, 75, 0.35);
}

.ik-dl-alert--danger {
    background: linear-gradient(90deg, #6b1c1c 0%, #8b2635 100%);
}

.ik-dl-alert--warning {
    background: #fff8e6;
    border-bottom: 1px solid rgba(212, 168, 75, 0.35);
}

.ik-dl-btn {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.ik-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--ik-gold);
    color: #1a1508;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
}

/* Admin */
.ik-admin-login-body {
    background: linear-gradient(165deg, var(--ik-gray-soft) 0%, #e2e8f0 45%, #fff 100%);
}

.ik-admin-login-card {
    border-radius: 1rem;
    border: 1px solid rgba(11, 31, 58, 0.08);
}

.ik-admin-app {
    background: var(--ik-gray-soft);
}

.ik-admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--ik-deep-blue) 0%, #071a2e 100%);
}

.ik-admin-sidebar .nav-link.active {
    color: #fff !important;
}

.ik-admin-sidebar .nav-link:not(.active):hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.ik-admin-mobile-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.ik-admin-offcanvas .nav-link.active {
    color: var(--ik-deep-blue);
}

.ik-admin-page {
    max-width: 1200px;
}

.ik-dash .ik-dash-kpi {
    border-radius: 0.75rem;
    border: 1px solid rgba(11, 31, 58, 0.06);
}

.ik-dash-kpi--apk {
    background: linear-gradient(135deg, rgba(18, 58, 92, 0.06) 0%, rgba(212, 168, 75, 0.08) 100%);
}

.ik-chart-wrap {
    position: relative;
    height: 260px;
}

.ik-chart-wrap--doughnut {
    height: 240px;
    max-width: 280px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .ik-chart-wrap {
        height: 280px;
    }
}

/* Admin APK upload */
.ik-apk-dropzone {
    border: 2px dashed rgba(11, 31, 58, 0.22);
    background: var(--ik-gray-soft);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ik-apk-dropzone:hover,
.ik-apk-dropzone:focus-visible,
.ik-apk-dropzone--active {
    border-color: var(--ik-gold);
    background: rgba(212, 168, 75, 0.1);
    box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.25);
    outline: none;
}

.ik-apk-dropzone__icon {
    font-size: 1.75rem;
    line-height: 1;
    filter: grayscale(0.2);
}

.ik-apk-row-active {
    box-shadow: inset 4px 0 0 #198754;
    background-color: rgba(25, 135, 84, 0.04);
}

.ik-apk-table code {
    font-size: 0.8rem;
    word-break: break-all;
}

.ik-feedback-card {
    border-radius: 0.75rem;
    overflow: hidden;
}
