body {
    background: url(/assets/img/bg-jangkrik.jpg) no-repeat center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position-x: center !important;
    background-position-y: center !important;
}

.gradient-orange {
    background: linear-gradient(to bottom, #ffba53 0%, #ff9800 100%) !important;
}

.blink-me {
    animation-name: blinker;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.btn-announce {
    animation: blinking 0.7s infinite;
    transition: all 1s;
    border-radius: 5px;
}

.text-berjalan {
    background: #371a05;
    padding: 0px 0px;
    border: 1px solid transparent;
    font: 400 22px arial;
    text-shadow: #000000;
    color: rgb(255, 255, 255);
    letter-spacing: 1.5px;
    margin-top: 0px;
}

@keyframes blinking {
    0% {
        border: 2px solid #01db20;
    }

    100% {
        border: 2px solid rgb(231, 177, 0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.image-container {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.percentage {
    text-align: center;
    margin-top: 5px;
    font-size: 16px;
    color: #333;
}

.time-range {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    max-width: 400px;
    width: 90%;
}

.detail-item {
    margin: 10px 0;
    padding: 8px;
    border-radius: 5px;
}

.detail-label {
    font-weight: bold;
    color: #555;
}

/* Tambahan style untuk notifikasi dan slider */
.notification {
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* .slide {
    min-width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
} */

.slider-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-dot.active {
    background: white;
}

.url-button {
    display: block;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    text-align: center;
    margin: 20px auto;
    max-width: 200px;
    border-radius: 5px;
}

/* Container styling */
.progress-container {
    width: 100%;
    background-color: #e5e7eb;
    /* Light gray */
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bar styling */
.progress-bar {
    height: 100%;
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Color classes */
.progress-bar.red {
    background-color: #ef4444;
    /* Red */
}

.progress-bar.yellow {
    background-color: #f59e0b;
    /* Yellow */
}

.progress-bar.green {
    background-color: #10b981;
    /* Green */
}
