/* Generic CMS Modal Styles */
.cms-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cms-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cms-modal {
    background: #fff;
    width: 90%;
    max-width: 540px;
    /* Slightly wider to accommodate larger padding */
    border-radius: 8px;
    padding: 60px 40px;
    /* User requested 60 40 */
    position: relative;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cms-modal-backdrop.active .cms-modal {
    transform: translateY(0);
}

.cms-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: #999;
    line-height: 1;
    transition: color 0.2s;
}

.cms-modal-close:hover {
    color: #333;
}

.cms-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cms-modal-body {
    font-size: 15px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cms-modal-actions {
    display: flex;
    gap: 20px;
    /* Increased gap */
    justify-content: center;
}

.cms-btn {
    min-width: 140px;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.cms-btn--cancel {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.cms-btn--cancel:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.cms-btn--primary {
    background: #004494;
    border-color: #004494;
    color: #fff;
}

.cms-btn--primary:hover {
    background: #003377;
    border-color: #003377;
    color: #fff;
}