/* Landing page */
html, body {
  height: 100%;
  margin: 0;
  background-color: #F8F3EF;
}

.full-height {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap; 
}

.left-content {
  flex: 1 1 50%; 
  padding: 5rem 3rem;
}

.left-content h1 {
  font-weight: bold;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.right-side {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-side img {
  width: auto;
  height: 450px;
  max-height: 100%;
}

.small-button,
.button-faq {
  border-radius: 20px;
  position: absolute;
  bottom: 20px;
}

.small-button {
  right: 115px;
}

.button-faq {
  right: 30px;
}

.btn-custom {
  width: 150px;
  height: 40px;
  background-color: #114888;
  color: #fff;
  border-radius: 20px;
  box-shadow: 3px 3px 3px #b1b1b1, -3px -3px 3px #fff;
  letter-spacing: 1.3px;
  border: none;
}

.btn-custom:hover {
  background-color: #456882;
}

@media (max-width: 768px) {
  .left-content {
    padding: 2rem 1rem;
    text-align: left;
  }

  .right-side img {
    width: auto;
    max-height: 40vh;
  }

  .btn-custom {
    width: 120px;
    height: 36px;
    font-size: 0.9rem;
  }

  .small-button,
  .button-faq {
    position: static;      
    display: block;       
    margin: 10px auto;   
    width: 80%;         
    max-width: 200px;      
  }
}

@media (max-width: 480px) {
  .full-height {
    flex-direction: column; 
    align-items: center;
  }

  .left-content, .right-side {
    flex: 1 1 100%;
  }

  .left-content h1 {
    font-size: 1.5rem;
  }

  .small-button {
    right: 80px;
  }
}

/* Login page */
body.login {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ecf0f3;
}

.wrapper {
    max-width: 400px;
    min-height: 500px;
    margin: auto;
    padding: 40px 30px 30px 30px;
    background-color: #ecf0f3;
    border-radius: 15px;
    box-shadow: 13px 13px 20px #cbced1, -13px -13px 20px #fff;
}

.logo_login {
    width: 78%;

    padding: 10px 20px 10px 20px;
    margin: auto;
    border-radius: 40px;
    box-shadow:
        /* 0px 0px 3px #5f5f5f, */
        0px 0px 0px 5px #ecf0f3,
        8px 8px 15px #a7aaa7,
        -8px -8px 15px #fff;

}

.logo_login img {
    width: 100%;
    /* height: 80px; */
    object-fit: cover;
    /* border-radius: 40px;
    box-shadow: 0px 0px 3px #5f5f5f,
        0px 0px 0px 5px #ecf0f3,
        8px 8px 15px #a7aaa7,
        -8px -8px 15px #fff; */

}

.wrapper .name {
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 1.3px;
    padding-left: 10px;
    color: #555;
}

.wrapper .form-field input {
    width: 100%;
    display: block;
    border: none;
    outline: none;
    background: none;
    font-size: 1.2rem;
    color: #666;
    padding: 10px 15px 10px 10px;
    /* border: 1px solid red; */
}

.wrapper .form-field {
    padding-left: 10px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #fff;
    position: relative;
}

.wrapper .form-field .fas {
    color: #555;
}

.wrapper .btn {
    box-shadow: none;
    width: 300px;
    height: 40px;
    background-color: #143953;
    color: #fff;
    border-radius: 10px;
    box-shadow: 3px 3px 3px #b1b1b1,
        -3px -3px 3px #fff;
    letter-spacing: 1.3px;
}

.wrapper .btn:hover {
    background-color: #456882;
}

.wrapper a {
    text-decoration: none;
    font-size: 0.8rem;
    color: #03A9F4;
}

.wrapper a:hover {
    color: #039BE5;
}

.toggle-password {
    position: absolute;
    right: 15px; 
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    font-size: 1rem;
}

.toggle-password:hover {
    color: #000; 
}

@media(max-width: 380px) {
    .wrapper {
        margin: 30px 20px;
        padding: 40px 15px 15px 15px;
    }
}

@media(max-width: 490px) {
    .kartu-formulir {
        margin-top: 0px;
        
    }
}

.swal2-container {
    overflow: visible !important;
}

.swal2-popup .choices {
    width: 100% !important;
}

.swal2-popup .choices__inner,
.swal2-popup .choices__item {
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word
}

.swal2-popup .choices__list--dropdown {
    max-height: 250px !important; 
    overflow-y: auto !important;
}

.swal2-popup .choices__list {
    white-space: normal !important;
}

.swal2-popup .choices__item--selectable::after {
    content: "" !important; 
}

/* loader */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular {
    animation: rotate 2s linear infinite;
    height: 50px;
    width: 50px;
}
.path {
    stroke: #3498db;
    stroke-dasharray: 1,200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes dash {
    0% { stroke-dasharray: 1,200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89,200; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 89,200; stroke-dashoffset: -124; }
}

.forgot-link {
    display: block;
    text-align: right;
    text-decoration: underline;
}

.gambar-logo {
  height: 30px !important;
}

.gambar-room {
  height:380px !important;
}

.icon-navbar {
height:30px !important;
}

.logo-danantara {
  padding-left: 90px !important;
}

.logo-jmtm {
  padding-right: 30px !important;
}

.jmtm-logo {
  height: 40px !important;
}

.eroom-logo {
  height: 20px !important;
}

.danantara-logo {
  height: 100px !important;
  padding-left: 5px !important;
}

.img-card {
  object-fit: cover; 
  height: 200px; 
  border-radius: 20px 20px 0 0;
}

.card-border {
  border-radius: 20px;
}

.form-logout {
  display: none;
}

.badge-booking {
  display: flex; 
  flex-wrap: wrap; 
  gap: 4px;
}

.timeslot-label {
  padding: 4px 4px; 
  border: 1px solid #ccc; 
  border-radius: 5px; 
  background: #f0f0f0; 
  width: 100px
}

.facility-label {
  padding: 4px 6px; 
  border: 1px solid #ccc; 
  border-radius: 5px; 
  background: #f0f0f0;
}

.card-a {
  background-color: #11488866;
}

.card-b {
  background-color: #E9A84466;
}

.card-c {
  background-color: #8ABB6C;
}

.room-img {
  max-width: 100% !important;
}

@media print {
    @page {
        size: A4 landscape; 
    }
}