/* ===========================================
   GLOBAL
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
}

body{

    font-family:'Poppins',sans-serif;

    background:
        linear-gradient(rgba(0,60,20,.18),
        rgba(0,60,20,.18)),
        url("../img/bg2.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

    overflow-x:hidden;

    color:#fff;

}

.container-fluid{

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    padding-top:35px;

    padding-bottom:20px;

}

.overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.08);

    z-index:-1;

}

.header{

    margin-bottom:45px;

}

.logo{

    width:90px;

    margin-bottom:12px;

}

.header h2{

    color:#FFFFFF;

    font-size:18px;

    font-weight:700;

    letter-spacing:.5px;

    margin-bottom:5px;

}

.header h3{

    color:#FFFFFF;

    font-size:16px;

    font-weight:600;

    margin-bottom:12px;
	
	text-shadow:
		0 3px 8px rgba(0,0,0,.45);

}

.header h1{

    font-size:48px;

    font-weight:700;

    color:#FFD54F;

    letter-spacing:2px;

    text-shadow:

        0 4px 18px rgba(255,210,70,.35);

}

.header p{

    color:#F3F3F3;

    font-size:14px;

    line-height:1.6;

    margin-top:8px;

}

.header{

    animation:fadeHeader .9s ease;

}

@keyframes fadeHeader{

    from{

        opacity:0;

        transform:translateY(-35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.header{
    text-align:center;
    padding-top:25px;
    margin-bottom:35px;
}

.logo{

    width:90px;

    margin-bottom:12px;

    filter:
        drop-shadow(0 8px 18px rgba(0,0,0,.35));

    transition:.4s;

}

.logo:hover{

    transform:scale(1.05);

}

.header h2{
    font-size:18px;
    font-weight:700;
    color:#fff;
    letter-spacing:.5px;
    margin-bottom:2px;
}

.header h3{
    font-size:16px;
    color:#fff;
    margin-bottom:10px;
}

.header h1{
    font-size:46px;
    font-weight:700;
    color:#FFD54F;
    letter-spacing:2px;
    text-shadow:
        0 3px 10px rgba(0,0,0,.35);
    margin-bottom:10px;
}

.header p{
    color:#fff;
    font-size:16px;
    line-height:1.5;
    margin-bottom:0;
}

/* ===========================================
   SERVICE CARD
=========================================== */

.service-card{

    width:100%;
	
    height:100%;

    border:none;
	
    border-radius:28px;

    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);

    display:flex;
    
	flex-direction:column;
    
	align-items:center;

    padding:35px 25px;

    color:#fff;

    cursor:pointer;

    transition:.35s ease;

    box-shadow:0 10px 30px rgba(0,0,0,.18);
	
	min-height:360px;
	
	position:relative;

}

.service-icon{

    width:95px;
	
    height:95px;

    display:flex;
	
    justify-content:center;
    
	align-items:center;

    margin-bottom:25px;

    flex-shrink:0;
	
	margin-bottom:25px;
}

.service-icon{

    display:flex;

    justify-content:center;

    align-items:center;

    width:120px;

    height:120px;

    margin:0 auto 20px;

}

.service-icon i{

    font-size:75px !important;

    color:#FFD54F;

    line-height:1;

    transition:.35s;
	
	text-shadow:
		0 0 15px rgba(255,213,79,.5);

}

.service-card:hover .service-icon i{

    transform:scale(1.08);

    transition:.35s;

}

.service-card h3{

    min-height:70px;

    display:flex;
    
	justify-content:center;
    
	align-items:center;

    font-size:21px;
    
	font-weight:700;

    line-height:1.25;

    text-align:center;

    margin-bottom:15px;

}

.service-card p{

    min-height:50px;

    display:flex;
    
	align-items:center;

    text-align:center;

    font-size:15px;

    color:#F5F5F5;

    line-height:1.5;

    margin-bottom:0;

}

.service-card{

    animation:showCard .8s ease forwards;

    opacity:0;

}

.service-card:nth-child(1){

    animation-delay:.15s;

}

.service-card:nth-child(2){

    animation-delay:.30s;

}

