/* Navbar */
.navbar {
    background-color: #ffffff;
    padding: 10px;
    border-bottom: 2px solid #003366;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-brand .brand-text {
    font-size: 1rem;
    font-weight: bold;
    color: #003366;
    margin-left: 10px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-color: #003366;
    border-radius: 2px;
    width: 20px;
    height: 2px;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    background-color: #003366;
    border-radius: 2px;
    width: 20px;
    height: 2px;
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    top: 6px;
}

/* Responsive Design */

/* HP/Layar Kecil */
@media (max-width: 768px) {
    .navbar-brand {
        flex: 1;
        justify-content: center !important;
        display: flex;
    }

    .navbar-brand .brand-text {
        display: none !important;
    }
}

/* PC/Layar Lebar */
@media (min-width: 769px) {
    .navbar-brand {
        display: flex;
        align-items: center;
    }

    .navbar-brand img {
        margin-right: 10px;
    }

    .navbar-brand .brand-text {
        display: inline;
    }
}

/* Styling tambahan untuk elemen navbar */
.navbar-light .navbar-nav .nav-link {
    color: #003366;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #0056b3;
}

.navbar-light .navbar-nav .btn {
    font-size: 0.875rem;
    padding: 5px 10px;
    border-radius: 3px;
}

/* Index */

/* Button Kece */
.btn-primary {
    background: linear-gradient(135deg, #0056b3, #007bff);
    border: none;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004085, #0056b3);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #5cb85c);
    border: none;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #28a745);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    border: none;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #6c757d);
    transform: translateY(-2px);
}

/* Modal Kece */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #003366, #0056b3);
    color: #fff;
    border-bottom: none;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: none;
}

.modal-header .close {
    color: #fff;
    text-shadow: none;
    opacity: 0.9;
}

.modal-header .close:hover {
    opacity: 1;
}

/* Background Styling */
body {
    background: linear-gradient(135deg, #e9f8ff, #f3f4f7);
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* Navbar Background */
.navbar {
    background: linear-gradient(135deg, #0056b3, #007bff);
    border-bottom: 2px solid #0056b3;
    color: #fff;
}

.navbar .navbar-brand {
    color: #fff !important;
}

.navbar .navbar-brand img {
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Container Styling */
.container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 900px;
    margin: 20px auto;
}

/* Heading Style */
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0056b3;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Button Hover Effects */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #003366, #0056b3);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

/* Search Bar Styling */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

/* Search Bar Styling */
.form-control {
    border-radius: 25px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.25);
}

/* Pesan "Data tidak ditemukan" */
#no-data td {
    background: #f8f9fa;
    font-style: italic;
}

#no-data .fa-exclamation-circle {
    color: #6c757d;
}