@import url(https://fonts.googleapis.com/css?family=Roboto);

.panel_login{
    width: 100%;
    background-color: #FFFFFF;
    padding: 10px 35px 35px 35px;
    width: 100%;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: roboto;
}

#alert-login-gagal{
    animation:popFade .5s ease;
    box-shadow:0 0 15px rgba(255,0,0,.5);
    border:1px solid #ff0000;
}

@keyframes popFade{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.loginmodal-container{
    background:#fff;
    border-radius:20px;
    padding:25px;
    overflow:hidden;
}

.panel_login input{
    width:100%;
    height:50px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:10px 15px;
    margin-bottom:15px;
    outline:none;
}

.panel_login input:focus{
    border-color:#198754;
    box-shadow:0 0 10px rgba(25,135,84,.2);
}

.login-help{
    margin-top:15px;
    text-align:center;
}

.login-help a{
    text-decoration:none;
}

/****** LOGIN MODAL ******/
.loginmodal-container {
  max-width: 350px;
  width: 100% !important;
  margin: 0 auto;
}

.loginmodal-container h1 {
  text-align: center;
  font-size: 1.8em;
  font-family: roboto;
}

.loginmodal-container input[type=submit] {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

.loginmodal-container input[type=text], input[type=password] {
  height: 44px;
  font-size: 16px;
  width: 100%;
  margin-bottom: 10px;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-top: 1px solid #c0c0c0;
  /* border-radius: 2px; */
  padding: 0 8px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.loginmodal-container input[type=text]:hover, input[type=password]:hover {
  border: 1px solid #b9b9b9;
  border-top: 1px solid #a0a0a0;
  -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.loginmodal {
  text-align: center;
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  height: 36px;
  padding: 0 8px;
/* border-radius: 3px; */
/* -webkit-user-select: none;
  user-select: none; */
}

.loginmodal-submit {
  /* border: 1px solid #3079ed; */
  border: 0px;
  color: #fff;
  text-shadow: 0 1px rgba(0,0,0,0.1); 
  background-color: #4d90fe;
  padding: 17px 0px;
  font-family: roboto;
  font-size: 14px;
  /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#4787ed)); */
}

.loginmodal-submit:hover {
  /* border: 1px solid #2f5bb7; */
  border: 0px;
  text-shadow: 0 1px rgba(0,0,0,0.3);
  background-color: #357ae8;
  /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#357ae8)); */
}

.loginmodal-container a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  text-align: center;
  display: inline-block;
  opacity: 0.6;
  transition: opacity ease 0.5s;
} 

.login-help{
  font-size: 12px;
}

/* ================= MODAL LOGIN ================= */

.modalLogin{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    backdrop-filter:blur(5px);
    padding:15px;
}

.modalLogin.show{
    opacity:1;
    visibility:visible;
}

.modalLoginBox{
    width:100%;
    max-width:450px;
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    position:relative;
    animation:modalZoom .3s ease;
    box-shadow:0 15px 50px rgba(0,0,0,.4);
}

/* animasi */
@keyframes modalZoom{
    from{
        transform:scale(.7);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.closeLogin{
    position:absolute;
    top:10px;
    right:15px;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#f1f1f1;
    font-size:28px;
    cursor:pointer;
    z-index:10;
    transition:.3s;
}

.closeLogin:hover{
    background:red;
    color:#fff;
    transform:rotate(90deg);
}

.modalLoginContent{
    padding:25px;
}

/* mobile */
@media(max-width:768px){

    .modalLoginBox{
        max-width:100%;
        border-radius:20px;
    }

    .modalLoginContent{
        padding:20px;
    }

}
