/* TEMPLATE CARD */
.template-thumbnail {
    position: relative;
    border-radius: 0;
}

.template-thumbnail .template-name {
    position: absolute;
    top: 4px;
    right: 4px;
    left: 4px;
    margin: 0;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    line-height: 1.42857;
    color: #ffffff;
    text-shadow: 1px 1px 0 #000;
    box-sizing: border-box;
}

.template-thumbnail img {
    margin-bottom: 4px;
}

/* FOTO ANGGOTA */
.img-frame {
    background: #eee;
    padding: 8px;
    border: 0px solid #999999;
    width: 335px;
}

.img-frame-foto {
    background: #eee;
    padding: 8px;
    border: 0px solid #999999;
    width: 256px;
}

.Frame {
    padding: 10px;
    border: thin solid #C0C0C0;
    box-shadow: 0px 0px 4px #666;
    border-radius: 2px;
}

.btn3d {
    position: relative;
    top: -6px;
    border: 0;
    transition: all 40ms linear;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
}

.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
    outline: none !important;
    outline-style: none !important;
    box-shadow: none !important;
}

.btn3d:active,
.btn3d.active {
    top: 2px;
}

.btn3d.btn-white {
    color: #666666;
    box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #f5f5f5, 0 8px 8px 1px rgba(0, 0, 0, .2);
    background-color: #fff;
}

.btn3d.btn-white:active,
.btn3d.btn-white.active {
    color: #666666;
    box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
    background-color: #fff;
}

.btn3d.btn-secondary {
    color: #666666;
    box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #BEBEBE, 0 8px 8px 1px rgba(0, 0, 0, .2);
    background-color: #f9f9f9;
}

.btn3d.btn-secondary:active,
.btn3d.btn-secondary.active {
    color: #666666;
    box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
    background-color: #f9f9f9;
}

.btn3d.btn-primary {
    box-shadow: 0 0 0 1px #00796B inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #00695C, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #00897B;
}

.btn3d.btn-primary:active,
.btn3d.btn-primary.active {
    box-shadow: 0 0 0 1px #00796B inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background-color: #00897B;
}

.btn3d.btn-success {
    box-shadow: 0 0 0 1px #31c300 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #5eb924, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #78d739;
}

.btn3d.btn-success:active,
.btn3d.btn-success.active {
    box-shadow: 0 0 0 1px #30cd00 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background-color: #78d739;
}

.btn3d.btn-info {
    box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #348FD2, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #39B3D7;
}

.btn3d.btn-info:active,
.btn3d.btn-info.active {
    box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background-color: #39B3D7;
}

.btn3d.btn-warning {
    box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #D79A34, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #FEAF20;
}

.btn3d.btn-warning:active,
.btn3d.btn-warning.active {
    box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background-color: #FEAF20;
}

.btn3d.btn-danger {
    box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #AA0000, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #D73814;
}

.btn3d.btn-danger:active,
.btn3d.btn-danger.active {
    box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background-color: #D73814;
}

.btn3d.btn-magick {
    color: #fff;
    box-shadow: 0 0 0 1px #9a00cd inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #9823d5, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #bb39d7;
}

.btn3d.btn-magick:active,
.btn3d.btn-magick.active {
    box-shadow: 0 0 0 1px #9a00cd inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background-color: #bb39d7;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'bootstrap-icons';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\f56e";
    /* bi-sort-alpha-up */
}

a.desc:after {
    content: "\f56d";
    /* bi-sort-alpha-down */
}

.sort-numerical a.asc:after {
    content: "\f576";
    /* bi-sort-numeric-up */
}

.sort-numerical a.desc:after {
    content: "\f575";
    /* bi-sort-numeric-down */
}

.sort-ordinal a.asc:after {
    content: "\f576";
    /* bi-sort-numeric-up (using numeric for ordinal for now) */
}

.sort-ordinal a.desc:after {
    content: "\f575";
    /* bi-sort-numeric-down */
}

.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;
}

.logo-perpus {
    display: inline-block;
    vertical-align: middle;
}

.show>.dropdown-menu {
    -webkit-animation-name: flipInX;
    -moz-animation-name: flipInX;
    -o-animation-name: flipInX;
    animation-name: flipInX;
    -webkit-animation-duration: .4s;
    -moz-animation-duration: .4s;
    -o-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both
}


.clockZ {
    position: absolute;
    z-index: 1000;
    top: 5px;
    right: 10px;
    width: 200px;
}

#footer .inlislite {
    background: url(../images/logo-perpusnas.png) no-repeat top left;
    height: 25px;
    padding: 5px 0px 5px 28px;
    text-shadow: 0px 0px 3px black;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.navbar-custom {
    background-color: #00897B;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    font-weight: bold;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.navbar-custom .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.btn-group-vertical {
    gap: 4px;
}

.btn-group-vertical>.btn {
    border-radius: 4px !important;
    margin-top: 0 !important;
}

/* Fix for potential 'mati' sidebar */
.sidebar-wrapper {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* GLOBAL EVALUATION FIX: Standardize all GridView filter inputs across the system */
.grid-view .table thead tr.filters td, 
.kv-grid-table thead tr.filters td {
    background-color: #f1f3f5 !important;
    padding: 6px 4px !important;
    vertical-align: middle !important;
}

.grid-view .table thead tr.filters td input,
.grid-view .table thead tr.filters td select,
.kv-grid-table thead tr.filters td input,
.kv-grid-table thead tr.filters td select {
    display: block !important;
    width: 100% !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    height: 32px !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease !important;
    color: #334155 !important;
}

.grid-view .table thead tr.filters td input:focus,
.kv-grid-table thead tr.filters td input:focus {
    border-color: #00796B !important;
    box-shadow: 0 0 0 3px rgba(0,121,107,0.15) !important;
    outline: none !important;
    background-color: #fff !important;
}

/* Ensure filter row is always visible */
.grid-view thead tr.filters, 
.kv-grid-table thead tr.filters {
    display: table-row !important;
    visibility: visible !important;
}