body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #888;
    line-height: 30px;
    text-align: center;
    background-color: #337ab7;
	  background: url('../css/images/latar_login.jpg') no-repeat center fixed; /*gambar background */
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

strong { font-weight: 500; }

a, a:hover, a:focus {
	color: #263238;
	text-decoration: none;
    -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
}

h1, h2 {
	margin-top: 10px;
	font-size: 38px;
    font-weight: 100;
    color: #555;
    line-height: 50px;
}

h3 {
	font-size: 22px;
    font-weight: 300;
    color: #555;
    line-height: 30px;
}

img { max-width: 100%; }

::-moz-selection { background: #263238; color: #fff; text-shadow: none; }
::selection { background: #263238; color: #fff; text-shadow: none; }


.btn-link-1 {
	display: inline-block;
	height: 50px;
	margin: 5px;
	padding: 16px 20px 0 20px;
	background: #263238;
	font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;
    -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
}
.btn-link-1:hover, .btn-link-1:focus, .btn-link-1:active { outline: 0; opacity: 0.6; color: #fff; }

.btn-link-1.btn-link-1-facebook { background: #4862a3; }
.btn-link-1.btn-link-1-twitter { background: #55acee; }
.btn-link-1.btn-link-1-google-plus { background: #dd4b39; }

.btn-link-1 i {
	padding-right: 5px;
	vertical-align: middle;
	font-size: 20px;
	line-height: 20px;
}

.btn-link-2 {
	display: inline-block;
	height: 50px;
	margin: 5px;
	padding: 15px 20px 0 20px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid #fff;
	font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;
    -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
}
.btn-link-2:hover, .btn-link-2:focus,
.btn-link-2:active, .btn-link-2:active:focus { outline: 0; opacity: 0.6; background: rgba(0, 0, 0, 0.3); color: #fff; }


/***** Top content *****/

.inner-bg {
    padding: 10px 0 14px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}
.inner-bg .container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}
.inner-bg .row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.top-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.top-content .text {
	color: #fff;
}

.top-content .text h1 { color: #fff; }

.top-content .description {
	margin: 20px 0 10px 0;
}

.top-content .description p { opacity: 0.8; }

.top-content .description a {
	color: #fff;
}
.top-content .description a:hover,
.top-content .description a:focus { border-bottom: 1px dotted #fff; }

.form-box {
	margin-top: 0;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-top {
    padding: 20px 18px 18px 18px;
    text-align: center;
    background: rgba(0, 139, 169, 0.82);
    color: #ffffff;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-top-left {
	float: left;
	width: 75%;
	padding-top: 25px;
}

.form-top-left h3 { margin-top: 0; }

.form-top-right {
	float: left;
	width: 25%;
	padding-top: 5px;
	font-size: 66px;
	color: #ddd;
	line-height: 100px;
	text-align: right;
}

.form-bottom {
    padding: 20px 18px 18px 18px;
    text-align: center;
    background: rgba(245, 245, 245, 0.78);
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    overflow: visible;
    align-items: center;
    flex: 1 1 50%;
}
.form-bottom .form-group {
    margin-bottom: 6px;
}
.form-bottom .form-group:last-child {
    margin-bottom: 0;
}
.login-form input::placeholder {
    text-align: center;
}
.cf-turnstile,
.cf-turnstile iframe,
.g-recaptcha,
.g-recaptcha iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    transform: scale(1);
    transform-origin: top left;
}
.g-recaptcha > div {
    width: 100% !important;
    transform: scale(1);
    transform-origin: top left;
}
.captcha-local img {
    width: 100%;
    height: auto;
}
.captcha-group {
    width: 100%;
    max-width: 340px;            /* lebih kecil di desktop */
    display: flex;
    justify-content: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-sizing: border-box;
    margin: 0 auto;
}
.captcha-group > * {
    width: 100% !important;
    max-width: 100% !important;
}
.captcha-group .cf-turnstile,
.captcha-group .g-recaptcha {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
}
.captcha-group iframe {
    width: 100% !important;
}
.captcha-local {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.captcha-local > * {
    flex: 1 1 100%;
    max-width: 100%;
}
.form-top,
.form-bottom {
    max-height: 100vh;
    overflow-y: auto;
    width: 100%;
}
.form-bottom form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .login .container,
    .inner-bg .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .captcha-group {
        max-width: 260px;        /* lebih kecil di mobile */
    }
    .captcha-group iframe,
    .captcha-group .cf-turnstile,
    .captcha-group .g-recaptcha {
        width: 100% !important;
        max-width: 100% !important;
        transform: scale(0.94);
        transform-origin: top left;
    }
    .form-box {
        flex-direction: column;
    }
    /* Override inline row width on mobile */
    .login .row {
        width: 100% !important;
        margin: 0 auto !important;
    }
    .form-top,
    .form-bottom {
        flex: 1 1 auto;
        width: 100%;
        padding: 14px 14px 14px 14px;
    }
    .form-bottom {
        gap: 6px;
    }
    .form-bottom .form-group {
        margin-bottom: 4px;
    }
    .form-bottom form {
        max-width: 100%;
    }
    .inner-bg,
    .top-content {
        align-items: flex-start;
        padding-top: 14px;
    }
    .captcha-group {
        padding: 6px;
    }
    .captcha-group .cf-turnstile,
    .captcha-group .g-recaptcha {
        max-width: 100% !important;
    }
}

@media (max-width: 420px) {
    .captcha-group .cf-turnstile,
    .captcha-group .g-recaptcha {
        max-width: 100% !important;
    }
}
.form-bottom .alert {
    margin-top: 10px;
    margin-bottom: 12px;
    padding: 8px 10px;
}

.form-bottom form textarea {
	height: 100px;
}

.form-bottom form button.btn {
	width: 70%;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
}

.form-bottom form .input-error {
	border-color: #99bff785;
}


.form-page {
	padding: 0 25px 25px 25px;
	-moz-border-radius: 0 0 20px 20px;
	-webkit-border-radius: 0 0 20px 20px;
	border-radius: 0 0 20px 20px;
	text-align: center;
	background: #f5f5f5;
}

.form-page form textarea {
	height: 100px;
}

.form-page form button.btn {
	width: 70%;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
}

.form-page form .input-error {
	border-color: #99bff785;
}
/***** Media queries *****/

@media (min-width: 992px) and (max-width: 1199px) {}

@media (min-width: 768px) and (max-width: 991px) {}

@media (max-width: 767px) {

	.inner-bg { padding: 12px 0; }
    .form-top { padding: 14px 14px 14px 14px; }
    .form-bottom { padding: 14px 14px 14px 14px; }
    .form-bottom .alert { margin-top: 8px; margin-bottom: 10px; }
    .form-box { width: 96%; max-width: none; flex-direction: column; }
    .form-bottom, .form-top { width: 100%; }

}

@media (max-width: 415px) {

	h1, h2 { font-size: 32px; }

}

.login-footer {
	font-size: 14px;
	padding-top: 10px;
	color: #ffffff;
}
.login-footer > a {
	color: yellow;
}
.login-footer > a:hover {
	text-decoration: underline;
}

.login-footer-top {
	font-size: 14px;
	color: #999;
}
.login-footer-top > h1{
	font-size: 25px;
    color: #0c83c5;
    margin-top: 5px;
    margin-bottom: -10px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 4px 4px 4px #000;
    -webkit-text-stroke: 1px #fff;
}
.login-footer-top > h2{
	font-size: 18px;
	padding-top: 0px;
	color: #999;
}
.login-footer-top > h3{
	font-size: 12px;
	color: #999;
	margin-top:0;
	text-transform:uppercase;
}
.login-footer-top > a {
	color: #656561;
}
.login-footer-top > a:hover {
	text-decoration: underline;
}

.login-footer-bottom {
	font-size: 14px;
	padding-top: 10px;
	color: #999;
}
.login-footer-bottom > a {
	color: #656561;
}
.login-footer-bottom > a:hover {
	text-decoration: underline;
}

/* captcha refresh icon button */
.captcha-refresh {
    flex: 0 0 auto;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    background: #f6f7f9;
    border-radius: 6px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #444;
}
.captcha-refresh:hover {
    background: #e9ecef;
}

.form-group.form-login.has-error {
    margin-bottom: 8px;
}
.form-group.form-login.has-error .help-block,
.form-group.form-login.has-error .error {
    margin-top: 4px;
    margin-bottom: 0;
    line-height: 1.2;
    display: block;
    font-size: 12px;
}
.login-form label.error {
    display: none !important; /* tetap disembunyikan untuk hemat tinggi, pesan gabungan ditampilkan di #combined-error */
}
.pin-wrapper {
    position: relative;
}
.pin-wrapper .eye-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    margin: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e6e6e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #d1d5db;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
.pin-wrapper input {
    text-align: center;
}
.cf-turnstile {
  display: block !important;
  margin: 8px auto !important;
}
/* custom toastr success */
.toast-success {
  background-color: #00cb18;
}
/* custom toastr error */
.toast-error {
  background-color: #ef4836;
}
/* custom toastr info */
.toast-info {
  background-color: #4b8df8;
}
/* custom toastr warning */
.toast-warning {
  background-color: #ffb848;
}
.toast-message {
	font-size: 12px;
}
#toast-container > div {
	text-align: left;
}
.error {
	color: #ff5f32;
    font-size: 0.7em;
    text-align: center;
    padding-top: 10px;
    position: static !important;
}
