.container {
    background: linear-gradient(145deg, #F5F7F1 0%, #EAEEE3 50%, #DFE3D6 100%);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(93, 78, 55, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(143, 166, 142, 0.2);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8FA68E, #A0826D, #8B6F47, #5C6B5C);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #5D4E37;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"], select, textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(143, 166, 142, 0.3);
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #FAFBF8, #F0F2EC);
    color: #5C6B5C;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

textarea {
    height: 100px;
    resize: vertical;
    font-family: inherit;
}

input[type="text"]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #8FA68E;
    background: linear-gradient(145deg, #FFFFFF, #F8FAF5);
    box-shadow: 
        0 0 0 3px rgba(143, 166, 142, 0.15),
        0 4px 12px rgba(93, 78, 55, 0.1);
    transform: translateY(-1px);
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    margin: 8px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #8FA68E 0%, #7A8A79 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(143, 166, 142, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7A8A79 0%, #6B7A6A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 166, 142, 0.6);
}

.btn-warning {
    background: linear-gradient(135deg, #A0826D 0%, #8B6F47 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(160, 130, 109, 0.4);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #8B6F47 0%, #7A5F3F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 130, 109, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, #A67C6A 0%, #8B5A4F 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(166, 124, 106, 0.4);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #8B5A4F 0%, #7A4D43 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 124, 106, 0.6);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(93, 78, 55, 0.15);
}

th, td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(200, 213, 185, 0.3);
}

th {
    background: linear-gradient(135deg, #8FA68E 0%, #7A8A79 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

td {
    background: rgba(245, 247, 241, 0.6);
    color: #5C6B5C;
}

tr:nth-child(even) td {
    background: rgba(234, 238, 227, 0.6);
}

tr:hover td {
    background: linear-gradient(90deg, rgba(200, 213, 185, 0.3), rgba(143, 166, 142, 0.2));
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.alert {
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 15px;
    border-left: 5px solid;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: linear-gradient(135deg, rgba(200, 213, 185, 0.2), rgba(143, 166, 142, 0.1));
    color: #5C6B5C;
    border-left-color: #8FA68E;
    box-shadow: 0 4px 15px rgba(143, 166, 142, 0.2);
}

.alert-error {
    background: linear-gradient(135deg, rgba(166, 124, 106, 0.2), rgba(139, 90, 79, 0.1));
    color: #5D4E37;
    border-left-color: #A67C6A;
    box-shadow: 0 4px 15px rgba(166, 124, 106, 0.2);
}

.form-section {
    background: linear-gradient(145deg, rgba(245, 247, 241, 0.8), rgba(234, 238, 227, 0.6));
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 35px;
    border: 1px solid rgba(143, 166, 142, 0.2);
    box-shadow: 0 6px 20px rgba(93, 78, 55, 0.1);
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C8D5B9, #8FA68E, #A0826D);
    border-radius: 18px 18px 0 0;
}

/* Styling khusus untuk action forms yang inline */
.action-form {
    display: inline-block;
    margin: 0 3px;
}

.action-form .btn {
    padding: 8px 16px;
    font-size: 13px;
    margin: 0;
    min-width: 70px;
}

/* Header styling untuk h2 */
h2 {
    color: #5D4E37;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8FA68E, #A0826D);
    border-radius: 2px;
}

/* Responsive design + animasi loading */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        border-radius: 12px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
        margin: 4px;
    }
    
    th, td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .action-form .btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 60px;
    }
    
    table {
        font-size: 14px;
    }
}