* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f3f6ff;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
}

header {
    background: #6c63ff;
    color: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 25px;
}

header h1 {
    margin-bottom: 10px;
}

.statistik {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.stat {
    background: white;
    padding: 20px;
    border-radius: 15px;
    flex: 1;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.stat h3 {
    font-size: 30px;
    color: #6c63ff;
}

.btn-tambah {
    display: inline-block;
    background: #6c63ff;
    color: white;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.daftar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    background: white;
    padding: 22px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card h3 {
    color: #6c63ff;
    margin-bottom: 15px;
}

.card p {
    margin: 8px 0;
}

.check {
    display: block;
    margin-top: 15px;
    padding: 10px;
    background: #f1f1ff;
    border-radius: 8px;
}

.check input {
    margin-right: 8px;
}

.aksi {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-edit,
.btn-hapus {
    padding: 9px 13px;
    text-decoration: none;
    border-radius: 8px;
}

.btn-edit {
    background: #ffc107;
    color: black;
}

.btn-hapus {
    background: #dc3545;
    color: white;
}

.form-container {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-container h1 {
    margin-bottom: 25px;
    color: #6c63ff;
}

.form-container label {
    display: block;
    margin-top: 15px;
    margin-bottom: 7px;
    font-weight: bold;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.form-container textarea {
    height: 100px;
    resize: vertical;
}

.form-container button {
    width: 100%;
    padding: 13px;
    margin-top: 20px;
    background: #6c63ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.kembali {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #6c63ff;
    text-decoration: none;
}

@media (max-width: 700px) {

    .statistik {
        flex-direction: column;
    }

    .daftar {
        grid-template-columns: 1fr;
    }

}

