body {
    font-family: 'Open Sans', sans-serif;
    color: #d2d2d2;
    font-size: 10px;
}
.img-fluid {
    max-width: 100% !important;
    height: auto;
}
.form-control:focus {
    box-shadow: none;
}
.login-box .alert{
    padding: 15.5px 20px;
    font-size: 13px;
    border: none !important;
    border-radius: 3px;
    margin-bottom: 25px;
}
.login-box .alert-dismissible .btn-close{
    padding: 18.5px 19px;
    background-size: 8px;
}
.login-box .alert-dismissible .btn-close:focus,
.login-box .alert-dismissible .btn-close:active {
    box-shadow: none;
}
.login-box .password-indicator {
    position: absolute;
    right: 15px;
    top: 17px;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 300ms, opacity 500ms;
    font-size: 17px;
    color: #999;
}
.login-box .password-wrapper:hover .password-indicator{
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 500ms;
    font-size: 17px;
    color: #555;
}
.login-box .login-popover{
    font-size: 14px;
    color: #777;
    cursor: help;
}
.login-box .login-popover-abs{
    position: absolute;
    right: 15px;
    top: 15px;
}
.popover {
    border: 1px solid #ebeef5 !important;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}
.popover-header {
    box-shadow: none;
    border: 0px;
    background: #fff;
    color: #555;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 5px;
}
.popover-body {
    padding: 5px 10px 10px 16px;
    color: #777;
    font-size: 13px;
}
.login-box .form-group label.error{
    font-size: 13px;
    text-align: left;
    color: #535353;
    width: 100%;
}
/** Login 18 start **/
.login-18 {
    /*background: url(../img/img-18.jpg) top left repeat;
    background-size: cover;*/
    top: 0;
    width: 100%;
    text-align: left;
    bottom: 0;
    opacity: 1;
    z-index: 999;
    /*height: 100vh;*/
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}
.login-18:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background: #fcfcfc;*/
    content: "";
    z-index: -1;
    opacity: 0.9;
    background: -moz-linear-gradient(bottom, #580d0d, #e02d10);
}
.login-18 a {
    text-decoration: none;
}
.login-18 h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Montserrat', sans-serif;
}
.login-18 .form-section {
    max-width: 500px;
    margin: 0 auto;
    padding: 70px 50px;
    /*background: #fff;*/
    /*border-radius: 5px;*/
    /*box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);*/
    position: relative;
    z-index: 0;
}
.login-18 .form-section:before {
    content: "";
    width: 196px;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    /*background: url(../img/img-39_bottom.png) top left repeat;*/
    background-size: cover;
    z-index: -1;
}
.login-18 .form-section:after {
    content: "";
    width: 196px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
   /* background: url(../img/img-40_top.png) top left repeat;*/
    background-size: cover;
    z-index: -1;
}
.login-18 .form-check-input:checked {
    display: none;
}
.login-18 .form-section p{
    color: #535353;
    margin-bottom: 0;
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}
.login-18 .form-section p a{
    color: #535353;
}
.login-18 .form-section .extra-login {
    float: left;
    width: 100%;
    margin: 25px 0 25px;
    text-align: center;
    position: relative;
}
.login-18 .form-section .extra-login::before {
    position: absolute;
    left: 0;
    top: 10px;
    width: 100%;
    height: 1px;
    background: #d8dcdc;
    content: "";
}
.login-18 .form-section .extra-login > span {
    width: auto;
    float: none;
    display: inline-block;
    background: #fff;
    padding: 1px 20px;
    z-index: 1;
    position: relative;
    font-family: Open Sans;
    font-size: 15px;
    color: #535353;
    text-transform: capitalize;
}
.login-18 .form-section ul{
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.login-18 .logo-2 img{
    margin-bottom: 10px;
    width: 90%;
}
.login-18 .form-section .social-list li {
    display: inline-block!important;
    margin-bottom: 5px;
}
.login-18 .form-section .social-list li a {
    font-size: 14px;
    font-weight: 400;
    width: 130px;
    margin: 2px 0 3px 0;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
}
.login-18 .form-section .social-list li a i{
    height: 40px;
    width: 40px;
    line-height: 40px;
    float: left;
    color: #fff;
    border-radius: 20px;
}
.login-18 .form-section .social-list li a span{
    margin-right: 7px;
}
.login-18 .form-section .thembo{
    margin-left: 4px;
}
.login-18 .form-section h3 {
    margin: 0 0 30px;
    font-size: 20px;
    font-weight: 500;
    color: #003e69;
    
}
.login-18 .form-section .form-group {
    margin-bottom: 20px;
}
.login-18 .form-section .form-control {
    font-size: 14px;
    outline: none;
    background: #e3fbfe;
    padding: 12px 25px 12px 25px;
    color: #535353;
    height: 45px;
    border-radius: 30px;
    border: 0px solid #efefef;
}
.login-18 .form-section .checkbox .terms{
    margin-left: 3px;
}
.login-18 .form-section .btn-md {
    cursor: pointer;
    height: 45px;
    color: #fff;
    padding: 8px 50px 8px 50px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    border-radius: 2px;
}
.login-18 .form-section input[type=checkbox], input[type=radio] {
    margin-right: 3px;
}
.login-18 .form-section button:focus {
    outline: none;
    outline: 0 auto -webkit-focus-ring-color;
}
.login-18 .form-section .btn-theme.focus, .btn-theme:focus {
    box-shadow: none;
}
.login-18 .form-section .btn-theme {
    background: #ff0000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border: none;
    color: #fff;
    border-radius: 30px;
}
.login-18 .form-section .btn-theme:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background: #ff0000;
}
.login-18 .form-section .terms{
    margin-left: 3px;
}
.login-18 .form-section .form-check{
    float: left;
    margin-bottom: 0;
    padding-left: 0;
    position: relative;
}
.login-18 .form-section .form-check a {
    color: #535353;
}
.login-18 .form-section .form-check-input {
    position: absolute;
    margin-left: 0;
}
.login-18 .form-section .form-check label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 18px;
    height: 18px;
    top: 2px;
    margin-left: -25px;
    border: 1px solid #e8e8e8;
    background: #e8e8e8;
    border-radius: 3px;
}
.login-18 .form-section .form-check-label {
    padding-left: 25px;
    margin-bottom: 0;
    font-size: 16px;
    color: #535353;
}
.login-18 .form-section .checkbox-theme input[type="checkbox"]:checked + label::before {
    background-color: #043253;
    border-color: #043253;
}
.login-18 .form-section input[type=checkbox]:checked + label:before {
    font-weight: 600;
    color: #fff;
    line-height: 16px;
    font-size: 14px;
    content: "\2713";
    padding-left: 0;
}
.login-18 .form-section input[type=checkbox], input[type=radio] {
    margin-top: 4px;
}
.login-18 .form-section a.forgot-password {
    font-size: 14px;
    color: #3e3a3a;
    margin: 0 auto;
    display: block;
    line-height: 45px;
    text-align: center;
}
/** Social media **/
.login-18 .facebook-i {
    background: #4867aa;
    color: #fff;
}
.login-18 .twitter-i {
    background: #33CCFF;
    color: #fff;
}
.login-18 .google-i {
    background: #db4437;
    color: #fff;
}
.login-18 .facebook-color{
    color: #4867aa;
}
.login-18 .twitter-color {
    color: #33CCFF;
}
.login-18 .google-color {
    color: #db4437;
}
@media (max-width: 768px) {
    .login-18 .form-section {
        padding: 50px 30px;
    }
}
@media (max-width: 500px) {
    .login-18 .form-section .social-list li a i {
        display: none;
    }
    .login-18 .form-section .social-list li a {
        width: 100px;
    }
}


     @media (min-width: 300px) {
         .login-18 .form-section{
             box-shadow: 0 0 0px rgba(0, 0, 0, 0.1);
         }
         .form-section{
             padding: 30px 50px;
         }
     }
     @media (min-width: 1020px) {
         .login-18 .form-section{
             box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
         }
     }
     .info-danger {
       display: flex;
       align-items: center;
       background: #262424; 
       color: #fff;
       padding: 12px 15px;
       border-radius: 5px;
       font-size: 12px;
       font-weight: 500;
       animation: fadeIn 0.3s ease-in-out;
       width: auto;
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       opacity: 1;
       transition: opacity 0.5s ease-in-out;
       z-index: 999;
   }

   @keyframes fadeIn {
       from { opacity: 0; transform: translate(-50%, -60%); }
       to { opacity: 1; transform: translate(-50%, -50%); }
   }

   .login-18 {
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 100vh;
 }

 .login-18 .form-section {
     width: 100%;
     max-width: 500px; /* Sesuaikan lebar maksimal */
     height: 100vh; /* Tinggi penuh sesuai layar */
     display: flex;
     flex-direction: column;
     justify-content: center;
 }


