* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f7f7f7; /* Warna latar yang lebih lembut */
    color: #333; /* Warna teks yang lebih gelap untuk kontras yang baik */
}

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Sesuaikan link logout */
a {
    color: #5C6BC0;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Sesuaikan tampilan statistik */
.statistik {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.statistik p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Style untuk form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.form-group button {
    padding: 10px 20px;
    background-color: #5C6BC0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.form-group button:hover {
    background-color: #3F51B5;
}

/* Style untuk tabel kegiatan terdaftar */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

table th, 
table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

table td {
    background-color: #ffffff;
}

/* Penyesuaian untuk mobile view */
@media (max-width: 768px) {
    .container {
        width: calc(100% - 40px);
        margin: 15px;
        padding: 10px;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-group button {
        width: 100%;
        padding: 10px;
    }
}
/* Style sidebar */
.sidebar {
    width: 250px;
    position: fixed;
    height: 100%;
    background-color: #2c3e50;
    padding: 20px 0;
}

.sidebar h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar a {
    color: #ddd;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #1abc9c;
    color: #fff;
}

.sidebar a i {
    margin-right: 10px;
}

/* Style untuk main content */
.main-content {
    margin-left: 250px; /* Lebar sidebar */
    padding: 20px;
    background-color: #f7f7f7;
    min-height: 100vh;
}

/* Style untuk kotak statistik */
.statistik {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.stat-box {
    background: #3498db;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.stat-box:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.stat-box i {
    font-size: 2em;
    margin-bottom: 10px;
}

.stat-title {
    display: block;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 2.2em;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        display: flex;
        justify-content: space-around;
    }

    .sidebar a {
        text-align: center;
        padding: 20px;
        float: left;
    }

    .main-content {
        margin-left: 0;
    }

    .statistik {
        flex-direction: column;
    }
}
