/* ---------------- PRELOADER ------------- */
#loader {
  position: absolute;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(135deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  justify-content: center;
  align-items: center;
  display: flex;
}


/* Shadow */
.shadows {
  box-shadow: 0 0.5rem 0.8rem rgba(19, 78, 74, 0.20) !important;
}


#loader img {
}


#loader .load {
  font-size: 10px;
}


/* Pagination */
.pagination {
  justify-content: center !important;
}


.dataTables_info {
  margin-bottom: 15px;
  text-align: center;
}


/* Alert */
.alert-danger {
  background-color: #c02222 !important;
  padding: 24px !important;
  text-align: left !important;
  font-size: 10px !important;
  font-weight: 400 !important;
}


/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}


@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0px;
    opacity: 1;
  }
}


@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}




/* ----------------- LOGIN ---------------- */
.alert {
  font-size: 12px;
  text-align: center;
  margin: 0;
  background-color: #134E4A !important;
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
}

.login-wrapper {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #072725 0%, #0B3835 50%, #134E4A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.login-card {
  width: 100%;
  max-width: 410px;
  background-color: #ffffff;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.login-card .main-header {
  background-color: #ffffff;
  padding: 28px 24px 34px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card .login-logo {
  width: 155px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.login-card .form-login {
  background: linear-gradient(145deg, #0B3835 0%, #134E4A 60%, #0F766E 100%);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  margin-top: -18px;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 -6px 20px rgba(11, 56, 53, 0.35);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.login-card .form-title {
  font-size: 19px;
  font-weight: 700;
  color: #5EEAD4;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}

.login-card .form-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #E8F3F2;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.login-card .input {
  height: 48px;
  background-color: #E8F3F2;
  padding: 10px 18px;
  color: #134E4A;
  font-weight: 500;
  font-size: 13.5px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.login-card .input::placeholder {
  color: #7E9E9B;
  font-weight: 400;
  font-size: 13px;
}

.login-card .input:focus {
  background-color: #ffffff;
  color: #0B3835;
  border-color: #5EEAD4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.25);
}

.login-card .remember-checkbox {
  width: 17px;
  height: 17px;
  margin: 0;
  cursor: pointer;
  background-color: #E8F3F2;
  border: 1.5px solid #2A8C82;
  border-radius: 4px;
}

.login-card .remember-checkbox:checked {
  background-color: #0F766E;
  border-color: #0F766E;
}

.login-card .form-check-label {
  font-size: 12.5px;
  font-weight: 400;
  color: #E8F3F2;
  cursor: pointer;
  user-select: none;
}

.login-card .btn-submit {
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0F766E 0%, #2A8C82 100%);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.45);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card .btn-submit:hover {
  background: linear-gradient(90deg, #134E4A 0%, #0F766E 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.55);
}

.login-card .btn-submit:active {
  transform: translateY(0);
}

.login-card .auth-links {
  margin-top: 14px;
}

.login-card .register-text {
  color: rgba(232, 243, 242, 0.85);
  font-size: 11.5px;
  font-weight: 400;
}

.login-card .register-text a {
  color: #5EEAD4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.login-card .register-text a:hover {
  color: #A7F3D0;
  text-decoration: underline;
}

.login-card .login-footer {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(232, 243, 242, 0.1);
  color: rgba(232, 243, 242, 0.45);
  font-size: 10.5px;
}

/* Backward compatibility for any remaining legacy markup */
.login {
  min-height: 100vh;
  background: linear-gradient(135deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
}

.login .main {
  background-color: #ffffff;
  padding: 24px 20px 30px 20px;
}

.login .main img {
  width: 155px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.login .form-login {
  margin-top: -18px;
  padding: 32px 24px 22px 24px;
  background: linear-gradient(135deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.login .form-login .form-title {
  font-size: 18px;
  font-weight: 700;
  color: #5EEAD4;
}

.login .form-login .input {
  background-color: #E8F3F2;
  color: #134E4A;
  border-radius: 10px;
  padding: 12px 18px;
}

.login .form-login .btn-submit {
  border-radius: 10px;
  background: linear-gradient(90deg, #0F766E 0%, #2A8C82 100%);
  color: #ffffff;
}

@media (max-width: 480px) {
  .login-wrapper {
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .login-card {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
  }

  .login-card .main-header {
    padding: 24px 20px 30px 20px;
  }

  .login-card .login-logo {
    width: 145px;
  }

  .login-card .form-login {
    flex: 1;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    padding: 28px 22px 20px 22px;
    justify-content: space-between;
  }
}

/* --------- Register ------------- */
.register {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  height: 100vh;
}


.register .bg-main {
  background: rgb(19, 78, 74);
  background: linear-gradient(90deg, #0F766E 0%, #134E4A 50%, #0B3835 100%);
  padding: 64px 0px;
  margin: 11px;
  border-radius: 15px;
}


.register .bg-main h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}


.register .form-register {
  padding: 21px;
}


.register .form-register label {
  font-size: 12px;
  font-weight: 500;
  color: #3c3c3c;
  margin-bottom: 10px;
}


.register .form-register .input {
  font-size: 12px;
  font-weight: 300;
  color: #134E4A;
  padding: 13px 20px;
  background-color: #f3f3f3;
  border: none;
  border-radius: 9px;
}


.register .form-register .invalid-feedback {
  font-size: 11px;
  font-weight: 300;
}


.register .form-register .inputdiv {
  border-radius: 10px;
  background-color: #f3f3f3;
  padding: 10px;
  justify-content: center;
  place-self: center;
  text-align: center;
}


.register .form-register .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}


.register .form-register .inputfile + label {
  font-size: 12px;
  font-weight: 600;
  color: #aeaeae;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
  padding-top: 13px;
  font-family: 'Poppins', sans-serif;
}


.register .form-register .inputfile label span {
  margin-top: 13px;
}


.register .form-register .inputfile:focus + label,
.register .form-register .inputfile + label:hover {
  color: #134E4A;
  transition: 0.3s all ease-in-out;
}


.register .form-register .inputfile + label * {
  pointer-events: none;
}


.register .form-register .btn-submit {
  padding: 13px 0px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(90deg, #134E4A 0%, #0F766E 100%);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}


.register .form-register .register-text {
  color: #134E4A;
  font-size: 10px;
  font-weight: 300;
}


/* --------- DASHBOARD ----------- */
.dashboard {
  padding: 26px 24px;
  padding-bottom: 120px;
  background-color: #f6f6f6;
  width: 100%;
  min-height: 100vh;
}


.dashboard .ratio {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 60px;
  position: relative;
  width: 60px;
}


.dashboard .greeting {
  margin-bottom: 20px;
}


.dashboard .greeting h5 {
  color: #134E4A;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  font-family: 'Poppins', sans-serif;
}


.dashboard .greeting p {
  color: #134E4A;
  font-size: 12px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}


.dashboard .total-presensi .title {
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #134E4A 0%, #0F766E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Poppins', sans-serif;
}


.dashboard .total-presensi .box {
  background: linear-gradient(0deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  padding: 12px;
  border-radius: 20px;
}


.dashboard .total-presensi .box h5 {
  font-size: 36px;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}


.dashboard .total-presensi .box p {
  font-size: 10px;
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}


.dashboard .alert-success {
  background: linear-gradient(90deg, #134E4A 0%, #0F766E 100%) !important;
  border-radius: 15px;
  padding: 22px;
}


.dashboard .alert-success p {
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}


.dashboard .alert-warning {
  background-color: #b89c0c !important;
  border-radius: 15px;
  padding: 22px;
}


.dashboard .alert-warning p {
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}


.dashboard .alert-danger {
  background-color: #c02222 !important;
  padding: 22px !important;
  border-radius: 15px;
}


.dashboard .alert-danger p {
  text-align: left !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: white !important;
  font-family: 'Poppins', sans-serif;
}


.dashboard .riwayat .title {
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #134E4A 0%, #0F766E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Poppins', sans-serif;
}


.dashboard .riwayat .card {
  border-radius: 20px;
  margin-top: 15px;
}


.dashboard .riwayat .card .table {
  color: #134E4A;
}


.dashboard .riwayat .card .table thead {
  border-color: #134E4A;
  border-top: 2px solid currentColor;
  font-size: 14px;
}


.dashboard .riwayat .card .table tbody tr {
  font-size: 13px;
}


.dashboard .riwayat .card .btn-search {
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(90deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  align-items: center;
  display: grid;
}


.dashboard .card-rekap {
  padding: 12px 18px;
  border-radius: 10px !important;
}


.dashboard .card-rekap p {
  font-size: 12px;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}


.dashboard .card-rekap h5 {
  text-align: center;
  font-size: 16px !important;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}


div.nav {
  background: linear-gradient(90deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  border-radius: 31px;
  z-index: 999;
}


div.nav ul {
  padding-right: 2rem;
}


div.nav ul li {
  list-style-type: none;
  padding: 7px 12px;
}


/* ---------- Profile ------------ */
.profile {
  margin: 15px 22px;
}


.profile .header .title {
  margin: auto !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #134E4A;
}


.profile .detail .ratio {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 160px;
  position: relative;
  text-align: center;
  margin: auto;
  width: 160px;
  opacity: 1;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
}


.profile .detail h5 {
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #134E4A;
}


.profile .detail p {
  margin-top: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #134E4A;
  margin-bottom: 0px;
}


.profile .logout {
  color: #c00909 !important;
}


.profile .middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}


.profile .edit:hover .ratio {
  opacity: 0.3;
}


.profile .edit:hover .middle {
  opacity: 1;
}


.profile .text {
  color: white;
  font-size: 16px;
}


/* ---------- ERROR PAGE --------- */
.error {
  width: 100%;
  height: 100vh;
  padding: 0px 30px;
  background-color: #efefef;
}


.error .row {
  height: 100%;
}


.error .main {
  margin: auto;
}


.error p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #262626;
  margin-bottom: 17px;
}


.error button {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  background: linear-gradient(90deg, #134E4A 0%, #0F766E 100%);
  color: #ffffff;
  padding: 10px 30px;
  border: none;
  border-radius: 20px;
}


/* ------- Presensi ------------ */
.presensi {
  margin: 15px 22px;
}


.presensi .header .title {
  margin: auto !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #134E4A;
}


.presensi .content {
  margin: 20px 0px;
  margin-bottom: 40px;
}


.presensi .content .date {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #134E4A;
}


.presensi .inputdiv {
  border-radius: 15px;
  background: linear-gradient(0deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  padding: 50px 0px;
  justify-content: center;
  place-self: center;
  text-align: center;
}


.presensi .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}


.presensi .inputfile + label {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
  padding-top: 13px;
  font-family: 'Poppins', sans-serif;
}


.presensi .inputfile label span {
  margin-top: 13px;
}


.presensi .inputfile:focus + label,
.presensi .inputfile + label:hover {
  color: #D9EFED;
  transition: 0.3s all ease-in-out;
}


.presensi .inputfile + label * {
  pointer-events: none;
}


.presensi .location {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #134E4A;
}


.presensi .content .koor {
  font-size: 12px;
  color: #134E4A;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}


.presensi .content .map {
  width: 100%;
  height: 150px;
  border-radius: 20px;
}


.presensi .content .time {
  padding: 9px 40px;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(90deg, #0F766E 0%, #134E4A 100%);
  border-radius: 21px;
  margin: auto;
}


.presensi .content .btn-submit {
  background: linear-gradient(0deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0px;
  border-radius: 12px;
}


.presensi .content .status {
  font-size: 12px;
  text-align: center;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}


/* Typewritter */


/* Upload Surat Page */
.card-opt {
  background: linear-gradient(0deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  padding: 54px 0px;
  color: #ffffff;
  border-radius: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 35px;
}


.center-vertical {
  margin: 0;
  -ms-transform: translateY(30%);
  transform: translateY(30%);
}


.presensi .pilihan {
  height: 100vh;
}


.pills .nav .active {
  background: linear-gradient(0deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  color: white !important;
}


.pills .nav-link {
  font-size: 10px;
  padding: 15px 25px;
  border-radius: 16px;
  color: #969696 !important;
  border: 1px solid #cecece;
}


.pills .btn-submit {
  background: linear-gradient(0deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  padding: 10px 0px;
}


.pills label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
}


.pills table td,
.pills table th {
  font-size: 10px;
}


.pills table button {
  font-size: 10px;
}


.pills h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin-top: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}


.pills .modal .btn-tutup {
  background: linear-gradient(0deg, #0B3835 0%, #134E4A 50%, #0F766E 100%);
  color: white !important;
  padding: 10px 0px;
  margin: 0px 20px;
}


/* ---------------- SUPER SOFT CREAM CARD ---------------- */

.card {
  background: linear-gradient(
    135deg,
    #FFFDF9 0%,
    #FCF8F2 60%,
    #F8F0E6 100%
  ) !important;

  border: none;
  border-radius: 15px;
  color: #134E4A;

  box-shadow: 0 5px 18px rgba(19, 78, 74, 0.06);
}


/* Card Dashboard */
.dashboard .card {
  background: linear-gradient(
    135deg,
    #FFFDF9 0%,
    #FCF8F2 60%,
    #F8F0E6 100%
  ) !important;

  border: none;
  color: #134E4A;

  box-shadow: 0 5px 18px rgba(19, 78, 74, 0.06);
}


/* Card Rekap */
.dashboard .card-rekap {
  background: linear-gradient(
    135deg,
    #FFFDF9 0%,
    #FCF8F2 60%,
    #F8F0E6 100%
  ) !important;

  color: #134E4A;
  border: none;
  border-radius: 10px !important;

  box-shadow: 0 4px 15px rgba(19, 78, 74, 0.05);
}


/* Card Riwayat */
.dashboard .riwayat .card {
  background: linear-gradient(
    135deg,
    #FFFDF9 0%,
    #FCF8F2 60%,
    #F8F0E6 100%
  ) !important;

  border: none;
  border-radius: 20px;
  margin-top: 15px;
  color: #134E4A;

  box-shadow: 0 5px 18px rgba(19, 78, 74, 0.06);
}


/* Teks Card */
.card h3,
.card h4,
.card h5,
.card p,
.card span {
  color: #134E4A;
}


/* Table */
.dashboard .riwayat .card .table {
  color: #134E4A;
}


/* Header Table */
.dashboard .riwayat .card .table thead {
  border-color: #D4B896;
}


/* Accent tipis */
.card-accent {
  border-left: 3px solid #D4B896;
}


/* Hover */
.card {
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 22px rgba(19, 78, 74, 0.09);
}