* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.btn-tambah {
    display: inline-block;
    background-color: #2ecc71;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 25px;
    transition: background 0.3s ease;
}

.btn-tambah:hover {
    background-color: #27ae60;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 14px 18px;
    text-align: left; 
}

th:nth-child(1), td:nth-child(1),
th:nth-child(3), td:nth-child(3),
th:nth-child(5), td:nth-child(5) {
    text-align: center;
}

th {
    background-color: #2c3e50;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

tr {
    border-bottom: 1px solid #e0e0e0;
}

tr:nth-child(even) {
    background-color: #f9fbfb;
}

tr:hover {
    background-color: #f1f5f7;
}

.btn-action {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-edit {
    background-color: #3498db;
    color: #fff;
    margin-right: 5px;
}

.btn-edit:hover {
    background-color: #2980b9;
}

.btn-hapus {
    background-color: #e74c3c;
    color: #fff;
}

.btn-hapus:hover {
    background-color: #c0392b;
}

.form-box {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
    outline: none;
}

.btn-submit {
    width: 100%;
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #2980b9;
}

.link-kembali {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.link-kembali:hover {
    color: #2c3e50;
    text-decoration: underline;
}