/* =========================
   WRAPPER
========================= */

.me-spmb-wrapper{
    max-width: 760px;
    margin: 40px auto;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   CARD
========================= */

.me-spmb-card{
    background: transparent;
}

/* =========================
   TITLE
========================= */

.me-spmb-title{
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}

.me-spmb-subtitle{
    margin: 0 0 30px;
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}

/* =========================
   ALERT
========================= */

.me-spmb-alert{
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.me-spmb-alert-info{
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.me-spmb-alert-warning{
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
}

.me-spmb-alert-success{
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #047857;
}

/* =========================
   COUNTDOWN
========================= */

.me-spmb-countdown-card{
    text-align:center;
    position:relative;
    overflow:hidden;
    animation:meFadeZoom .8s ease;
    transition:all .6s ease;
}

.me-spmb-countdown-modern{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:35px;
    flex-wrap:wrap;
}

.me-spmb-time-box{
    width:110px;
    height:110px;
    border-radius:22px;
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:
        0 10px 20px rgba(0,0,0,.04),
        0 4px 6px rgba(0,0,0,.03);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    transition:all .3s ease;
    animation: mePulse 2s infinite;
}

.me-spmb-time-box:hover{
    transform:translateY(-5px);
}

.me-spmb-time-box span{
    font-size:36px;
    font-weight:700;
    color:#111827;
    line-height:1;
}

.me-spmb-time-box small{
    margin-top:10px;
    color:#6b7280;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.me-spmb-opening-text{
    margin-top:30px;
    color:#6b7280;
    font-size:14px;
}

/* =========================
   ANIMATION
========================= */

@keyframes mePulse{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-3px);
    }

    100%{
        transform:translateY(0);
    }
}

@keyframes meFadeZoom{

    from{
        opacity:0;
        transform:scale(.92);
    }

    to{
        opacity:1;
        transform:scale(1);
    }
}

/* =========================
   FORM
========================= */

.me-spmb-form-group{
    margin-bottom: 22px;
}

.me-spmb-form-group label{
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.me-spmb-form-animation{
    animation:meSPMBShowForm .7s ease forwards;
}

@keyframes meSPMBShowForm{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


.me-spmb-hide-countdown{
    animation:meSPMBHideCountdown .7s ease forwards;
}

@keyframes meSPMBHideCountdown{

    from{
        opacity:1;
        transform:translateY(0) scale(1);
    }

    to{
        opacity:0;
        transform:translateY(-20px) scale(.96);
    }
}

/* =========================
   INPUT
========================= */

.me-spmb-input,
.me-spmb-select{
    width: 100%;
    border-radius: 10px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff;
    color: #111827 !important;
    font-size: 15px;
    transition: all .2s ease;
    box-sizing: border-box;
    line-height: 1.5 !important; 
}

.me-spmb-input{ 
    padding: 25px 16px !important;
}

.me-spmb-select{ 
    padding: 15px 16px !important;
}

.me-spmb-input:focus,
.me-spmb-select:focus{
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}
/* =========================
   BUTTON
========================= */

.me-spmb-button{
    display:block;
    width:100%;
    text-align: center;
    background-color: #27ae60 !important;
    color: white !important;
    padding: 12px;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
    margin-top: 10px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
}

.me-spmb-button:hover{
    background-color: #2ecc71;
    box-shadow: none;
    transform: translateY(-1px);
}

.me-spmb-button-secondary{
    background-color: #e9671b !important;
}

.me-spmb-button-secondary:hover{
    background-color: #ca5815 !important;
    box-shadow: none;
}

.me-spmb-button-danger{
    background-color: #dc2626 !important;
}

.me-spmb-button-danger:hover{
    background-color: #b91c1c !important;
    box-shadow: none;
}

/* ------------------ DETAIL BOOKING-------------------------*/
.me-spmb-header {
    background: #f9fafb;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.me-spmb-title {
    font-size: 16px !important;
    font-weight: 700;
    margin: 0 !important;
    color: #374151;
}

.me-spmb-badge {
    background: #e5e7eb;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}

.me-spmb-main-info {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
}

.me-spmb-q-number small {
    display: block;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    margin-bottom: 5px;
}

.me-spmb-q-number h1 {
    font-size: 64px !important;
    margin: 0 !important;
    color: #2563eb; /* Warna Biru Modern */
    line-height: 1;
}

.me-spmb-info-grid {
    margin-top: 20px;
}

.me-spmb-info-item {
    margin-bottom: 15px;
    border-left: 3px solid #3b82f6;
    padding-left: 15px;
}

.me-spmb-info-item label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 2px;
}

.me-spmb-info-item p {
    margin: 0 !important;
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
}

.me-spmb-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px dashed #e5e7eb;
}

/* ------------------ DIVIDER -------------------------*/
.me-spmb-divider{
    position:relative;
    margin:28px 0;
    height:1px;
    background:linear-gradient(
        to right,
        transparent,
        rgba(148,163,184,.45),
        transparent
    );
}

.me-spmb-divider::before{
    content:'ATAU';
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    padding:0 14px;
    background:#fff;
    color:#64748b;
    font-size:11px;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

/* =========================
   TABLE
========================= */

.me-spmb-table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.me-spmb-table td{
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    line-height: 1.6;
}

.me-spmb-table td:first-child{
    width: 220px;
    font-weight: 600;
    color: #374151;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){
    .me-spmb-wrapper{
        margin: 20px auto;
    }

    .me-spmb-card{
        border-radius: 16px;
    }

    .me-spmb-title{
        font-size: 24px;
    }

    .me-spmb-countdown-modern{
        gap:12px;
    }

    .me-spmb-time-box{
        width:65px;
        height:65px;
        border-radius:14px;
        padding-top: 10px;
    }

    .me-spmb-time-box span{
        font-size:20px;
    }

    .me-spmb-time-box small{
        margin-top: 5px;
        font-size:11px;
    }

    .me-spmb-countdown{
        font-size: 20px;
    }

    .me-spmb-table td{
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: none;
    }

    .me-spmb-table tr{
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .me-spmb-table td:first-child{
        width: 100%;
        margin-bottom: 5px;
    }

    .me-spmb-button{
        width: 100%;
        text-align: center;
    }
}
