.zrh-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.zrh-modal-hidden {
    opacity: 0;
    pointer-events: none;
}

.zrh-modal-visible {
    opacity: 1;
    pointer-events: auto;
}

.zrh-modal-container {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    animation: zrhPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zrhPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zrh-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.zrh-modal-close:hover {
    color: #333;
}

#zrh-modal-header h2 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.zrh-modal-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.zrh-modal-item:hover {
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

.zrh-item-main {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.zrh-item-icon {
    font-size: 24px;
    color: #2271b1;
    margin-top: 3px;
}

.zrh-item-text h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
}

.zrh-item-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.zrh-item-image img {
    max-width: 80px;
    border-radius: 8px;
    object-fit: cover;
}

body.zrh-modal-active {
    overflow: hidden;
}

/* Base styles for trigger buttons */
.zrh-modal-open {
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.zrh-modal-open:hover {
    background: #135e96;
}