/* Blurred full-screen background overlay */
.ve-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Center modal container box */
.ve-popup-card {
    background-color: #1a1a1a;
    border: 2px solid #DAA520;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.2);
    animation: vePopScale 0.3s ease-out;
}

/* Content spacing and formatting */
.ve-popup-content {
    margin-bottom: 20px;
}

.ve-popup-content i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.ve-popup-content p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Specific Gold theme variations for Errors */
.ve-popup-error {
    color: #DAA520;
}

.ve-popup-error i {
    color: #DAA520;
}

/* Optional Success styling if message is success */
.ve-popup-success {
    color: #28a745;
}

/* Action close button */
.ve-popup-close-btn {
    background-color: #DAA520;
    color: #1a1a1a;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ve-popup-close-btn:hover {
    background-color: #B8860B;
}

/* Pop-up entrance scaling animation */
@keyframes vePopScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Animation helper for the loading spinner icon */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
