/* ===========================
   GLOBAL STYLE
=========================== */
body {
    font-family: Arial, sans-serif;
    background: hsl(0, 0%, 100%);
    margin: 0;
    padding: 0;
}

h2, h3 {
    text-align: center;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: #0077cc;
}

a:hover {
    text-decoration: underline;
}


/* ===========================
   FORM BOX
=========================== */
.form-box {
    background: rgb(41, 237, 237);
    padding: 25px;
    margin: auto;
    width: 60%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.form-box label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-box textarea {
    height: 80px;
}

/* Tombol */
button {
    margin-top: 20px;
    padding: 12px 20px;
    background: #000000;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #0277bd;
}

/* ===========================
   SUCCESS CARD
=========================== */
.card {
    background: white;
    width: 50%;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ===========================
   ADMIN LAYOUT
=========================== */
.wrapper {
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    background: #1e88e5;
    height: 100vh;
    padding-top: 20px;
    position: fixed;
    color: white;
}

.sidebar h2 {
    text-align: center;
    color: white;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-weight: bold;
}

.sidebar a:hover {
    background: #1565c0;
}

/* LOGO */
.logo-box {
    text-align: center;
    margin-bottom: 15px;
}

.logo-box img {
    width: 120px;
    height: auto;
    border-radius: 6px;
}

/* CONTENT */
.content {
    margin-left: 240px;
    padding: 25px;
    width: 100%;
}

/* ===========================
   TABLE STYLE
=========================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: #2196f3;
    color: white;
    padding: 10px;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

table tr:hover {
    background: #f1f1f1;
}

/* ===========================
   DETAIL BOX (untuk admin)
=========================== */
.detail-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 70%;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.detail-box p {
    margin: 10px 0;
    font-size: 16px;
}

/* ===========================
   FILE UPLOAD LIST
=========================== */
.upload-list label {
    font-weight: bold;
}

.file-view {
    margin-top: 10px;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 5px;
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .form-box, .card, .detail-box {
        width: 90%;
    }

    .sidebar {
        width: 180px;
    }

    .content {
        margin-left: 200px;
    }
}

.logo-box {
    text-align: center;
    margin-bottom: 20px;
}

.logo-box img {
    width: 120px;
    height: auto;
    border-radius: 6px;
}
