body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #1c1c1c; 
    color: #e0e0e0; 
    margin: 0;
    padding: 0;
}

/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c2c2c; 
    padding: 20px;
    color: white;
    border-radius: 8px; 
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar h1 {
    font-size: 28px;
    margin: 0;
    color: #ff9f1c; 
}

.link {
    display: flex;
    margin-left: auto;
}

.link a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 12px 20px;
    margin-left: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.link a:hover {
    background-color: #d8a307; 
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar h1 {
        margin-bottom: 10px;
    }
    .link {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .link a {
        padding: 8px 12px;
        margin: 5px 0;
    }
}

.container {
    width: 80%;
    margin: auto;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #333;
}

.container h1 {
    text-align: center;
    color: #ff9f1c; 
}

/* Container Form */
.containerForm {
    width: 50%;
    max-width: 600px;
    margin: auto;
    padding: 30px;
    background-color: #444; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.containerForm h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ff7e00; 
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #666;
    color: #e0e0e0;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #ff9f1c; 
    outline: none;
}

/* Submit Button */
.btn-primary-1 {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: white;
    background-color: #ff9f1c; 
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary-1:hover {
    background-color: #d8a307; 
}

/* CSS for the table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    background-color: #2b2b2b; 
}

.table th {
    background-color: #ff9f1c; 
    color: white;
    padding: 12px;
    font-weight: bold;
    border: 2px solid #f5be41; 
}

.table td {
    padding: 12px;
    border: 2px solid #555; 
    color: #e0e0e0;
    transition: background-color 0.2s, transform 0.2s;
}

.table tr:nth-child(even) {
    background-color: #3c3c3c; 
}

.table tr:hover {
    background-color: #f7d067b1;
    transform: scale(1.00);
}

.table td:nth-child(1), .table td:nth-child(5) {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .table {
        font-size: 14px;
    }
}


/* Gaya untuk Tombol */
.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 2px 5px;
    transition: background-color 0.3s, transform 0.3s;
}

/* Tombol Primer */
.btn-primary {
    background-color: #ff9f1c;
    color: white;
}

.btn-primary:hover {
    background-color: #d8a307;
    transform: scale(1.05);
}

.btn-danger {
    background-color: #ff6f3c; 
    color: white;
}

.btn-danger:hover {
    background-color: #d84f2a; 
    transform: scale(1.05);
}

.btn {
    border: 1px solid transparent;
}

.btn-primary, .btn-danger {
    border: 1px solid #444;
}

.btn-primary:hover, .btn-danger:hover {
    border: 1px solid #666;
}

/* Tombol Tambah Barang */
.btn-tambah {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #ff9f1c;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #ff9f1c; 
    transition: background-color 0.3s, transform 0.3s; 
}

.btn-tambah:hover {
    background-color: #e88c1f; 
    color: #fff; 
    transform: scale(1.05); 
}


/* Footer */
footer {
    text-align: center;
    background-color: #2c2c2c; 
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
}

/* Kotak Pencarian Styles */
.search-form {
    display: flex;
    align-items: center;
}

.search-form input[type="text"] {
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    flex: 1;
    font-size: 16px;
    background-color: #444; 
    color: #e0e0e0;
}

.search-form button {
    padding: 10px 15px;
    margin-left: 10px;
    background-color: #ff9f1c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: #d8a307; 
}

.search-form button:active {
    background-color: #d28d00;
}


/* Styling untuk form pencarian */
.search-form {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-sa; 
    gap: 15px; 
}

/* Styling untuk input pencarian */
.search-form input[type="text"] {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #444; 
    border-radius: 5px;
    background-color: #3c3c3c; 
    color: #e0e0e0;
    width: 250px; 
    transition: all 0.3s ease; 
}

.search-form input[type="text"]:hover {
    background-color: #2b2b2b;
    border-color: #ff9f1c; 
}

.search-form input[type="text"]:focus {
    outline: none;
    border-color: #ffd054;
    background-color: #333; 
    color: #fff; 
}

/* Styling untuk dropdown */
.search-form select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #3c3c3c;
    color: #e0e0e0;
    width: 200px;
    transition: all 0.3s ease;
}

.search-form select:hover {
    background-color: #2b2b2b;
    border-color: #ff9f1c;
}

.search-form select:focus {
    outline: none;
    border-color: #ffd054;
    background-color: #333;
    color: #fff;
}

/* Styling untuk tombol submit */
.search-form button {
    padding: 10px 20px;
    background-color: #ff9f1c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #ffd054;
}
