/* Style untuk container dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Style untuk konten dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 270px;
    z-index: 1;
    /* /padding: 10px;/ */
    border-radius: 4px;
}

/* Style untuk link di dalam dropdown */
.dropdown-content a {
    color: #333 !important;
    padding: 0px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;

}


/*.dropdown-content a:hover {
    color: #fff !important;
    padding: 0px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}*/

.bes {
    display: flex !important;
    align-items: center;
}

/* Efek hover pada link dropdown */
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #fe3f40 !important;
}

/* Menampilkan dropdown saat hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Animasi smooth untuk dropdown */
.dropdown-content {
    transform-origin: top;
    animation: dropdownAnimation 0.3s ease;
}




.ds-flex {
    display: grid;
}


    .tab-button2-tx {
    position: relative;
    padding: 12px 28px;
    font-size: 16px;
    color: #fe3f40;
    border: 2px solid #fe3f40;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    }

    .tab-button2-tx::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fe3f40;
    z-index: 0;
    transition: width 0.4s ease-in-out;
    }

    .tab-button2-tx:hover::before {
      width: 100%;
    }

    .tab-button2-tx a {
      position: relative;
      z-index: 1;
      color: #fe3f40;
      transition: color 0.3s ease-in-out;
    }

    .tab-button2-tx:hover a {
      color: #fff; /* Teks jadi hitam saat hover */
    }


/* Responsive Design */
@media (max-width: 768px) {


.dropdown:hover .dropdown-content {
    display: block;
    justify-items: center !important;
}
.dropdown-content {
    display: none;
    position: relative;
    background-color: #f9f9f9;
    min-width: 270px;
    z-index: 1;
    border-radius: 4px;
}

}
























/*PERMOHONAN*/


 .sec-tx {
        background-color: #333;
    }

.logs2 {
    display: none;
}

.logs {
    width: 250px;
}
 .dx-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;    
 }

/* Tab Container */
.tab-container {
    display: flex;
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 600px;
    overflow: hidden;
}

/* Tabs */
.tabs {
    width: 250px;
    background: #2c3e50;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.tab-button {
    border: none;
    background: none;
    padding: 15px 30px;
    color: #ffffff;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    background: #3498db;
    color: white;
}

.tab-button.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-right: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.icon {
    font-size: 24px;
}

/* Content Area */
.tab-content {
    flex-grow: 1;
    padding: 0px !important;
}

.content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content.active {
    display: block;
}

/* Content Styling */
.content h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.tugas, .fungsi {
    margin-bottom: 30px;
}

.tugas h3, .fungsi h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

.tugas p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.fungsi ul {
    list-style: none;
}

.fungsi li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.fungsi li::before {
    content: "•";
    color: #3498db;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
.logs {
    display: none !important;
}

.logs2 {
    display: block !important;
}
    .container {
        padding: 10px;
    }

    .tab-container {
        flex-direction: column;
    }

    .tabs {
        width: 100%;
        padding: 10px;
    }

    .tab-button {
        padding: 10px 20px;
    }

    .tab-button.active::before {
        display: none;
    }

    .tab-content {
        padding: 20px;
    }

    header h1 {
        font-size: 2em;
    }

    .content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    .content h2 {
        font-size: 20px;
    }

    .tab-content {
        padding: 15px;
    }

    .tugas h3, .fungsi h3 {
        font-size: 18px;
    }
}

