/* Styling Khusus Pengumpulan dan Pengolahan Data Pegawai dengan Warna Hijau Muda */

.detail-container .container {
    max-width: 100%;
    background: #eaf5ea; /* Background hijau muda */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Heading Styling */
.detail-container h1 {
    text-align: center;
    color: #2d7a3e; /* Hijau Tua */
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid #2d7a3e;
    padding-bottom: 10px;
}

/* Form Styling */
.detail-container form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 10px; /* Tambahan padding */
    background-color: #ffffff; /* Latar belakang putih */
    border-radius: 8px;
}

.detail-container form label {
    font-weight: bold;
    color: #2d7a3e;
    font-size: 1rem;
}

.detail-container form input, 
.detail-container form select {
    padding: 10px;
    border: 1px solid #a1d9af; /* Hijau Muda */
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.detail-container form input:focus,
.detail-container form select:focus {
    border-color: #2d7a3e; /* Hijau Tua */
    outline: none;
}

.detail-container form input[type="text"],
.detail-container form input[type="number"],
.detail-container form select {
    grid-column: span 2;
}

/* Button Styling */
.detail-container button {
    padding: 12px;
    background-color: #2d7a3e; /* Hijau Tua */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    margin-top: 15px;
    grid-column: span 2;
    transition: background-color 0.3s, transform 0.2s;
}

.detail-container button:hover {
    background-color: #45a049; /* Hijau Lebih Terang */
    transform: scale(1.05);
}

/* Table Styling */
.detail-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95rem;
}

.detail-container th, 
.detail-container td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.detail-container th {
    background-color: #2d7a3e; /* Hijau Tua */
    color: white;
    font-weight: bold;
}

.detail-container td {
    background-color: #f1f9f4; /* Hijau Muda */
    color: #333;
    transition: background-color 0.2s;
}

.detail-container tr:nth-child(even) td {
    background-color: #e7f5e9; /* Hijau Muda Lebih Terang */
}

.detail-container td:hover {
    background-color: #d0ebd9; /* Hijau Muda Hover */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .detail-container form {
        grid-template-columns: 1fr;
    }

    .detail-container form input[type="text"],
    .detail-container form input[type="number"],
    .detail-container form select,
    .detail-container button {
        grid-column: span 1;
    }
}
