/* =========================
   RESET & GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
}

/* =========================
   BACKGROUND BERGERAK
========================= */
body {
    background: url('fotow.jpeg') repeat;
    background-size: cover;
    animation: moveBg 60s linear infinite;
    padding: 20px;
}

@keyframes moveBg {
    0% { background-position: 0 0; }
    100% { background-position: 0 1000px; }
}

/* =========================
   CONTAINER UTAMA (LEBIH LEBAR)
========================= */
.container {
    max-width: 1200px; /* diperlebar dari 1000px */
    margin: 30px auto;
    background-color: rgba(230,230,250,0.35); /* semi-transparent lavender */
    padding: 35px; /* sedikit lebih banyak padding */
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* =========================
   TITLE / PROFIL
========================= */
.title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: bold;
    color: #D8BFD8; /* lavender terang agar terlihat */
}

/* =========================
   TEKS PROFIL
========================= */
.profil-text {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #E6E6FA; /* putih lavender terang untuk lebih kontras */
    margin-top: 15px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    text-align: center;
    margin-bottom: 25px;
}

.navbar a {
    display: inline-block;
    background: #9370DB; /* lavender */
    color: #F8F8FF; /* putih terang agar jelas */
    padding: 10px 18px;
    margin: 0 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.navbar a:hover {
    background: #7B68EE; /* darker lavender */
}

/* =========================
   FORM (LEBIH LEBAR)
========================= */
.form-box {
    background: rgba(230,230,250,0.6);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.form-box input,
.form-box textarea,
.form-box select {
    width: 100%;
    max-width: 1150px; /* mengikuti container */
    padding: 12px;
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form-box input:focus,
.form-box textarea:focus,
.form-box select:focus {
    border-color: #9370DB;
    outline: none;
}

/* =========================
   BUTTON
========================= */
.btn {
    background: #9370DB; /* lavender */
    color: #F8F8FF; /* putih terang */
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s;
}

.btn:hover {
    background: #7B68EE; /* darker lavender */
}

.btn-hapus {
    background: #ff69b4;  /* pink */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

/* =========================
   TABLE (LEBIH LEBAR)
========================= */
.table-box table {
    width: 100%;
    max-width: 1150px; /* mengikuti container */
    margin: auto; /* center table */
    border-collapse: collapse;
    background: rgba(230,230,250,0.7);
    border-radius: 12px;
    overflow: hidden;
}

.table-box th,
.table-box td {
    border: 1px solid #D8BFD8;
    padding: 12px;
    text-align: center;
}

.table-box th {
    background-color: rgba(147,112,219,0.9);
    color: #F8F8FF; /* putih terang agar jelas */
    font-weight: bold;
}

.table-box td {
    color: #4B0082; /* teks ungu tua, bisa diganti lebih terang jika perlu */
}

.table-box tr:nth-child(even) {
    background-color: rgba(243,232,255,0.5);
}

.table-box tr:hover {
    background-color: rgba(216,191,216,0.6);
}

.table-box a {
    color: #FF1493;
    font-weight: bold;
    text-decoration: none;
}

.table-box a:hover {
    text-decoration: underline;
}

/* =========================
   SELECT / DROPDOWN
========================= */
select {
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.8);
    font-size: 15px;
    transition: 0.3s;
}

select:focus {
    border-color: #9370DB;
    outline: none;
}

/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 768px){
    .table-box th, .table-box td { font-size: 13px; }
    .form-box input, .form-box textarea, .form-box select { font-size: 13px; padding: 10px; }
    .btn { font-size: 13px; padding: 10px 15px; }
    .navbar a { padding: 8px 12px; margin: 0 5px; font-size: 13px; }
}
