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

:root {
    --orange: #E85D04;
    --orange-light: #F48C06;
    --orange-pale: #FFF3E8;
    --dark: #1A1A2E;
    --dark-mid: #2D2D44;
    --gray: #6B7280;
    --gray-light: #F4F4F6;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html, body {
    height: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background: var(--gray-light);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--dark);
    display: flex;
    align-items: center;
    padding: 0 40px;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    gap: 16px;
}

.logo {
    height: 44px;
    width: 44px;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    padding: 4px;
    flex-shrink: 0;
}

.navbar_h1 {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.navbar_h1 span:first-child {
    font-size: 11px;
    color: var(--orange-light);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.navbar_h1 span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: white;
    font-weight: 600;
}

/* ===== LAYOUT ===== */
.menudancontent {
    display: flex;
    min-height: calc(100vh - 72px - 88px);
}

/* ===== SIDEBAR ===== */
.menu {
    width: 260px;
    flex-shrink: 0;
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.menu_dalam {
    padding: 28px 20px 20px;
    border-bottom: 1px solid var(--border);
}

.menu_dalam > p {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 14px;
}

.button_menu {
    margin: 6px 0;
}

.button_menu a { display: block; }

.button_menu button {
    width: 100%;
    padding: 11px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.button_menu button::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

.button_menu button:hover {
    background: var(--orange-pale);
    border-color: var(--orange);
    color: var(--orange);
}

.menu_hitung {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 400;
}

.tambahan_menu_dalam {
    width: 100%;
    background: var(--orange);
    border: none;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.3px;
}

.tambahan_menu_dalam:hover {
    background: var(--orange-light);
}

/* ===== KONTEN ===== */
.konten {
    flex: 1;
    background: var(--gray-light);
    overflow: hidden;
}

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

/* DEFAULT */
.default {
    display: block;
    padding: 40px;
    animation: fadeIn 0.35s ease;
}

.default h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 20px;
}

.default .informasi {
    margin-bottom: 28px;
}

.default .informasi span {
    display: block;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius);
    border-left: 3px solid var(--orange);
    box-shadow: var(--shadow);
    color: var(--dark-mid);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.default img {
    display: block;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 260px;
}

/* BERITA */
.berita {
    display: none;
    padding: 40px;
    animation: fadeIn 0.35s ease;
}

.judulberita {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
}

.berita h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 10px;
}

.tanggalinformasi {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.berita .informasi {
    font-size: 14px;
    color: var(--dark-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

.berita img {
    width: 100%;
    max-width: 460px;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    display: block;
}

/* PRODUK KAMI */
.produk_kami {
    display: none;
    padding: 40px;
    animation: fadeIn 0.35s ease;
}

.produk_kami h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 28px;
}

.produk_kami table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 14px;
    margin: 0 -14px 20px;
}

.produk_kami table td {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
    display: table-cell;
    vertical-align: middle;
}

.produk_kami table td:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--orange);
}

.produk_kami table td p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.produk_kami span { display: block; }

.produk_kami button {
    background: var(--orange-pale);
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    padding: 9px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.produk_kami button:hover {
    background: var(--orange);
    color: white;
}

.buttondefault {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
}

.buttondefault:hover {
    border-color: var(--dark);
    color: var(--dark);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: #9CA3AF;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 40px;
    gap: 40px;
}

.footer p { font-size: 12px; line-height: 2; }
.footer span { display: block; }
.footer span:first-child {
    font-weight: 600;
    color: var(--orange-light);
    font-size: 13px;
    margin-bottom: 2px;
}

.footorkanan {
    max-width: 380px;
    font-size: 11px;
    color: #6B7280;
    line-height: 1.8;
    text-align: right;
}

.footorkanan p { margin-bottom: 8px; }
.footorkanan span { display: inline; }

/* ===== HALAMAN E-BANKING ===== */
.ebank {
    padding: 48px 40px;
    min-height: calc(100vh - 72px - 88px);
}

.ebank h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    text-align: center;
    margin-bottom: 6px;
}

.ebank-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 36px;
}

.container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.ebank table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

.ebank td {
    padding: 10px 0;
    vertical-align: middle;
    display: table-cell;
    border: none;
}

.label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    width: 170px;
    padding-right: 16px;
    letter-spacing: 0.2px;
}

.ebank input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--dark);
    background: var(--gray-light);
    outline: none;
    transition: all 0.2s;
}

.ebank input[type="text"]:focus {
    border-color: var(--orange);
    background: white;
    box-shadow: 0 0 0 3px rgba(232,93,4,0.1);
}

.btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.ebank button {
    background: var(--orange);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 13px 36px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

.ebank button:hover { background: var(--orange-light); }
.ebank button:active { transform: scale(0.98); }

/* ===== HALAMAN KURS DOLLAR ===== */
.kursdolar {
    padding: 48px 40px;
    min-height: calc(100vh - 72px - 88px);
}

.kursdolar h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    text-align: center;
    margin-bottom: 6px;
}

.kursdolar-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 36px;
}

.kursdolar .container {
    max-width: 460px;
}

.kursdolar table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
    background: var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.kursdolar table td {
    padding: 14px 18px;
    vertical-align: middle;
    font-size: 14px;
    display: table-cell;
    border: none;
    border-bottom: 1px solid var(--border);
}

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

.kursdolar table td:first-child {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--gray);
    width: 80px;
    text-transform: uppercase;
}

.kursdolar table label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
}

.kursdolar table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--orange);
}

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

.input-section label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
}

.input-section input[type="number"] {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    background: var(--gray-light);
    outline: none;
    transition: all 0.2s;
}

.input-section input[type="number"]:focus {
    border-color: var(--orange);
    background: white;
    box-shadow: 0 0 0 3px rgba(232,93,4,0.1);
}

.hasil-box {
    background: var(--orange-pale);
    border: 1.5px solid rgba(232,93,4,0.2);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--gray);
    min-height: 76px;
}

.hasil-box span {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--orange);
    margin-top: 6px;
    font-family: 'Playfair Display', serif;
}

.kursdolar .btn { justify-content: stretch; }

.kursdolar .btn input[type="submit"] {
    width: 100%;
    padding: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

.kursdolar .btn input[type="submit"]:hover { background: var(--orange-light); }
.kursdolar .btn input[type="submit"]:active { transform: scale(0.98); }

.kurs-info {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-top: 14px;
}
