body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to bottom, #ffffff, #87CEEB);
    background-attachment: fixed;
}

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}





.form-group {
    margin-bottom: 1.25rem;
}

.has-error .form-control {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.15);
}

.has-error .help-block,
.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

.has-success .form-control {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25,135,84,.15);
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.2);
}

label {
    font-weight: 500;
    margin-bottom: 6px;
}

label .required:after {
    content: " *";
    color: #dc3545;
}

.has-error .form-control {
    border-color: #dc3545;
}

.has-error .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}

.invalid-feedback {
    display: block;
}

.logo-box {
    height: 80px;                 /* tinggi seragam */
    display: flex;
    align-items: center;          /* center vertical */
    justify-content: center;      /* center horizontal */
}

.logo-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;          /* tidak distretch */
}

.card-transparent {
    background-color: rgba(255, 255, 255, 0.8); /* putih 20% */
    backdrop-filter: blur(6px); /* optional: efek glass */
    -webkit-backdrop-filter: blur(6px); /* safari */
}

/* Mobile */
@media (max-width: 576px) {
    .logo-box {
        height: 50px;
    }
}
@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}