/* Style untuk tab vertikal */
.container-tx {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-container-tx {
    display: flex;
    min-height: 500px;
    background: #fff;
    /*border-radius: 15px;*/
    /*box-shadow: 0 10px 20px rgba(0,0,0,0.1);*/
    overflow: hidden;
}

.tabs-tx {
    width: 406px;
    background: linear-gradient(145deg, #ffecee, #f5f5f5);
    padding: 20px 0;
    border-radius: 15px 0 0 15px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/*.tab-button-tx {
    width: 60%;
    padding: 15px 25px;
    border: none;
    background: transparent;
    color: #fff;
    text-align: left;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.tab-button-tx:hover {
    background: rgba(255,255,255,0.1);
}

.tab-button-tx.active {
    background: rgba(255,255,255,0.2);
    border-left: 4px solid #fff;
}

.tab-button-tx i {
    margin-right: 10px;
    font-size: 20px;
}*/

    .tab-button-tx {
    position: relative;
    padding: 12px 28px;
    font-size: 16px;
    color: #ffffff;
    border: 2px solid #d3d3d3;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    }

    .tab-button-tx::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #878282;
    z-index: 0;
    transition: width 0.4s ease-in-out;
    }

    .tab-button-tx:hover::before {
      width: 100%;
    }

    .tab-button-tx span {
      position: relative;
      z-index: 1;
      color: #333;
      transition: color 0.3s ease-in-out;
    }

    .tab-button-tx:hover span {
      color: #fff; /* Teks jadi hitam saat hover */
    }







.tab-content-tx {
    flex: 1;
    padding: 30px;
    background: #fff;

    border-left: 0px solid;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    width: 100%;

}

.content-tx {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-tx.active-tx {
    display: block;
}

/* Card styling */
/*.card-tx {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
*/
.card-header-tx {
    padding: 5px 0px;
    /*border-bottom: 1px solid #eee;*/
}

.card-header-tx h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
}
/*
.card-body-tx {
    padding: 20px;
}*/

.card-body-tx {
    margin-top: 20px;
}

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

.form-control-tx {
    width: 100%;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control-tx:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
}

/* Button styling */
.btn-primary-tx {
    background: #333;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.btn-primary-tx:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert styling */
.alert-tx {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.alert-info-tx {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.alert-tx:empty {
    display: none !important;
}

/* Radio button styling */
/*.form-nexa-tx {
    margin: 20px 0;
}
*/
.form-nexa-radio-tx {
    margin: 10px 0;
}

.form-nexa-radio-input-tx {
    display: none;
}

.form-nexa-radio-label-tx {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    line-height: 25px;
    color: #2c3e50;
}

.form-nexa-radio-label-tx:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #3498db;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.form-nexa-radio-input-tx:checked + .form-nexa-radio-label-tx:before {
    background-color: #3498db;
}

.form-nexa-radio-label-tx:after {
    content: '';
    position: absolute;
    left: 9px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.form-nexa-radio-input-tx:checked + .form-nexa-radio-label-tx:after {
    opacity: 1;
    transform: scale(1);
}

/* Tablet Styles (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {

     .das {
    display: grid;
    grid-template-columns: auto auto !important;
    justify-content: space-between;
    align-items: center;
}
     .das img{
        /*display: none;*/
        width : 243px !important;
      }
   .das p {
    font-size: 13px;
   }  


    .container-tx {
        padding: 15px;
    }

    .tab-container-tx {
        min-height: auto;
    }

    .tabs-tx {
        width: 308px;
    }

    .tab-button-tx {
        padding: 12px 20px;
        font-size: 14px;
    }

    .tab-button-tx i {
        font-size: 18px;
    }

    .tab-content-tx {
        padding: 20px;
    }

    .card-header-tx h3 {
        font-size: 20px;
    }

    .form-control-tx {
        padding: 10px;
    }

    .btn-primary-tx {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Mobile Styles (max-width: 767px) */
@media screen and (max-width: 767px) {

.mtx {
    margin-top: 30px;
}


.int_tab { 
    display: flex;
    margin-top: 25px;
    flex-direction: row !important;
    gap: 10px;
}
.logs {
    width: 80px;
}

 .dx-flex {
        display: flex !important;
        gap: 20px;
        width: 100%;
        justify-content: space-between;
        flex-direction: row;
    } 

.txt-center {
    text-align: left;
}
    .container-tx {
        padding: 10px;
    }

    .tab-container-tx {
        flex-direction: column;
        min-height: auto;
    }

.tabs-tx {
        width: 100%;
        border-radius: 15px 15px 0 0;
        padding: 10px;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        flex-direction: row;
        padding-bottom: 20px !important;
        gap: 10px;
        padding-left: 20px !important;
    }

    .tab-button-tx {
        width: auto;
        padding: 10px 15px;
        font-size: 14px;
        justify-content: center;
        border-radius: 8px;
    }




    .tab-button-tx.active {
/*        border-left: none;
        border-bottom: 4px solid #fff;*/
        background-color: #e0f1f9;
    }

    .tab-content-tx {
        padding: 15px;
    }

    .card-header-tx {
        padding: 0px 15px;
    }

    .card-header-tx h3 {
        font-size: 18px;
        text-align: center;
    }

    .card-body-tx {
        padding: 15px;
        margin-top: 0px !important;
    }

    .form-group-tx {
        margin-bottom: 15px;
    }

    .form-control-tx {
        padding: 8px;
        font-size: 14px;
    }

    .btn-primary-tx {
        padding: 10px 20px;
        font-size: 14px;
    }

    .form-nexa-radio-label-tx {
        font-size: 14px;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container-tx {
        padding: 5px;
    }

    .tabs-tx {
        padding: 5px;
    }
    .dst {
        text-align: left;
        width: 100%;
        margin-top: 30px;
    }
    .tab-button-tx {
        padding: 8px 12px;
        font-size: 12px;
        width: 100%;
    }

     .das {
    display: grid;
    grid-template-columns: auto auto !important;
    justify-content: space-between;
    align-items: center;
}
     .das img{
        display: none;
      }
   .das p {
    font-size: 10px;
   }  

    .tab-button-tx i {
        font-size: 16px;
        margin-right: 5px;
    }

    .card-header-tx h3 {
        font-size: 16px;
    }

    .form-control-tx {
        padding: 8px;
        font-size: 13px;
    }

    .btn-primary-tx {
        padding: 8px 15px;
        font-size: 13px;
    }

    .form-nexa-radio-label-tx {
        font-size: 13px;
        padding-left: 30px;
    }

    .form-nexa-radio-label-tx:before {
        width: 20px;
        height: 20px;
    }

    .form-nexa-radio-label-tx:after {
        left: 7px;
        top: 7px;
        width: 6px;
        height: 6px;
    }
}

/* Print styles */
@media print {
    .container-tx {
        padding: 0;
        max-width: 100%;
    }

    .tab-container-tx {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .tabs-tx {
        display: none;
    }

    .tab-content-tx {
        padding: 15px;
    }

    .btn-primary-tx {
        display: none;
    }
} 



.int_tab {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-banner {
display: flex;
    min-height: 100vh;
    align-items: center;

    padding-top: 200px !important;
    padding-bottom: 50px !important;
 }

 label {
    font-size: 13px;
    margin-bottom: 5px;
 }

 .das {
    display: grid;
    grid-template-columns: auto 300px;
    justify-content: space-between;
    align-items: center;
}
