/*
Template Name: portal-login-form
File Name: style.css
Author Name: ThemeVault
Author URI: http://www.themevault.net/
Licence URI: http://www.themevault.net/license/
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-weight: 300;
}
body {
    font-family: 'Lato', sans-serif;
    color: #555555;
    font-weight: 300;
    background-color: white;
    /*    height: 100%;
        background: linear-gradient(90deg, #50a3a2 50%, #FFFFFF 50%);*/
}
body ::-webkit-input-placeholder {
    /* WebKit browsers */
    font-family: 'Lato', sans-serif;
    color: #555555;
    font-weight: 300;
}
body :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    font-family: 'Lato', sans-serif;
    color: #555555;
    opacity: 1;
    font-weight: 300;
}
body ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    font-family: 'Lato', sans-serif;
    color: #555555;
    opacity: 1;
    font-weight: 300;
}
body :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    font-family: 'Lato', sans-serif;
    color: #555555;
    font-weight: 300;
}
.wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 750px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    padding-top:50px;
    background: rgb(58, 57, 57);
}
.container {
    -webkit-box-shadow: 10px 0px 30px 5px rgba(0,0,0,0.27);
    -moz-box-shadow: 10px 0px 30px 5px rgba(0,0,0,0.27);
    box-shadow: 10px 0px 30px 5px rgba(0,0,0,0.27);
    background: #fff;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row-reverse;
    padding: 0px;
    width: 90%;
    height: auto;
}
.login-left {
    width: 60%;
    z-index: 1;
    position: relative;
    height: 700px;
}
.login-left h2 {
    font-weight: 700;
    font-size:34px;
}
.login-left h3 {
    font-size: 1.2em;
    margin: 1em 0;
    line-height: 28px;
    font-weight: 500;
    text-transform: capitalize;
}
.login-left p {
    font-size: 14px;
    margin: 1em 0;
    line-height: 28px;
    font-weight: 400;
}
.login-left a {
    color: #555555;
    text-decoration: none;
    padding-right: 5px;
}

.login-left img {
    object-fit: cover;
    height: 700px; /* sama seperti .login-left height */
}


.login-form {
    width: 40%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    position: relative;
     background: #f3f2f2 !important;
}

/* BIKIN KONTAINER INPUT-GROUP MELENGKUNG */
.login-form .input-group {
    border: 1px solid #ddd;
    border-radius: 50px !important;
    padding: 0 15px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* HILANGKAN BORDER FORM-CONTROL ASLINYA */
.login-form .input-group .form-control {
    border: none !important;
    border-radius: 50px !important;
    height: 45px;
    box-shadow: none !important;
    background: transparent !important;
}

/* POSISI IKON DI KIRI */
.login-form .input-group span.fa {
    color: #aaa;
    font-size: 16px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

/* INPUT DIBERI SPASI AGAR TIDAK NABRAK IKON */
.login-form .input-group input {
    padding-left: 10px !important;
}

/* GLOW SAAT INPUT DI-FOCUS */
.login-form .input-group:focus-within {
    border-color: #f80404 !important;      /* warna border */
    box-shadow: 0 0 8px rgba(212, 22, 22, 0.6) !important; /* efek glow */
}

/* AGAR FORM-CONTROL TIDAK ADA OUTLINE BIRU DARI BROWSER */
.login-form .input-group .form-control:focus {
    outline: none !important;
    box-shadow: none !important;
}

.login-form .input-group span.fa {
    color: #f80404;   /* warna default (abu2) */
    font-size: 16px;
}

#show_hide_password .input-group-append .btn {
    background: transparent !important; 
    border: none !important;
    border-radius: 50px !important; /* Biar ikut melengkung */
    padding: 0 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon mata */
#show_hide_password .input-group-append .btn i {
    color: #f80404   !important;  /* GANTI WARNA ICON DI SINI */
    font-size: 18px;
}

/* Hover efek biar modern */
#show_hide_password .input-group-append .btn:hover {
    background: rgba(75,163,255,0.1) !important; /* efek hover lembut */
}

.custom-checkbox-round {
    display: block;
    margin-bottom: 12px; /* jarak aman ke error */
}

/* Sembunyikan checkbox asli */
.custom-checkbox-round input[type="checkbox"] {
    display: none;
}

.custom-checkbox-round label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

