/* styles.css */
body {
   
    font-family: Arial, sans-serif;
    background-color: #3f3f40;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Menghindari scroll horizontal */
    display: flex;
    justify-content: center; /* Pusatkan container secara horizontal */
    align-items: center; /* Pusatkan container secara vertikal */
    height: 100vh; /* Tinggi penuh layar */
}
h2{
    color: white;

}
.container{
    width: 90%;
    margin-top:70px;
   
   align-content: center;
    align-items: center;
transition: margin-left .5s;
    padding: 20px;
      
}
.container.shifted {
    margin-left: 250px; /* Ketika leftNavbar tampil */
    width: calc(100% - 250px); /* Menyesuaikan lebar dengan navbar */
    box-sizing: border-box;
   /* margin-right: 20px;*/
}

 #loader {
            display: none; /* Awalnya tersembunyi */
            border: 10px solid #ccc; /* Light grey */
            border-top: 10px solid #3498db; /* Blue */
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 2s linear infinite;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1000; /* Tampilkan di atas elemen lain */
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }


/* Styles for the left navbar */
.left-navbar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
     left: -250px;
      width: 250px;
}

/*.left-navbar {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -250px;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}*/
.active{
    color: #32a852 !important;
}

.left-navbar a {
   /* padding: 8px 8px 8px 32px;*/
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
    transition: 0.3s;
}

.left-navbar a:hover {
    color: #f1f1f1;
}

.left-navbar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border: none;
    z-index: 200000;
    margin-left: 10px;
   
}

.openbtn:hover {
    background-color: #444;
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px 0;
    z-index: 1000;
   /* left: 50px;*/
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.navbar li {
    display: inline;
    margin: 0 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.navbar a:hover {
    text-decoration: underline;
}

.content-section {
    /*padding: 50px;*/
    margin-top: 50px auto;
   /* margin-left: 100px;*/
    width: 100%;
     align-content: center;
    align-items: center;
    
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
     font-family: Arial, Helvetica, sans-serif;
  color: #545353;
  text-shadow: 1px 1px 0px #fff;
  background: #eaebec;
  border: #ccc 1px solid;
}

th, td {
   /* padding: 10px;*/
    /*text-align: left;*/
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.details div {
 
    border: 1px solid #ddd; /* Opsional: tambahkan border untuk membuatnya lebih terlihat */
    padding: 10px; /* Opsional: tambahkan padding untuk memberikan ruang di dalam container */

    background: hsla(208, 7%, 55%, 1);

background: linear-gradient(90deg, hsla(208, 7%, 55%, 1) 0%, hsla(191, 5%, 40%, 1) 100%);

background: -moz-linear-gradient(90deg, hsla(208, 7%, 55%, 1) 0%, hsla(191, 5%, 40%, 1) 100%);

background: -webkit-linear-gradient(90deg, hsla(208, 7%, 55%, 1) 0%, hsla(191, 5%, 40%, 1) 100%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#858E96", endColorstr="#60696B", GradientType=1 );
}
.details tr {
    padding: 1px !important;
   
}

@media (max-width: 600px) {
    .navbar li {
        display: block;
        margin: 10px 0;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    tr {
        margin-bottom: 15px;
    }

    td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}


/* Styles for Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 

}

.modal-content {
   /* background-color: #fefefe;*/
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 50%; 
    background-color: #3f3f40;
        align-items: center;
    align-content: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
tr:hover {
    background-color: white;
}

 table {
            font-family: Arial, sans-serif;
            border-collapse: collapse;
            width: 100%;
        }

        th, td {
            border: 1px solid #ddd;
            padding: 8px;
        }

        th {
            background-color: #f2f2f2;
            /*text-align: left;*/
        }


        /* Modal container */
.modaldaftarkios {
   display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* Modal content */
.modal-contentdaftarkios {
  background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    height: 90%;
    overflow: auto;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

 .table-wrapper {
            max-height: 80vh; /* atau ukuran lain yang Anda butuhkan */
            overflow: auto;
        }