* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f7fb;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background-color: #0f172a;
    color: white;
    padding: 18px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 21px;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
}

nav a:hover,
nav a.active {
    color: white;
}

/* HEADER */
.page-header {
    padding: 55px 0 30px;
}

.label {
    color: #2563eb;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.page-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.page-header p:last-child {
    color: #64748b;
}

/* DATA SAYA */
.data-card {
    background-color: white;
    border-radius: 12px;
    padding: 10px 30px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    margin-bottom: 50px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5px;
    border-bottom: 1px solid #e2e8f0;
}

.data-item:last-child {
    border-bottom: none;
}

.data-item span {
    color: #64748b;
}

.data-item strong {
    color: #0f172a;
    text-align: right;
}

/* FORM TUGAS */
.form-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    margin-bottom: 50px;
}

.form-card h3 {
    margin-bottom: 25px;
    font-size: 21px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
}

button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background-color: #1d4ed8;
}

/* DAFTAR TUGAS */
.task-section {
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 15px;
}

.section-title h3 {
    font-size: 21px;
}

.task-card {
    background-color: white;
    padding: 22px 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.task-subject {
    color: #2563eb;
    font-size: 13px;
    font-weight: bold;
}

.task-card h4 {
    margin: 4px 0;
    font-size: 17px;
}

.task-card p {
    color: #64748b;
    font-size: 14px;
}

.task-status {
    background-color: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

/* FOOTER */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 25px;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }

    nav {
        gap: 18px;
    }

    .page-header {
        padding-top: 35px;
    }

    .page-header h2 {
        font-size: 27px;
    }

    .data-card {
        padding: 10px 20px;
    }

    .data-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .data-item strong {
        text-align: left;
    }

    .form-card {
        padding: 22px;
    }

    .task-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


    .task-card .tombol-hapus {
        width: auto;
        padding: 5px 10px;
        margin-top: 20px;
        font-size: 11px;
    }

    .tombol-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.tombol-container .file-link {
    display: inline-block;
}

.tombol-container .tombol-hapus {
    width: auto;
    padding: 6px 12px;
    font-size: 12px;
}