/* Popup Overlay styling */
.catalog-modal-overlay-f71bf730 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.admin-bar .catalog-modal-overlay-f71bf730 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .catalog-modal-overlay-f71bf730 {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.catalog-modal-overlay-f71bf730.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Box */
.catalog-modal-box-f71bf730 {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.catalog-modal-overlay-f71bf730.active .catalog-modal-box-f71bf730 {
    transform: scale(1);
}

/* Header */
.catalog-modal-header-f71bf730 {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #f8fafc;
}

.catalog-modal-header-f71bf730 h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Montserrat', sans-serif;
}

.catalog-modal-header-f71bf730 p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.catalog-modal-close-f71bf730 {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.catalog-modal-close-f71bf730:hover {
    color: #1e293b;
}

/* Body / List */
.catalog-modal-body-f71bf730 {
    padding: 16px 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.catalog-service-row-f71bf730 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.catalog-service-row-f71bf730:last-child {
    border-bottom: none;
}

.catalog-service-info-f71bf730 {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
    padding-right: 20px;
}

.catalog-service-icon-f71bf730 {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 6px;
    font-size: 14px;
}

.catalog-service-name-f71bf730 {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.catalog-service-action-f71bf730 a {
    display: inline-block;
    background: #61CE70;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.catalog-service-action-f71bf730 a:hover {
    background: #4ec260;
}
