* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 10px;
}

.accordion {
    margin-bottom: 20px;
}

.accordion-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #007BFF;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.accordion-button:hover {
    background: #0056b3;
}

.accordion-content {
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe, .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container {

    max-width: 800px;
    /* margin: 0 auto; */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-grow: 1; /* Ensures the container grows to take up available space */
    overflow-y: auto; /* Makes the content inside scrollable */
    /* max-height: 75vh; Limit the height of the container to 80% of the viewport */

}

.item {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
}

.item:hover {
    background-color: #eef;
}

.item-image {
    width: 25%; /*80px*/
    height: 100px; /*80px*/
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.item-content {
    flex: 1;
}

.item-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.item-details {
    font-size: 14px;
    line-height: 1;
    color: #555;
    margin-bottom: 3px;
}

.apply-button {
    padding: 8px 15px;
    font-size: 14px;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: #0056b3;
    color: #fff;

}

.countdown {
    font-size: 14px;
    /* color: #333; */
    color: #fff;

}

.success {
    /* color: #28a745; */
    color: #fff;

    font-weight: bold;
}

@media (max-width: 600px) {
    /* .item {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-image {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .apply-button {
        margin-top: 10px;
        width: 100%;
    }

    .item-content {
        margin-bottom: 10px;
    } */
}

.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.password-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.password-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.password-box button {
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.password-box button:hover {
    background: #0056b3;
}

.password-error {
    color: red;
    margin-top: 10px;
}

.live-item {
    background-color: #d4edda; /* Light green background */
    position: relative;
    border: 2px solid #28a745; /* Green border */
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.live-sticker {
    position: absolute;
    top: 10px;
    right: 10px; /* Position to the right */
    background: #28a745; /* Green background */
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

    /* Blinking effect */
    animation: blink 7s infinite;
}
.lived-item {
    background-color: #f8d7da; /* Light red background */
    position: relative;
    border: 2px solid #dc3545; /* Red border */
}

.lived-sticker {
    position: absolute;
    top: 10px;
    right: 10px; /* Position to the left */
    background: #dc3545; /* Red background */
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}