.service-card:nth-child(3){

    animation-delay:.45s;

}

.service-card:nth-child(4){

    animation-delay:.60s;

}

@keyframes showCard{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.waiting{

    margin-top:auto;

    width:100%;

    background:rgba(255,255,255,.15);

    border-radius:14px;

    padding:10px;

    text-align:center;

    font-size:16px;

    font-weight:600;

}

.waiting strong{

    font-size:18px;

    color:#FFFFFF;

}

.service-card{

    transition:
        transform .30s ease,
        box-shadow .30s ease,
        background .30s ease;

}

.service-card:hover{

    transform:translateY(-10px);

    background:rgba(255,255,255,.23);

    box-shadow:
        0 25px 50px rgba(0,0,0,.35);

}

.service-card:active{

    transform:scale(1.03);

}

cursor:pointer;
border:
1px solid rgba(255,255,255,.18);

/*=========================================
FOOTER
=========================================*/

.footer{

    position:fixed;

    bottom:0;

    width:100%;

    background:rgba(0,0,0,.25);

    padding:10px;

    font-size:18px;

    backdrop-filter:blur(12px);

}

.service-footer{

    margin-top:auto;

}

/*=========================================
CLOCK
=========================================*/

.clock-area{

    padding-top:10px;
	 
	margin-top:10px;

    margin-bottom:10px;

}

#clock{

    font-size:25px;

    font-weight:500;

    color:#FFD54F;

}

#date{

    font-size:15px;

    color:#FFFFFF;
}

/* ==========================================
   CETAK PAGE
========================================== */

.ticket-card{

    max-width:700px;

    margin:60px auto;

    padding:45px;

    border-radius:30px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(14px);

    text-align:center;

    color:#fff;

    box-shadow:0 15px 45px rgba(0,0,0,.25);

}

.ticket-logo{

    width:100px;

    margin-bottom:20px;

}

.ticket-card h4{

    font-size:20px;

    font-weight:600;

}

.ticket-card h3{

    font-size:26px;

    font-weight:500;

}

.ticket-card h1{

    font-size:30px;

    color:#FFD54F;

    font-weight:500;

    margin-bottom:20px;

}

.ticket-title{

    font-size:20px;

    font-weight:500;

    margin-top:20px;

}

.ticket-number{

    font-size:40px;

    font-weight:500;

    line-height:1;

    letter-spacing:3px;

    color:#000;

}

.ticket-service{

    font-size:28px;

    font-weight:700;

}

.ticket-info{

    font-size:20px;

    margin-top:25px;

}

.ticket-status{

    margin-top:30px;

    font-size:22px;

    color:#FFD54F;

    font-weight:600;

}

.ticket-status i{

    margin-right:10px;

}

.ticket-countdown{

    margin-top:15px;

    font-size:18px;

    color:#FFFFFF;

}

.ticket-countdown strong{

    color:#FFD54F;

    font-size:24px;

}

/* ==========================================
   PRINT PROGRESS
========================================== */

.print-progress{

    margin-top:25px;

}

.progress{

    height:18px;

    border-radius:20px;

    background:rgba(255,255,255,.20);

    overflow:hidden;

}

.progress-bar{

    background:#FFD54F;

}

/* ==========================================
   PRINT THERMAL POS
========================================== */

@media print{

html,
body{

    width:58mm;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    overflow:hidden !important;

    background:#fff !important;

}

body{

    background:none !important;

}

.overlay,
.header,
.footer,
.ticket-countdown,
.ticket-status,
.print-progress{

    display:none !important;

}

.container,
.container-fluid{

    width:58mm !important;

    min-height:auto !important;

    height:auto !important;

    margin:0 !important;
    padding:0 !important;

}

.ticket-card{

    width:58mm !important;

    max-width:58mm !important;

    margin:0 !important;

    padding:4mm !important;

    border:none !important;

    box-shadow:none !important;

    background:#fff !important;

    color:#000 !important;

}

.ticket-number{

    font-size:42pt !important;

    color:#000 !important;

}

.ticket-service{

    font-size:18pt !important;

}

img{

    max-width:50px;

}

}