﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000000;
    color: #ffffff;
}

.menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-button {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: background 0.2s ease;
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.14);
}

.menu-button span {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.menu-button span::before,
.menu-button span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.menu-button span::before {
    top: -6px;
}

.menu-button span::after {
    top: 6px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: #222;
    padding: 24px 16px;
    box-sizing: border-box;
    transform: translateX(0);
    transition: transform 0.25s ease;
    z-index: 1000;
}

.menu-toggle:not(:checked) ~ .navbar {
    transform: translateX(-236px);
}

.page-content {
    margin-left: 240px;
    transition: margin-left 0.25s ease;
    padding-top: 60px;
    padding-left: 16px;
    padding-right: 20px;
}
/* Container Landscape Layout - Vertikal & Tengah */
.cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 20px 0;
    width: 100%;
}

/* Card Landscape */
.card-item {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background: #161616;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(18, 18, 18, 0.6) 50%, 
        rgba(0, 0, 0, 0.2) 100%
    );
}

.card-body {
    position: relative;
    z-index: 2;
    padding: 20px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-body h2 {
    margin: 0 0 6px 0;
    font-size: 1.4rem;
    color: #ffffff;
}

.card-body p {
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    color: #cccccc;
}

.btn-daftar {
    width: 140px;
    padding: 10px 0;
    border-radius: 20px;
    border: none;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-daftar:hover {
    background: #e0e0e0;
}

/* Pop-Up Modal Styling (Iframe Container) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    overflow: hidden;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    z-index: 2001;
}

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

.menu-toggle:not(:checked) ~ .page-content {
    margin-left: 0;
}

.navbar h2 {
    margin-top: 50px;
    margin-bottom: 24px;
    font-size: 20px;
}

.home-header {
    text-align: center;
}

.home-header button {
    display: block;
    width: 220px;
    margin: 20px auto;
    padding: 12px 0;
}

.container form button {
    width: 100%;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li + li {
    margin-top: 14px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
}

.navbar a.active,
.navbar a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.container {
    padding: 40px;
    max-width: 620px;
}

.dashboard-header {
    top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-label {
    margin: 0 0 8px;
    color: #aaa;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 2rem;
}

.dashboard-actions button {
    width: auto;
    padding: 10px 18px;
}

.dashboard-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 24px;
}

.card {
    background: #161616;
    border: 1px solid #333;
    border-radius: 18px;
    padding: 24px;
}

.card p {
    margin: 0 0 12px;
    color: #aaa;
}

.card strong {
    display: block;
    font-size: 2rem;
}

.table-section {
    background: #111;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 22px;
}

.table-header h2 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.table-header p {
    margin: 0;
    color: #bbb;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
}

th,
td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #222;
}

th {
    color: #bbb;
    font-weight: 600;
}

.empty-row {
    text-align: center;
    color: #999;
    padding: 32px 0;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

form input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

button {
    width: 50%;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #0056b3;
    cursor: pointer;
}

button:hover {
    background: #0056b3;

    cursor: pointer;
}

button:hover {
    background: #0056b3;
}