﻿/* Dashboard */
html {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.fix-width {
    width: 100%; /* Menjaga lebar tetap */
    cursor: pointer;
}

.fix-height {
    height: 75vh; 
    overflow-y: auto; /* Membuat panel bisa di-scroll secara vertikal */
    width: 100%; /* Pastikan tetap setengah dari parent */
}


.header {
    font-size: 1.5rem;
    height: 64px;
    box-shadow: 0px 2px 10px rgba(0, 191, 255, 0.6);
}

footer {
    text-align: center;
    height: 50px;
    padding: 10px;
    margin-top: 20px;
    width: 100%;
    box-shadow: 0px -2px 10px rgba(0, 191, 255, 0.6); /* Neon blue glow */
}

.logo {
    display: flex;
    align-items: center;
    border-radius: 8px;
}


    .logo img {
        height: 50px;
        margin-right: 10px;
    }

    .logo h1 {
        color: #4B0082;
    }

.profile-image {
    width: 40px; /* Atur ukuran sesuai kebutuhan */
    height: 40px;
    border-radius: 50%; /* Membuatnya bulat */
    object-fit: cover;
}

.drawer-with-footer {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.drawer-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    flex-grow: 0; /* Pastikan elemen tidak tumbuh memenuhi tinggi */
    align-items: flex-start;
    justify-content: flex-start; /* Pastikan semua elemen mulai dari atas */
    overflow-y: auto;
    min-height: 82%;
    max-height: 82%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.drawer-footer {
    padding: 5px;
    text-align: center;
    background-color: #f4f4f4;
    height: 50px;
}

.custom_toolbar {
    padding: 8px;
    display: flex;
    width: 100%;
    height: 32px;
    justify-content: space-between; /* Pastikan tombol Settings di kanan */
}



/* Form styling */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Keyframe animation for fade-in effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* CSS untuk memastikan modal muncul di atas konten lainnya */
.modal {
    position: fixed; /* Agar modal tetap terlihat di layar, meskipun halaman digulir */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050 !important; /* Menjamin modal muncul di atas */
}

    /* Menambahkan styling untuk overlay background */
    .modal.show {
        display: block;
    }

.modal-dialog {
    z-index: 1051; /* Pastikan dialog modal di atas overlay */
}

/* map */
#map {
    height: 500px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .splash-title {
        font-size: 2rem;
    }

    .splash-subtitle {
        font-size: 1rem;
    }

    .splash-logo {
        width: 30%; /* Slightly smaller for smaller devices */
    }
}

