/* index.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('../KULON.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: rgba(47, 60, 72, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    text-align: center;
    color: #f0f0f0;
    margin-left: 10px;
    /*transform: translateX(2px);*/
}

h1 {
    color: #ADD8E6;
    margin-bottom: 30px;
    font-size: 1.5em;
    line-height: 1.3;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #A9A9A9;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #D3D3D3;
    font-size: 0.9em;
}

input[type="text"],
input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #E0FFFF;
    color: #333;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
.form-group select:focus {
    outline: none;
    background-color: #F0FFFF;
    box-shadow: 0 0 5px rgba(173, 216, 230, 0.5);
}

.qris-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
    color: #f0f0f0;
    text-align: left;
}

.qris-radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}

.qris-radio-group input[type="radio"] {
    width: auto;
    padding: 0;
    margin-right: 8px;
    cursor: pointer;
}

#qris_bank_selection {
    display: none;
    margin-top: 20px;
}

#qris_bank_selection label {
    margin-bottom: 8px;
}

#qris_bank_selection select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #E0FFFF;
    color: #333;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#qris_bank_selection select:focus {
    outline: none;
    background-color: #F0FFFF;
    box-shadow: 0 0 5px rgba(173, 216, 230, 0.5);
}

.terms-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.terms-checkbox-group input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
}

.terms-checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-checkbox-group a {
    color: #ADD8E6;
    text-decoration: none;
}

.terms-checkbox-group a:hover {
    text-decoration: underline;
}

.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-decoration: none;
    text-align: center;
    display: inline-flex; /* Mengubah display ke inline-flex */
    justify-content: center;
    align-items: center;
}

.btn-daftar {
    background-color: #6495ED;
    color: white;
}

.btn-daftar:hover:not(:disabled) {
    background-color: #4169E1;
    transform: translateY(-2px);
}

.btn-daftar:disabled {
    background-color: #A9A9A9;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-cek-invoice {
    background-color: #6A5ACD;
    color: white;
}

.btn-cek-invoice:hover {
    background-color: #483D8B;
    transform: translateY(-2px);
}

.btn-play-music {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px; /* Gunakan padding yang sama */
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-flex; /* Mengubah display ke inline-flex */
    justify-content: center;
    align-items: center;
}

.btn-play-music:hover {
    background-color: #218838;
}

.message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 5px;
    font-size: 0.9em;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.full-message h2 {
    color: #FF6347;
}

.full-message p {
    font-size: 1.1em;
    color: #d3d3d3;
    margin-bottom: 20px;
}

/* countdown.css */
.countdown-container h2 {
    font-size: 1.5rem;
    color: #ffffffff;
    margin-bottom: 10px;
}

.countdown {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff0000ff;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1em;
    color: #ffffffff;
    margin-top: -5px;
    margin-bottom: 20px;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 25px;
        margin: 10px;
    }

    h1 {
        font-size: 1.3em;
        margin-bottom: 25px;
    }

    .logo-circle {
        width: 50px;
        height: 50px;
    }

    .logo-container {
        gap: 10px;
        margin-bottom: 25px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
        margin: 0;
    }

    h1 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .logo-circle {
        width: 45px;
        height: 45px;
    }

    .logo-container {
        gap: 8px;
        margin-bottom: 20px;
    }

    input[type="text"],
    input[type="tel"] {
        padding: 10px;
        font-size: 0.9em;
    }

    label {
        font-size: 0.8em;
    }

    .btn {
        padding: 12px;
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.1em;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
    }

    .logo-container {
        gap: 6px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        align-items: flex-start;
        padding: 10px;
    }

    .container {
        margin: 10px 0;
        padding: 20px;
    }

    h1 {
        margin-bottom: 15px;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgba(47, 60, 72, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #fff;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
}

.popup-button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.popup-button:hover {
    background-color: #0056b3;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
        /* CSS untuk Pop-up Notifikasi */
.notification-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(47, 60, 72, 0.8);
    color: #ffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    overflow: hidden;
    max-width: 300px;
    border-left: 5px solid #4CAF50;
    animation: fadeIn 0.5s ease-in forwards;
}

.notification-popup.second-popup {
    border-left: 5px solid #007bff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-header {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #4CAF50;
}
        
.notification-popup.second-popup .notification-header {
    color: #007bff;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    }

.notification-list .booking-item {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(47, 60, 72, 0.8);
}

.notification-list .booking-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Add this to your assets/css/index.css */

#maintenance-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Use a higher z-index to ensure it's on top of everything */
    padding: 20px;
    text-align: center;
}

#maintenance-modal .modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #333;
}
#maintenance-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(192, 57, 43, 0.9); /* Warna merah dengan transparansi */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    text-align: center;
}

#maintenance-modal .modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #333;
}

#maintenance-modal p {
    color: black;
}

#maintenance-modal .popup-button {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#maintenance-modal .popup-button:hover {
    background-color: #c0392b;
}

#countdown-maintenance {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
    margin-bottom: 15px;
}

#recurring-popup .modal-content {
    background-color: #2c3e50;
    color: #ecf0f1;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#recurring-popup h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

#recurring-popup p {
    font-size: 1.1em;
    margin: 10px 0;
}