// FONT
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;700&display=swap");

// *{
//     border: 1px solid #3355AD;
// }
// VARIABEL
$promaryColor: #00a859;
$secondaryColor: #00afef;
$textColor: #424b59;
$bgHalamanSetting: #d9d9d9;
$bgTombolSetting: #3355ad;

// moxin
@mixin tombol {
  display: inline-block;
  background-color: $promaryColor;
  border-radius: 2em;
  color: white;
  padding: 0.5em 2em;
  text-decoration: none;
}

.error {
  color: red;
  font-size: 0.8em;
  font-style: italic;
  display: block;
}
.setting-container {
  width: 100%;
  margin-bottom: 2em;
  .container-setting-title {
    display: flex;
    justify-content: space-around;
    .setting-title {
      font-size: 1.5rem;
      background-color: $bgHalamanSetting;
      padding: 0 6em;
      border-radius: 10px;
    }
    a {
      text-decoration: none;
      align-self: center;
      font-size: 1.5em;
      background-color: $bgTombolSetting;
      padding: 0 6em;
      color: #ffffff;
      border-radius: 10px;
      font-weight: 700;
      &:hover {
        color: yellow;
        font-size: 1.5em;
      }
    }
  }
  // setting on off formulir,statistik home, batasi jalur zonasi
  .container-setting-onoff {
    padding: 1em 0;
    background-color: $bgHalamanSetting;
    margin-top: 1.2em;
    border-radius: 10px;
    .toogle-custum {
      p {
        padding: 0;
      }
      .switch {
        input {
          margin: 0;
        }
      }
    }
  }

  // setting baris ke 2 jalur,kepala sekolah,upload juknis
  .container-baris-dua {
    margin-top: 1em;
    display: flex;
    justify-content: space-between;
    .control-kepala-sekolah {
      width: 70%;
      height: 340px;
      border-radius: 10px;
      margin-right: 1em;
      box-shadow: 1px 2px 4px #424b59;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      .control-body-kepsek {
        // width: 390px;
        height: 166px;
        background-color: $bgHalamanSetting;
        border-radius: 10px;
        padding: 1em;
        h2 {
          color: #00a859;
          font-size: 0.9em;
        }
        .form-kepsek {
          display: flex;
          justify-content: space-between;
          align-items: center;
          form {
            width: 50%;
          }
          label {
            margin: 0;
          }

          .form-group {
            margin: 0;
          }
          .ttd-kepsek {
            width: 6em;
            height: 6em;
            border: 1px solid #00afef;
            border-radius: 1rem;
            background-color: white;
            padding: 0.8em;
          }
        }
      }

      .control-body-surat-ppdb {
        // width: 390px;
        height: 166px;
        background-color: $bgHalamanSetting;
        margin-top: 1em;
        border-radius: 10px;
        padding: 1em;
        h2 {
          font-size: 0.9em;
          color: #00a859;
        }
        .form-group {
          margin: 0;
          label {
            margin: 0;
          }
        }
      }
    }

    .control-bacup-reset {
      // width: 346px;
      max-height: 340px;
      border-radius: 10px;
      box-shadow: 1px 2px 4px #424b59;
      background-color: $bgHalamanSetting;
      padding: 1em;
      flex-grow: 1;
      .reset-title {
        h2 {
          font-size: 1.2em;
          color: #00a859;
        }
      }
      .body-reset {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 1em;
        div {
          align-items: baseline;
          margin-bottom: 0.6em;
          a {
            font-size: 1.2em;
            margin: 0;
          }
        }
      }
    }
  }

  // containner identitas sekolah
  .container-identitas-sekolah {
    margin-top: 1em;
    width: 100%;
    background-color: $bgHalamanSetting;
    box-shadow: 1px 2px 4px $textColor;
    padding: 1em;
    border-radius: 10px;
    .title-identitas-sekolah {
      h2 {
        font-size: 0.9em;
        color: #00a859;
      }
    }
    .body-identitas-sekolah {
      .logo-sekolah {
        margin-left: 1em;
        padding: 0.9em;
        background-color: white;
        display: flex;
        justify-content: center;
        border-radius: 4px;
      }
    }
  }

  // conatainer tambah peanguna
  .container-tambah-user {
    background-color: $bgHalamanSetting;
    box-shadow: 1px 2px 4px $textColor;
    padding: 1em;
    margin-top: 1em;
    border-radius: 10px;
    h5 {
      font-size: 0.9em;
      color: #00a859;
    }
  }
}

// sidebar custum
.sidebar-custum {
  background: rgb(0, 168, 89);
  background: linear-gradient(
    180deg,
    rgba(0, 168, 89, 1) 0%,
    rgba(14, 218, 122, 1) 100%
  );

  .sidebar-brand {
    .sidebar-brand-icon {
      img {
        width: 10em;
      }
    }
  }
}

// CSS UNTUK TOOGLE CUSTUM YANG ADA DI HALAMAN SETTING

.switch {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(58px);
  -ms-transform: translateX(58px);
  transform: translateX(58px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

//   =============================stye halaman operator
.akun-container {
  .error {
    color: red;
    font-size: 0.8em;
    font-style: italic;
    display: block;
  }
}

// #wrapper {

//     .big-box h2 {
//         text-align: center;
//         width: 100%;
//         font-size: 1.8em;
//         letter-spacing: 2px;
//         font-weight: 700;
//         text-transform: uppercase;
//         cursor: pointer;
//     }

// .modal-dialog {
//     width: 100%;
//     height: 100%;
//     padding: 0;
//     margin: 0;
// }

//     .modal-content {
//         height: 100%;
//         border-radius: 0;
//         color: #333;
//         overflow: auto;
//     }

//     .modal-title {
//         font-size: 3em;
//         font-weight: 300;
//         margin: 0 0 10px 0;
//     }

//     .close {
//         color: black ! important;

//     }
// }