.header-section {
    position: fixed;
    top: 0; /* Tetap di bagian atas */
    left: 50%; /* Posisi dari kiri 50% layar */
    transform: translateX(-50%); /* Geser ke kiri sebesar setengah dari lebarnya */
    width: 500px; /* Lebar tetap */
    text-align: center;
    padding: 8px 60px;
    background: #22bfe1;
    border-bottom: 2px solid #ddd;
    z-index: 9999;
    display: flex;
    
}


 .header-section h3 {
     color: #fff;
     font-size: 16px;
     font-weight: 600;
     margin: 0;
     line-height: 1.6;
 }

 .header-section img {
     max-width: 150px;
     height: auto;
     margin-bottom: 10px;
 }

 .loading-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5); 
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 9999; 
 }

 /* Animasi tiga titik berkedip */
 .dots {
   display: flex;
   justify-content: center;
   align-items: center;
 }

 .dot {
   width: 12px;
   height: 12px;
   margin: 0 5px;
   background-color: #22bfe1;
   border-radius: 50%;
   animation: blink 1.5s infinite ease-in-out;
 }

 .dot:nth-child(2) { animation-delay: 0.2s; }
 .dot:nth-child(3) { animation-delay: 0.4s; }

 @keyframes blink {
   0%, 100% { opacity: 0.3; }
   50% { opacity: 1; }
 }

