/* Modal overlay - covers entire screen */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Hidden by default */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Show modal when active */
.modal-overlay.is-active {
    display: flex;
}

/* Modal box container - perfectly centered */
.modal-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}



/* Modal icon */
.modal-icon {
    font-size: 3rem;
    color: #ff3860;
    margin-bottom: 1rem;
}

/* Modal title */
.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Modal message */
.modal-message {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Modal buttons container */
.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Modal button styling */
.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Primary button (blue) */
.modal-btn-primary {
    background: #1A8917;
    color: white;
}

.modal-btn-primary:hover {
    background: #1A8929;
}

/* Secondary button (gray) */
.modal-btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.modal-btn-secondary:hover {
    background: #eeeeee;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .modal-box {
        padding: 1.5rem;
        margin: 1rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
    }
}

/* Demo button styling */
.demo-btn {
    display: inline-block;
    margin: 1rem;
    padding: 1rem 2rem;
    background: #3273dc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
}

.demo-btn:hover {
    background: #2366d1;
}
