* {
    margin: 0 auto;
}

:root {
    --app-primary-color: #7cadcf;
}

.transition {
    transition: .3s ease;
    -moz-transition: .3s ease;
    -o-transition: .3s ease;
    -webkit-transition: .3s ease;
    -ms-transition: .3s ease;
}

html, body {
    background: #f3f3f3;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.card:not(.border) {
    border: none!important;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #f7f7f7;
}

.playful {
    font-family: "DynaPuff", sans-serif;
}

.text-mute {
    color: #a8a9aa;
}

table.table-soft-border td {
    padding: .5rem;
    border-bottom: 1px dashed #ccc;
}
table.table-soft-border tr:last-child td {
    border-bottom: none;
}

.avatar {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

#loading {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f7f7;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    flex-direction: column;
    gap: 20px;
}

.loader {
    width: 60px;
    aspect-ratio: 1;
    background:
      linear-gradient(90deg,#CEE879 50%,#FF5254 0) top/100% 50% no-repeat,
      linear-gradient(90deg,#FCB653 50%,#5CACC4 0);
    -webkit-mask:linear-gradient(#000 0 0) 0 0/50% 50% no-repeat;
    animation: l18 2s infinite; 
}
@keyframes l18 {
    0%   {-webkit-mask-position:0    0   }
    25%  {-webkit-mask-position:100% 0   }
    50%  {-webkit-mask-position:100% 100%}
    75%  {-webkit-mask-position:0    100%}
    100% {-webkit-mask-position:0    0   }
}

#app {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
}

.splash-bg {
    background: url('./images/splash-character.png');
    background-size: 40%;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.splash-screen {
    padding: 30% 7% 7% 7%;
}

.btn-round-icon {
    height: 55px;
    line-height: 55px; 
    padding: 0 25px;
    font-size: larger;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-round-icon span {
    padding-left: 15px;
}

.bottom-menu {
    position: fixed; 
    z-index: 9999;
    background-color: #fff;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bottom-menu-container {
    width: 100%;
    height: 60px;
    max-width: 500px;
    display: flex; 
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    gap: 5px;
}
.bottom-menu .menu-item {
    width: 20%;
}
.bottom-menu .menu-item a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #a8a9aa;
    font-size: 8px;
    width: 100%;
}
.bottom-menu .menu-item a.active {
    color: #666;
}
.bottom-menu .menu-item a span {
    display: block;
    text-align: center;
    height: 20px;
}
.bottom-menu .menu-item.primary a {
    color: var(--app-primary-color);
    position: relative; 
    top: -10px;
}
.bottom-menu .menu-item.primary svg {
    background: var(--app-primary-color);
    color: #fff;
    padding: 10px;
    border-radius: 12px;
}

.main {
    width: 100%;
    padding-bottom: 80px;
}

.bg-gradientblue {
    background: #9ccdff;
    background: -webkit-linear-gradient(180deg, rgba(156, 205, 255, 1) 0%, rgba(69, 184, 222, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(156, 205, 255, 1) 0%, rgba(69, 184, 222, 1) 100%);
    background: linear-gradient(180deg, rgba(156, 205, 255, 1) 0%, rgba(69, 184, 222, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9CCDFF", endColorstr="#45B8DE", GradientType=0);
}

.bg-gradientgreen {
    background: #6be88e;
    background: -webkit-linear-gradient(180deg, rgba(107, 232, 142, 1) 0%, rgba(114, 204, 176, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(107, 232, 142, 1) 0%, rgba(114, 204, 176, 1) 100%);
    background: linear-gradient(180deg, rgba(107, 232, 142, 1) 0%, rgba(114, 204, 176, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6BE88E", endColorstr="#72CCB0", GradientType=0);
}

.bg-gradientred {
    background: #ffa845;
    background: -webkit-linear-gradient(180deg, rgba(255, 168, 69, 1) 0%, rgba(237, 142, 74, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(255, 168, 69, 1) 0%, rgba(237, 142, 74, 1) 100%);
    background: linear-gradient(180deg, rgba(255, 168, 69, 1) 0%, rgba(237, 142, 74, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFA845", endColorstr="#ED8E4A", GradientType=0);
}

.text-primary {
    color: var(--app-primary-color)!important;
}

.bl-primary {
    border-left: 3px solid var(--app-primary-color);
}

.radius {
    border-radius: 12px;
}

header {
    border-radius: 0 0 20px 20px;
}

.see-detail {
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 10%;
    background: #fff;
    padding: 0 .5rem;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px 0 0 5px;
    line-height: 20px;
}

.absensi-block {
    background: rgba(223, 240, 255);
    padding: 1rem;
}

.modal-bottom {
    position: fixed; 
    bottom: 0;
    left: 0;
    padding: 1rem;
    width: 100%;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    z-index: 10001;
}

.modal-choose-selection {
    width: 100%;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    margin-bottom: .5rem;
    border-radius: 65px;
}
.modal-choose-selection > * {
    margin: 0;
}
.modal-choose-selection img {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.modal-choose-selection.active {
    background: #fff;
    color: #333!important;
}
.modal-bottom-overlay {
    background: rgba(255, 255, 255,.8);
    position: fixed; 
    z-index: 10000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.modal-bottom-overlay {
    display:none;
}
.modal-bottom {
    bottom: -100%;
}

body.modal-bottom-open {
    overflow: hidden;
}
body.modal-bottom-open .modal-bottom-overlay {
    display: block;
}
body.modal-bottom-open .modal-bottom {
    bottom: 0;
}

.list-item {
    padding: .5rem 1rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: .25rem;
}
.list-item.active {
    background: #9ccdff;
    background: -webkit-linear-gradient(180deg, rgba(156, 205, 255, 1) 0%, rgba(69, 184, 222, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(156, 205, 255, 1) 0%, rgba(69, 184, 222, 1) 100%);
    background: linear-gradient(180deg, rgba(156, 205, 255, 1) 0%, rgba(69, 184, 222, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9CCDFF", endColorstr="#45B8DE", GradientType=0);
    color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    width: 98%;
    background: var(--app-primary-color);
    color: #fff;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
}

.btn-photo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 150px;
    padding: 0;
    border: 1px dashed var(--app-primary-color);
    color: var(--app-primary-color);
}

.modal-fullpage {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f7f7f7;
    z-index: 10002;
    padding: 1rem;
    transition: .3s ease;
}

.doc-holder {
    display: block;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.doc-holder img {
    width:100%; 
    height: 150px; 
    object-fit: cover; 
}

.doc-holder .text-container {
    position: absolute; 
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem .5rem .3rem .5rem;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    background: transparent;
    background: -webkit-linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(6, 6, 6, 0.5) 55%, rgba(0, 0, 0, 0.8) 100%);
    background: -moz-linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(6, 6, 6, 0.5) 55%, rgba(0, 0, 0, 0.8) 100%);
    background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(6, 6, 6, 0.5) 55%, rgba(0, 0, 0, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0D0D0D", endColorstr="#000000", GradientType=0);
}