/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}


/*
* 
************************layout form dan cek status laporan******************************************************/

/* .layout-container {
    background-color: #000000;} */


html, body {
  max-width: 100%;
  height: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
}

.navbar-form {
  padding:10px;
  margin: 20px;
  border-radius: 12px;
  

}
.navbar-form-margin {
    margin: 20px;
}


.navbar-form .logo-disdik img {
  width: 80px;
  height: auto;

}

.navbar-form .nav-item {
  margin-left: 2px;
}

.navbar-form .nav-item div {
  font-size: 1rem; 
  font-weight: 700;
}

.navbar-form .nav-item small {
  font-size: 0.rem;
}


.back-link-container {
    color: #2F2F2F;
    font-weight: 600;
}

.back-link a {
    color: #989898 !important;
    text-decoration: none; 
    font-weight: normal; 
}

.back-link .back-icon {
    width: 10px;
    margin-right: 5px;
    vertical-align: middle;
  
}

.warning-form {
    background-color: #FFCD73;
    color: #2F2F2F; 
    padding: 8px;
    border-radius: 0.5rem;
    font-size: 14px;
    width: calc(100% - 35px);
    margin: 0 15px 15px 15px;
    box-sizing: border-box;
}

.sidebar-content {
  padding: 20px;
  position: relative;
  max-width: 100%;
  display: flex;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  align-items: start;
  justify-content: start;
  flex-direction: row;
  background-color: transparent;
}

.sidebar-content .tabs {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  width: 220px;
  align-items: stretch;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  z-index: 2;
  position: relative;
}


.sidebar-content .tabs label{
  position: relative;
  display: block;
  height: 100%;
  flex-direction: row;
  text-align: start;
  line-height: 50px;
  cursor: pointer;
  transition: all 0.3 ease;
  background-color: transparent;
  
}
.tabs label:hover {
  background-color: rgba(255, 255, 255, 0.2); 
}

#blog:checked ~ .tabs .content-laporan,
#blog:checked ~ .tabs .status{
  color: #333333;
}

.custom-radio {
  display: none;
}


.tabs label + label {
  border-top: 1px solid #BCBCBC;
}

.slider-tab {
  position: absolute;
  left: 0px;
  top: 0;
  width: 4px;
  height: 50px;
  background: teal;
  border-radius: 0 4px 4px 0;
  transition: top 0.3s ease;
}

section {
  flex: 1;
  margin: 0 0 0 25px; 
  padding: 30px;
  border-radius: 12px;
  background-color: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.content {
  display: none;
}

.content .title {
  font-size: 24px;
  font-weight: 600;
}


#laporan:checked ~ section .content-laporan {
  display: block;
}

#status:checked ~ section .content-status {
  display: block;
}


#laporan:checked ~ .tabs .slider-tab {
  top: 10px;
}

#status:checked ~ .tabs .slider-tab {
  top: 60px;
}


#laporan:checked ~ .tabs .laporan,
#status:checked ~ .tabs .status {
  color: #0a4d68;
  font-weight: bold;
}


.top-padding-container {
    padding-top: 50px;
    border-radius: 10px;
}

.custom-card {
    width: 100%;
    max-width: 480px;
}

.custom-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-check:hover {
    background-color: #eef1f3;
}

.custom-check .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0;
    cursor: pointer;
}

.custom-check .form-check-label {
    cursor: pointer;
    user-select: none;
}

.cek-recaptcha {
  display: flex;
  justify-content: space-between;
  width: auto;
  align-items: center;
  padding:6px 8px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  max-width: 200px;
  max-height: 60px;
  margin: 0 auto 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checkbox-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 12px;
}

.checkbox-section input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

.logo-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #888;
}

.logo-section small {
    display: inline-block; 
    width: 100%;
    text-align: center;
    font-size: 6px;
}


.logo-section img {
  height: 20px;
  display: block;
  margin-bottom: 4px;
}

.logo-section a {
  color: #888;
  text-decoration: none;
}

.cek-btn {
    background-color: #28a745;
    color: white;
}

.cek-btn:hover {
  background-color: #0F7529; 
  color: white;
}

/* .g-recaptcha {
  transform: scale(0.8); 
  transform-origin: 0 0; 
  margin-left: 0; 
} */

.modal-header {
  background-color: #005F7E;
  align-items: center;  
  justify-content: center;            
}

.modal-header h5{
  color: white;
  text-align: center;
}

.modal-body {
  padding: 30px; 
  background-color: white; 
}


.modal-footer {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.status-info {
  padding: 20px;
  border-radius: 10px;
  background-color: #e9ecef;
  margin-top: 15px;
}

.status-info .badge {
font-size: 16px;
}
          
.status-info h6 {          
  font-weight: bold;
}

.status-info p {
    font-size: 14px;
}


/*
* 
************************HALAMAN WELCOME******************************************************/

.container{
  margin: 0 10px;
  padding-top: 10px

}

.header-section {
  display: flex;
  justify-content: space-between;
}

.header-title h1 {
  font-size:50px;
  font-weight:bold;
  line-height: 1.2;
}

.header-title p {
  color: #555;
  margin-top: 5px;
}

.layanan-title {
  font-weight: 700;
  border-bottom: 3px solid #005F7E;
  display: inline-block;
  padding-bottom: 0px;
  margin-bottom: 15px;
    
}

.card-placeholder {
  background-color: #d9d9d9;
  width: 100%;
  height: 130px;
  border-radius: 5px;
}

.layanan-type {
  position: relative;
  margin-top: 160px;
  height: auto;
}

.layanan-wrapper {
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.layanan-wrapper::-webkit-scrollbar {
  display: none;
  }

.layanan-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
    
}

.layanan-item {
  flex: 0 0 25%;
  padding: 5px;
  text-align: center;
}

.layanan-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.arrow {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  background-color: white;
  color: grey;
  border: none;
  padding: 10px 15px;
  font-size: 35px;
  cursor: pointer;
  z-index: 10;
  display: none;
  line-height:1;
}

.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}

.layanan-type:hover .arrow {
  display: block;
  
}

@media (max-width: 768px) {
  .sidebar-content {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar-content .tabs {
    flex-direction: row;
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
    border-radius: 10px 10px 0 0;
  }

  .sidebar-content .tabs label {
    flex: 1;
    text-align: center;
    line-height: 50px;
    border-top: none !important;
    border-right: 1px solid #BCBCBC;
  }

  .tabs label:last-child {
    border-right: none;
  }

  .slider-tab {
    width: 100%;
    height: 4px;
    top: auto;
    bottom: 0;
    left: 0;
    border-radius: 0 0 4px 4px;
  }

  #laporan:checked ~ .tabs .slider-tab {
    left: 0;
    top: auto;
    bottom: 0;
    width: 50%;
  }

  #status:checked ~ .tabs .slider-tab {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 50%;
  }

  section {
    margin: 0;
    border-radius: 0 0 10px 10px;
    min-height: auto;
  }
}