:root {
    --primary-color: #E63946; /* Merah CABE */
    --dark-color: #1D3557;   /* Biru Tua CABE */
    --light-color: #F1FAEE;  /* Putih Pudar CABE */
    --secondary-color: #457B9D; /* Biru Sekunder */
    --text-color: #333;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center; /* Pusatkan container */
    min-height: 100vh;
    padding: 30px 20px;
    box-sizing: border-box;
}

.task-container {
    background-color: #fff;
    max-width: 700px; /* Sedikit lebih lebar untuk grid link */
    width: 100%;
    padding: 30px 35px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-color);
    margin: 20px 0; /* Jarak atas bawah jika konten panjang */
}

.site-logo { /* Jika Anda menambahkan logo */
    display: block;
    margin: 0 auto 20px auto;
    max-height: 60px;
    width: auto;
}

h1 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.sub-header {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="email"], /* Untuk admin */
.form-group input[type="password"] /* Untuk admin */
{
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(230, 57, 70, 0.2);
}

.link-section-title {
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 kolom */
    gap: 15px 20px; /* Jarak vertikal & horizontal */
}

.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 25px;
}

.btn-submit:hover {
    background-color: #d62839;
}

/* Responsif untuk grid link */
@media (max-width: 600px) {
    .link-grid {
        grid-template-columns: 1fr; /* 1 kolom di HP */
    }
     h1 {
        font-size: 1.5rem;
    }
    .task-container {
         padding: 25px 20px;
    }
}

/* --- Style Khusus Admin --- */
.admin-container {
     max-width: 1200px; /* Lebih lebar untuk tabel admin */
     padding: 30px;
}
.admin-header {
     display: flex; justify-content: space-between; align-items: center;
     margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee;
}
.admin-header h1 { margin-bottom: 0; font-size: 1.6rem; text-align: left; }
.logout-btn { /* Style tombol logout bisa sama dengan admin feedback */
    font-size: 0.9rem; font-weight: bold; color: var(--primary-color); text-decoration: none;
    padding: 8px 15px; border: 1px solid var(--primary-color); border-radius: 5px; transition: all 0.2s ease;
}
.logout-btn:hover { background-color: var(--primary-color); color: white; text-decoration: none;}

.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.85rem; } /* Font lebih kecil */
th, td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; vertical-align: top; }
th { background-color: #e9ecef; color: #495057; white-space: nowrap; }
tr:nth-child(even) { background-color: #f8f9fa; }
tr:hover { background-color: #f1f1f1; }
td.links a { display: inline-block; margin: 2px 4px; color: var(--secondary-color); text-decoration: none; word-break: break-all;}
td.links a:hover { text-decoration: underline; color: var(--primary-color); }
td.tanggal { white-space: nowrap; color: #6c757d; }
.no-data { text-align: center; color: #777; padding: 40px 20px; font-style: italic; background-color: #f8f9fa; border: 1px dashed #ddd; border-radius: 5px; margin-top: 20px; }