/*
Theme Name: Laros37
Version: 1.0
Theme URI: http://www.oketheme.com
Author: Tri Yuli Kurniawan
Author URI: http://www.oketheme.com
Description: Tema custom untuk loket antrian online Kantah Banyuwangi
Requires at least: 5.0
Requires PHP: 7.2
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@-webkit-keyframes Gradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@-moz-keyframes Gradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes Gradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}

*,
:after,
:before {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: "Open Sans", serif;
    margin: 0px;
    padding: 0px;
    font-size: 15px;
    height: 100%;
    color: #222;
}

a{
    color: #003C69;
    transition: .3s;
}
a:hover {
    color: #FEC42B;
}

/* SCROLLBAR  */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #333;
}
::-webkit-scrollbar-thumb:hover {
    background: #111;
}

#main-wrap {
    background: linear-gradient(-45deg, #FEC32D,#a17505, #026ec7, #013B69);
    background-size: 400% 400%;
    -webkit-animation: Gradient 10s ease infinite;
    -moz-animation: Gradient 10s ease infinite;
    animation: Gradient 10s ease infinite;
}
#main-wrap::before {
    position: fixed;
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: url('assets/img/grid.png');
    opacity: .1;
    background-size: 500px 500px;
    height: 100%;
    z-index: 1;
}
#main-wrap::after {
    position: fixed;
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: .2;
    background-image: url('assets/img/logo-kantah-transparent.png');
    background-position: calc(50% - 50px) center;
    background-size: auto;
    background-repeat: no-repeat;
}

#body-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 50px;
    place-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

button {
    cursor: pointer;
    padding: 10px 20px;
    background: #333;
    border: 0;
    outline: 0;
    color: white;
    transition: .3s;
    line-height: normal;
    font-family: inherit;
    font-size: inherit;
    border-radius: 4px;
}
button:hover {
    background-color: #111;
}

.wrap {
    display: flex;
    gap: 50px;
    padding: 30px 20px;
    max-width: 1000px;
    width: 100%;
    justify-content: space-between;
}
.wrap img.svg {
    align-self: center;
}
.wrap > * {
    width: calc((100% - 50px) / 2); /* Membatasi maksimal 50% dari container */
}

/* Notifikasi */
.notice {
    max-width: 500px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
    margin: 40px auto;
}
.notice button {
    margin-top: 10px;
}
.notice.success {
    background-color: #c5fbc7;
}
.notice.error {
    background-color: #fbc7c7;
}
.head-title {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
    place-content: center;
}
.head-title > * {
    margin: 0;
}
.head-title h1 {
    margin-bottom: 10px;
    font-size: 5em;
    line-height: 1.1em;
}
.head-title .marker {
    font-size: 1.5em;
    display: inline-block;
    padding: 10px;
    border-radius: 4px;
    background: #ffffff50;
    line-height: 1em;
    margin: 10px 0;
    font-weight: 700;
}
.head-title ul {
    padding-left: 20px;
    list-style: none;
}
.head-title ul li.selesai .marker{
    background: #06c10690;
}
.head-title ul li::before {
    content: '\2022';
    font-size: 1.2em;
    margin-left: -20px;
    margin-right: 10px;
    display: inline-block;
    width: 15px;
}
.head-title ul li.selesai::before {
    content: '\2713';
}

/* Form */
.box {
    width: 345px!important;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: left;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.box label {
    font-weight: bold;
    margin-bottom: -5px;
    display: block;
}
.box select, .box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1em;
}
.box button {
    width: 100%;
}

.pin-wrap {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.pin-wrap.login {
    border-color: #bff5bf;
    background: #dcffdc;
    padding: 10px;
}
.pin-wrap b {
    font-size: 1.2em;
}
.pin-wrap input {
    margin: 0;
    border: none;
}
.pin-wrap button {
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    width: auto!important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.queue {
    font-size: 6em;
    display: inline-block;
    padding: 20px;
    border-radius: 6px;
    background: #ffffff30;
    line-height: 1em;
    font-weight: 700;
    align-self: flex-start;
}

.tambah-layanan-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    color: #222;
    display: none;
}
.tambah-layanan-area form {
    position: relative;
    overflow: hidden;
}
.close-tambah-layanan {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px!important;
    height: 40px;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    border-bottom-left-radius: 4px;
}

.berkas-list {
    max-height: 400px;
    overflow-y: auto;
}
.berkas-list::-webkit-scrollbar {
    width: 7px;
}

.none {
    display:none;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 20px;
    color: white;
    font-size: .9em;
}


/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .wrap {
        flex-direction: column;
        max-width: 500px;
        text-align: center;
        gap: 30px;
        padding: 80px 20px 60px;
    }
    .wrap > * {
        width: 100%;
    }
    .wrap img.svg {
        width: 70%;
        margin-top: 20px;
    }
    .queue {
        align-self: center;
        font-size: 5em;
    }
    .head-title h1 {
        font-size: 3em;
    }
}

/* Ponsel (max-width: 600px) */
@media (max-width: 600px) {
    .wrap img.svg {
        display: none;
    }
}

@media print {
    #body-wrap {
        min-height: unset;
        display: block;
        background: #fff;
    }
    .head-title,
    .footer,
    .head-title ul li::before,
    ._total,
    ._informasi,
    .berkas-list button {
        display: none;
    }
    .wrap,
    .print-area {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        max-width: unset;
    }
    .berkas-list .none,
    ._instruksi {
        display: block;
    }
    .berkas-list .nomor-layanan {
        font-size: 3em!important;
        background: none!important;
    }
    .berkas-list .tgl-layanan {
        border-top: 1px solid #FEC42B;
        border-bottom: 1px solid #FEC42B;
        color: #FEC42B;
        padding: 5px 0;
    }
    .berkas-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        margin: 0;
        padding: 0!important;
        width: 100%;
        list-style: none!important;
        max-height: unset;
        overflow: unset;
    }
    .berkas-list li {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        padding: 20px;
        border: 3px solid #003C69;
        color: #003C69;
        border-radius: 10px;
        text-align: center;
    }
}