/* ===== Color System ===== */
:root {
    --primary: #1e3a8a;        /* navy utama */
    --primary-soft: #3b82f6;   /* biru lebih terang (hover/secondary) */
    --accent: #f59e0b;         /* kuning accent */
    --dark: #0f172a;           /* background gelap */
    --text-main: #1f2937;
    --text-muted: #64748b;
}

body {
    background-color: #f8f9fa;
    color: #212529;
}

/* ===== SIDEBAR ENTERPRISE UPGRADE ===== */
.sidebar {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff;
    box-shadow: 4px 0 25px rgba(0,0,0,0.15);
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.75rem 0.95rem;
    border-radius: 0.85rem;
    margin: 0.2rem 0.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

.sidebar a.active {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* ==================================================
   SIDEBAR SECTION TITLE
================================================== */
.sidebar-section {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
    margin: 1.4rem 0 0.4rem;
    padding: 0 1rem;
}

/* SIDEBAR SECTION (RED VARIANT) */
.sidebar-section-danger {
    color: #f87171;
    font-weight: 600;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 1rem 0;
}

.card-soft {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
}

.rounded-4 {
    border-radius: 1rem !important;
}

.table thead th {
    font-size: 0.80rem;
    color: #6c757d;
    font-weight: 600;
    border-bottom-width: 1px;
    letter-spacing: 0.01em;
}

.table td {
    vertical-align: middle;
    font-size: 0.89rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.45;
}

.badge {
    font-weight: 500;
    font-size: 0.76rem;
    padding: 0.42rem 0.68rem;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.border.rounded-4 {
    border-color: #e9ecef !important;
}

.btn {
    border-radius: 0.8rem;
    font-weight: 500;
    font-size: 0.90rem;
}

.btn-sm {
    border-radius: 0.7rem;
    font-size: 0.82rem;
    font-weight: 500;
}

.table .btn-sm {
    min-width: 72px;
}

.form-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: #374151;
}

.form-text {
    font-size: 0.82rem;
    color: #6c757d;
}

.form-control,
.form-select,
textarea {
    font-size: 0.92rem;
    font-weight: 400;
    color: #334155;
}

.alert.rounded-4,
.card.rounded-4,
.border.rounded-4 {
    border-radius: 1rem !important;
}

.topbar {
    background: var(--primary);
    color: #fff;
    font-size: 0.9rem;
}

.navbar {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.brand-logo {
    height: 42px;
    width: auto;
}

.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.92);
}

.hero .text-muted {
    color: rgba(255, 255, 255, 0.82) !important;
}

.hero .badge.bg-light {
    background-color: rgba(255, 255, 255, 0.92) !important;
}

.hero .card-soft {
    background: #ffffff;
    color: #212529;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.partner-logos {
    row-gap: 1rem;
}

.partner-logo {
    height: 56px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.45rem 0.75rem;
    border-radius: 0.9rem;
    box-shadow: 0 0.25rem 0.8rem rgba(0, 0, 0, 0.08);
}

.hero .btn-warning {
    font-weight: 600;
}

.hero .btn-light,
.hero .btn-outline-light,
.hero .btn-warning {
    padding: 0.75rem 1.15rem;
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .partner-logo {
        height: 48px;
        max-width: 120px;
    }
}

.hero h1 {
    line-height: 1.2;
    max-width: 760px;
}

.hero .lead {
    font-size: 1.1rem;
    max-width: 720px;
}

.hero .btn-lg {
    border-radius: 0.9rem;
    font-weight: 600;
    min-width: 150px;
}

.hero .card-soft h5 {
    font-weight: 700;
}

.hero .card-soft ul li {
    margin-bottom: 0.65rem;
}

.hero .card-soft ul li:last-child {
    margin-bottom: 0;
}

.partner-logos {
    margin-top: 0.5rem;
}

.partner-logos small,
.hero small.text-uppercase {
    color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 992px) {
    .hero .card-soft {
        margin-left: 1rem;
    }
}

section h2 {
    letter-spacing: -0.02em;
}

.card-soft {
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-soft h5 {
    line-height: 1.35;
}

.bg-primary-subtle {
    background-color: rgba(30, 58, 138, 0.12) !important;
}

section .badge {
    font-size: 0.76rem;
}

section.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

@media (max-width: 767.98px) {
    section.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

.navbar .container {
    row-gap: 0.75rem;
}

.navbar .btn {
    border-width: 1px;
}

.navbar .btn-sm {
    padding: 0.45rem 0.8rem;
}

.navbar-brand small {
    display: block;
    line-height: 1.3;
}

@media (min-width: 992px) {
    .navbar .d-flex.gap-2.flex-wrap {
        justify-content: flex-end;
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .navbar .d-flex.gap-2.flex-wrap {
        width: 100%;
    }
}

.card-soft h5 {
    letter-spacing: -0.01em;
}

.card-soft p {
    font-size: 0.90rem;
    font-weight: 400;
}

.text-center h2 {
    letter-spacing: -0.02em;
}

.timeline-item {
    position: relative;
    padding: 0.75rem 0 0.75rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.92rem;
    font-weight: 400;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 3px;
    height: 28px;
    background: var(--accent);
    border-radius: 2px;
}

.timeline-item:last-child {
    border-bottom: none;
}

.mini-label {
    color: #6c757d;
    font-size: 0.84rem;
    font-weight: 500;
}

.info-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

/* ===== Navbar refinement ===== */

.navbar {
    border-bottom: 1px solid #f1f5f9;
}

.navbar .nav-link {
    font-weight: 500;
    color: #334155;
    padding: 0.5rem 0.9rem;
    transition: all 0.2s ease;
}

.navbar .nav-link:hover {
    color: var(--primary);
}

.navbar .nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* spacing tombol kanan */
.navbar .btn {
    border-radius: 0.6rem;
    padding: 0.45rem 0.85rem;
}

/* rapikan brand */
.navbar-brand .fw-bold {
    font-size: 1.05rem;
}

.navbar-brand small {
    font-size: 0.75rem;
}

/* responsive */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        padding: 0.5rem 0;
    }

    .navbar .d-flex {
        margin-top: 0.5rem;
    }
}

/* ===== Footer ===== */

.footer {
    background: #0f172a;
    color: #cbd5e1;
}

.footer h5,
.footer h6 {
    color: #ffffff;
}

.footer p {
    font-size: 0.88rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer-mini {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.82rem;
}

/* ===== Professional UI polish ===== */

body {
    font-family: "Inter", Arial, sans-serif;
    background-color: #f8fafc;
    color: #1f2937;
}

section h2 {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

section p {
    line-height: 1.7;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 400;
}

.card-soft,
.info-card {
    border-radius: 1.1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.badge {
    letter-spacing: 0.02em;
}

.btn {
    font-weight: 500;
}

.btn-warning {
    color: #fff;
}

.btn-warning:hover {
    color: #fff;
}

section.py-5 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

/* ===== Card hover effect ===== */

.card-soft,
.info-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-soft:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

/* ===== Smooth scroll + active menu ===== */

html {
    scroll-behavior: smooth;
}

/* agar tidak ketutup navbar */
section[id] {
    scroll-margin-top: 90px;
}

/* active menu */
.navbar .nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Fade-in on scroll ===== */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-soft);
    border-color: var(--primary-soft);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-warning {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: #fff;
}

.hero .badge {
    background-color: #e5e7eb !important;
    color: #3b82f6 !important;
    border: 1px solid #cbd5e1;
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 0.90rem;
}

/* .hero .badge {
/*    background-color: #e5e7eb !important; */
/*    color: #1e3a8a !important; */
/*    border: 1px solid #cbd5e1; */
/*    font-weight: 600; */
/*}  */

.hero h1 {
    color: #ffffff;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.92);
}

/* ===== Badge system refinement ===== */

/* badge biru lembut */
.badge.bg-primary-subtle {
    background-color: rgba(30, 58, 138, 0.12) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(30, 58, 138, 0.2);
}

/* badge kuning accent */
.badge.bg-warning {
    background-color: var(--accent) !important;
    color: #fff !important;
}

/* badge umum di section */
section .badge {
    font-size: 0.76rem;
    letter-spacing: 0.05em;
}

.section-tight {
    padding-top: 1.5rem !important;
    padding-bottom: 3rem !important;
}

.section-medium {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
}

/* ===== Schedule Tabs Styling ===== */

.nav-pills .nav-link {
    color: var(--primary);
    background-color: transparent;
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

/* hover */
.nav-pills .nav-link:hover {
    background-color: rgba(30, 58, 138, 0.08);
}

/* active tab */
.nav-pills .nav-link.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

/* khusus font title hero h1 */
.hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-size: 2.4rem;
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* end khusus font title */

/* khusus font About the Conference */
#about h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    font-size: 2rem;
}

@media (min-width: 992px) {
    #about h2 {
        font-size: 2rem;
    }
}

/* khusus font About */

/* ==================================================
   FORM FOCUS STYLE (HIGHER CONTRAST)
================================================== */

/* wrapper field (lebih gelap) */
.form-zebra > * {
    padding: 12px;
    border-radius: 8px;
    background-color: #e5e7eb;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

/* saat field aktif */
.form-zebra > *:focus-within {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

/* input focus */
.form-control:focus {
    border-color: #3b82f6;
    box-shadow: none;
}

/* label */
.form-zebra label {
    font-weight: 600;
    color: #374151;
}

/* label saat aktif */
.form-zebra > *:focus-within label {
    color: #1e3a8a;
}

/* ==================================================
   ENTERPRISE FORM LAYOUT
================================================== */
.form-row-enterprise {
    background-color: #e5e7eb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    margin-left: 0;
    margin-right: 0;
}

.form-row-enterprise:focus-within {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

.form-row-enterprise .form-label {
    font-weight: 600;
    color: #374151;
}

.form-row-enterprise:focus-within .form-label {
    color: #1e3a8a;
}

/* ==================================================
   ENTERPRISE FORM LAYOUT
================================================== */
.form-row-enterprise {
    background-color: #e5e7eb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 12px;
}

.form-row-enterprise:focus-within {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

.form-row-enterprise .form-label {
    font-weight: 600;
    color: #374151;
}

.form-row-enterprise:focus-within .form-label {
    color: #1e3a8a;
}

.btn-create {
    border-radius: 10px;
    padding: 6px 14px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-create i {
    font-size: 13px;
}

.btn-create:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-icon i {
    font-size: 14px;
}

.btn-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.header-create-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.info-row {
    display: grid;
    grid-template-columns: 70px 10px 1fr;
    align-items: center;
    margin-bottom: 6px;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.info-separator {
    text-align: center;
    color: #6c757d;
    font-size: 12px;
}

.info-value {
    font-size: 13px;
    font-weight: 400;
    color: #334155;
}

/* ===== Global data typography refinement ===== */
.text-muted,
.small,
small {
    font-weight: 400;
}

.card-body,
.card-footer,
.alert,
.table,
.list-group-item,
.dropdown-item,
.form-control,
.form-select,
textarea {
    font-size: 0.92rem;
    font-weight: 400;
}

.table td .fw-bold,
.table td .fw-semibold,
.card-body .fw-bold,
.card-body .fw-semibold,
.card-footer .fw-bold,
.card-footer .fw-semibold {
    font-weight: 600 !important;
}

.table td .small,
.card-body .small,
.card-footer .small {
    font-size: 0.80rem;
}

.table td div,
.card-body div,
.card-footer div,
.table td span,
.card-body span,
.card-footer span {
    font-size: inherit;
}

.pagination,
.pagination .page-link {
    font-size: 0.88rem;
    font-weight: 500;
}

/* ===== Global Paper Hierarchy ===== */
.paper-code-meta {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748b;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.paper-title-main {
    font-weight: 400;
    line-height: 1.5;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.paper-author-meta {
    font-size: 0.80rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.45;
}

.paper-meta-line {
    font-size: 0.80rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.45;
}
