@font-face {
    font-family: 'Poppins';
    src: url('../poppins/Poppins-Regular.ttf');
}

body, html {
	font-family: 'Poppins', sans-serif;
    height: 100%;
    margin: 0;
    font-family: 'Poppins';
    /* overflow: hidden; */
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    /* text-align: center; */
    min-height: 100vh;
}

.title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.grid-item {
    background-color: #e0e0e0;
    color: #333;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    border: 2px solid transparent;
}

.grid-item .duration {
    font-weight: bold;
}

.grid-item .price {
    color: #ff5722;
    font-weight: bold;
}

.grid-item.active {
    background-color: #33b5e5;
    color: white;
    border-color: #33b5e5;
}

.grid-item.active .price {
    color: white;
}

.grid-item.disabled {
    background-color: #f4f4f4;
    color: #6c757d;
    box-shadow: none;
    cursor: not-allowed;
}

.payment-button {
    margin-top: 30px;
    z-index: 10;
}

.payment-button button {
    background-color: #1abc9c !important;
    font-size: 1.2rem;
    height: 60px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.payment-button button:hover {
    background-color: #16a085;
}

#qris {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
    /* text-align: center; */
}

#qris .bg-timer {
    width: 150px;
}
#qris table {
    width: 400px;
}
#qris .cancel {
    font-size: 1.2rem;
    cursor: pointer;
}

.video-frame {
    width: 100%;
    max-width: 250px;
    height: 200px;
    background-color: #000;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 17px;
    color: #333;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-top: -10vh;
}

.timercount {
    font-size: 8rem;
    font-weight: bold;
    color: #16a085;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

#parentContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#instructionText {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#webcamContainer {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#webcam {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #fff;
    font-weight: bold;
    display: none;
}