/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px; /* Padding untuk body */
    line-height: 1.6;
}

h1, h2, h3 {
    color: #555;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    width: 90%; /* Lebar container 90% dari layar */
    max-width: 1200px; /* Maksimum lebar container */
    margin: 0 auto; /* Pusatkan container */
    padding: 20px; /* Padding di dalam container */
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Navigation Menu */
nav {
    background-color: #333;
    padding: 10px 0;
    margin-bottom: 20px;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #555;
}

/* Forms */
form {
    margin: 20px 0;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

form input[type="text"],
form input[type="number"],
form input[type="password"],
form input[type="file"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form input[type="submit"],
form button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover,
form button:hover {
    background-color: #0056b3;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

table th {
    background-color: #333;
    color: #fff;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Buttons */
.button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* Alerts */
.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
}

/* Silver Moon Theme */
.silver-theme {
    background-color: #e0e0e0;
    color: #333;
}

.silver-theme nav {
    background-color: #555;
}

.silver-theme nav ul li a {
    color: #fff;
}

.silver-theme nav ul li a:hover {
    background-color: #777;
}

.silver-theme .container {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.silver-theme form input[type="submit"],
.silver-theme form button {
    background-color: #777;
}

.silver-theme form input[type="submit"]:hover,
.silver-theme form button:hover {
    background-color: #555;
}

.silver-theme table th {
    background-color: #555;
    color: #fff;
}

.silver-theme table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.silver-theme table tr:hover {
    background-color: #f1f1f1;
}

.silver-theme footer {
    background-color: #555;
    color: #fff;
}