/* Spinner before modal */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #27ae60;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Overlay background */
.confirmation-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Modal box */
.confirmation-modal {
    background: url('images/tourism-bg.jpg') center/cover no-repeat, #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    text-align: center;
    width: 65%;
    max-width: 400px;
    color: #2c3e50;
    font-family: 'Segoe UI', sans-serif;
}

.confirmation-modal h2 {
    color: #27ae60;
    margin-bottom: 10px;
    font-size: 22px;
}

.confirmation-modal p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.confirmation-modal button {
    background: #4bb778;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 65%;
}

.confirmation-modal button:hover {
    background: #219150;
}

body.submitting,
.submitting * {
    cursor: not-allowed !important;
}

/* iPhone 15 Pro/Max and smaller */
@media only screen and (max-width: 430px) {
    .confirmation-modal {
        width: 65%;
        padding: 20px;
    }

    .confirmation-modal h2 {
        font-size: 20px;
    }

    .confirmation-modal p {
        font-size: 14px;
    }

    .confirmation-modal button {
        font-size: 15px;
        padding: 8px 20px;
    }
}