/* Lingkaran luar */
.custom-checkbox-round label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border: 2px solid #e60023; /* merah */
    border-radius: 50%;
    background: #fff;
    transition: 0.2s ease;
}

/* Ikon ceklis (muncul saat checked) */
.custom-checkbox-round input[type="checkbox"]:checked + label:after {
    content: "✓";
    position: absolute;
    left: 4px;
    top: -1px;
    font-size: 18px;
    color: #fff;
}

/* Ketika checked: lingkaran background merah */
.custom-checkbox-round input[type="checkbox"]:checked + label:before {
    background: #e60023;
}


.btn-login-gradient {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 50px; /* tombol melengkung */
    background: linear-gradient(45deg, #ff0000, #ffae00); /* merah → kuning */
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

/* Efek hover */
.btn-login-gradient:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Efek aktif saat ditekan */
.btn-login-gradient:active {
    transform: scale(0.97);
}

#error {
    position: relative;
    margin-top: 8px;
    margin-bottom: 10px; /* beri jarak ke Remember me */
    width: 100%;
    color: #e60023;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 35px; /* beri ruang supaya remember me tidak naik */
}

.remember-forgot {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 12px !important;
}

.remember-forgot .forgot-mini {
    position: relative;
    top: -10px; /* naikkan sedikit */
    font-size: 14px;
}

.remember-forgot .custom-checkbox-round,
.remember-forgot .forgot-mini {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}
/* ________________________Yang Lama_________________________ */

.form-title {
    font-size: 25px;
    font-weight: 900;
    text-align: center;
    width: 100%;
    display: block;
    padding-bottom: 25px;
}
.forgot-link {
    display: block;
    width: 100%;
    text-align: right;
    padding-top: 10px;
}
.login-form a {
    color: #555555;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}
.form-group {
    width: 100%;
    display: block;
    height:80px;
}
.form-check {
    display: block;
    width:100%
}
.form-check label {
    width: auto;
    padding-left: 5px;
}
.input-group {
    padding: 0px 10px;
    border: 1px solid #ddd;
    height: 50px;
    width: 100%;
    margin-bottom: 2px;
}
.input-group span.fa {
    font-size: 16px;
    vertical-align: middle;
    box-sizing: border-box;
    float: left;
    text-align: center;
    width: 6%;
    padding: 15px 0px;
    color: #007bff;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button, input {
    overflow: visible;
}
[type="button"], [type="reset"], [type="submit"], button {
    -webkit-appearance: button;
}
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-lg {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem;
}
.btn-block {
    display: block;
    width: 100%;
}
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}
input[type="button"].btn-block, input[type="reset"].btn-block, input[type="submit"].btn-block {
    width: 100%;
}
[type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner, button::-moz-focus-inner {
    padding: 0;
    border-style: none;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 10px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}
label {
    display: inline-block;
    margin-bottom: .5rem;
    font-weight: 700;
    width: 100%;
}
input[type="email"] {
    font-size: 15px;
    color: #333;
    text-align: left;
    letter-spacing: 1px;
    padding: 14px 10px;
    width: 93%;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: transparent;
}
input[type="Password"] {
    font-size: 15px;
    color: #333;
    text-align: left;
    text-transform: capitalize;
    letter-spacing: 1px;
    padding: 14px 10px;
    width: 93%;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: transparent;
}
.copyright {
    font-size: 15px;
    text-align: center;
    line-height: 24px;
    color: white;
}
.carousel {
    height: 100%;
}
.copyright a{
    color: #50a3a2;
    font-size: 16px;
    text-decoration: none;
}
.copyright a:hover{
    color: #000;
}
.copyright strong {
    font-weight: 700;
}

/*-----Responsive------ */
@media (max-width: 1280px) {
    .login-form {
        padding-left: 50px;
        padding-right: 50px;
    }
    .login-left {
        height: 100%;
    }
    .container {
        width: 100%;
    }
}
@media (max-width: 992px) {
    .login-form {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }
    .login-left {
        display: none;
    }
}
@media (max-width: 767px){
    .login-form {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
    .login-left {
        display: none;
    }
    #background {
        width: 0%;
    }
    .wrapper {
        padding:10px;
    }
    .copyright {
        padding-bottom: 30px;
    }
}
@media (max-width: 360px) {
    .login-form {
        padding-left: 20px;
        padding-right: 20px;
    }

}