.cabval-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabval-popup-overlay.cabval-hidden {
    display: none !important;
}

.cabval-popup-modal {
    background: #ffffff;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 8px;
    border: 1px solid rgba(241, 196, 15, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(241, 196, 15, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cabval-popup-header {
    background: #1a1a1a;
    color: #ffffff;
    padding: 15px 20px;
    border-top: 3px solid #f1c40f;
    border-bottom: 2px solid #f1c40f;
}

.cabval-popup-header h2 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    font-variant: small-caps;
    text-transform: capitalize;
}

.cabval-popup-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    flex-grow: 1;
}

.cabval-popup-footer {
    background: #f8f9fa;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cabval-checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
}

.cabval-btn {
    background-color: #0d6efd;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cabval-btn:disabled {
    background-color: #adb5bd;
    cursor: not-allowed;
}

.cabval-btn:not(:disabled):hover {
    background-color: #0b5ed7;
}