/*button animation*/
 .btn {
   position: relative;
   overflow: hidden;
   padding: 12px 24px;
   font-size: 16px;
   background-color: #22bfe1;
   color: white;
   border: none;
   border-radius: 5px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
 }

 .btn.loading {
   pointer-events: none; /* Mencegah klik berulang */
   color: transparent; /* Sembunyikan teks */
 }

 .btn.loading::after {
   content: "";
   position: absolute;
   width: 30px;
   height: 30px;
   border: 3px solid white;
   border-top-color: transparent;
   border-radius: 50%;
   animation: spin 0.8s linear infinite;
 }

 @keyframes spin {
   0% {
     transform: rotate(0deg);
   }
   100% {
     transform: rotate(360deg);
   }
 }

 .login-18 {
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 100vh;
 }

 .login-18 .form-section {
     width: 100%;
     max-width: 500px; /* Sesuaikan lebar maksimal */
     height: 100vh; /* Tinggi penuh sesuai layar */
     display: flex;
     flex-direction: column;
     justify-content: center;
 }


  .successMessage {
    display: flex;
    align-items: center;
    background: #dffde2; 
    color: #28a745;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
    max-width: 227px;
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    z-index: 999;
  }

   @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
  }

  .dangerMessage {
    display: flex;
    align-items: center;
    background: #262424; 
    color: #fff;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index: 999;
  }

  @media (min-width: 300px) {
      .login-18 .form-section{
          box-shadow: 0 0 0px rgba(0, 0, 0, 0.1);
      }
      .form-section{
          padding: 30px 50px;
      }
  }
   @media (min-width: 1020px) {
      .login-18 .form-section{
          /*box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);*/
      }
  }

  
 

