/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* Light blue background */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #003366; /* Dark blue background */
    color: #ffcc00; /* Yellow text */
    border-bottom: 1px solid #ffcc00; /* Yellow border */
}

.header img {
    height: 50px;
}

.header nav {
    display: flex;
    gap: 20px;
}

.header nav a {
    text-decoration: none;
    color: #ffcc00; /* Yellow text */
    font-weight: bold;
}

/* Footer Styles */
.footer {
    background-color: #003366; /* Dark blue background */
    color: #ffcc00; /* Yellow text */
    border-top: 1px solid #ffcc00; /* Yellow border */
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
    margin: 10px;
}

.footer-section h3 {
    color: #ffcc00;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.footer-section p {
    margin: 5px 0;
    line-height: 1.5;
}

.footer-section img {
    width: 30px;
    height: 30px;
    margin: 5px;
    vertical-align: middle;
}

.footer-section a {
    color: #ffcc00;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Index Page Styles */
.index-content {
    text-align: center;
    padding: 100px; /* Adjust padding here */
    background-image: url('image/komuter1.jpg'); /* Background image */
    background-size: cover;
    background-position: center;
    color: #ffffff; /* White text */
    flex: 1;
}

.index-content h1, .index-content h2 {
    color: #ffffff; /* White text */
}

.index-content button {
    background-color: #003366; /* Dark blue background */
    color: #ffcc00; /* Yellow text */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.index-content button:hover {
    background-color: #ffcc00; /* Yellow background */
    color: #003366; /* Dark blue text */
}

/* About Us Page Styles */
.about-us-content {
    padding: 90px; /* Adjust padding here */
    background-color: #ffffff; /* White background */
    color: #003366; /* Dark blue text */
    flex: 1;
}

.about-us-content h1, .about-us-content h2 {
    color: #003366; /* Dark blue text */
}

.about-us-content p {
    margin: 20px 0;
    line-height: 1.6;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #ffffff;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #003366;
}

th {
    background-color: #003366;
    color: #ffcc00;
}

tr:hover {
    background-color: #f0f8ff;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #003366;
    border-radius: 4px;
    box-sizing: border-box;
}

button, .button {
    background-color: #003366;
    color: #ffcc00;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover, .button:hover {
    background-color: #ffcc00;
    color: #003366;
}

/* Status Badge Styles */
.badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #003366;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

/* Card Styles */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px 0;
}

.card-header {
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.card-title {
    color: #003366;
    margin: 0;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Content container */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    flex: 1;
}
