/* ===== RESET ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('../assets/bg2.png') no-repeat center center fixed;
    background-size: cover;
}

/* background: url('../assets/header.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center; */
.top-bar {
    width:100%;
    height:110px;
   
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:url('../assets/header.png') center no-repeat;
    background-size:cover;
     flex-wrap: nowrap;
}
 
.top-bar h2 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
}

.btn-top {
    background: transparent;
    
    border: 1px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-top:hover {
    background: white;
    color: #0d2c54;
}

/* ===== WRAPPER ===== */
.wrapper {
    padding: 5px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== STATUS CARD ===== */
.status-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    width: 60%;
    margin: -60px auto 60px auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
}

.status-card h2 {
    margin-top: 0;
    font-size: 22px;
}

.nama-input {
    width: 60%;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

/* ===== TOMBOL CARI ===== */
.btn-cari {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    background: #bdbdbd;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cari:hover {
    background: #9e9e9e;
}

/* ===== JUDUL ===== */
.wrapper h1 {
    text-align: center;
    font-size: 40px;
    color: white;
    margin-top: 40px;
    margin-bottom: 120px;
}

/* ===== MENU GRID ===== */
.menu-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* ===== CARD LAYANAN ===== */
.menu-box {
    width: 300px;
    height: 260px;
    background: #ffffff;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    transition: 0.3s;
    cursor: pointer;
    color: black;
}

.menu-box img{
    width:70px;
    display:block;
    margin:auto;
    margin-bottom:15px;
}

.menu-box h3 {
    font-size: 28px;
    margin-top: 0;
}

.menu-box p {
    font-size: 16px;
    color: #555;
    text-align: left;
}

.menu-box:hover {
    transform: translateY(-10px);
}

/* ===== LINK ===== */
.menu-grid a {
    text-decoration: none;
    color: inherit;
}
.chat-wa{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1b2340;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
}
.chat-wa img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
/* ===== table ===== */

/* Table styling */
.status-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

/* Header kiri */
.status-table th {
    text-align: left;
    padding: 10px;
    width: 35%;
    background: #f4f6f8;
    color: #2c3e50;
    border: 1px solid #ddd;
}

/* Isi kanan */
.status-table td {
    padding: 10px;
    border: 1px solid #ddd;
    color: #333;
}

.status-table tr:nth-child(even) {
    background: #fafafa;
}

/* Hover efek */
.status-table tr:hover {
    background: #f1f9ff;
}

/* Status warna */
.status.Disetujui {
    background: #2ecc71;
    color: white;
    font-weight: bold;
    text-align: center;
}

.status.Ditangguhkan {
    background: #f39c12;
    color: white;
    font-weight: bold;
    text-align: center;
}

.status.Ditolak {
    background: #e74c3c;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Tombol download */
.btn-download {
    padding: 6px 12px;
    background: #3498db;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.btn-download:hover {
    background: #2980b9;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .top-bar {
        background-image: url('../assets/headermb.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 20px;
        height: 80px;

        display: flex;
        justify-content: flex-end; /* tombol ke kanan */
        align-items: center;
    }

    .btn-top {
        background: transparent;
        border: 1px solid white;
        margin-left: auto;
        display: block;
        color: white;
        padding: 10px 20px; /* padding diperbaiki biar tidak terlalu tinggi */
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }

    .btn-top:hover {
        background: white;
        color: #0d2c54;
    }

    .status-card {
        width: 90%;
    }

    .nama-input {
        width: 90%;
        margin-bottom: 15px;
    }

    .menu-box {
        width: 90%;
    }

    .wrapper h1 {
        font-size: 28px;
    }
}