﻿.hed-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: grid;
    place-items: center;
    z-index: 9999;
    padding: 16px;
}

.hed-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    max-width: 520px;
    width: 100%;
    padding: 24px;
    position: relative;
}

.hed-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.hed-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.hed-header h3 {
    margin: 0;
    font-size: 20px;
}

.hed-icon {
    width: 28px;
    height: 28px;
}

.hed-body {
    background: #f7fafc;
    border-radius: 12px;
    padding: 14px 16px;
    display: grid;
    gap: 6px;
    color: #1f2937;
    font-size: 14px;
}

.hed-range {
    font-weight: 700;
}

.hed-unknown {
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    color: #4b5563;
}

.hed-footer {
    margin-top: 10px;
    font-size: 12px;
    color: #6b7280;
}

.hed-icon-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.hed-icon-btn img {
    max-width: 18px;
    max-height: 18px;
}

.hed-icon-btn.hed-inline {
    position: relative;
    top: -2px;
}

.hed-inline-info {
    margin: 8px 0 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: #1f2937;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.hed-inline-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hed-inline-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hed-inline-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hed-inline-icon img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    display: block;
}

.hed-inline-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.hed-inline-dates {
    margin-top: 6px;
    font-weight: 700;
    color: #0f172a;
}

.hed-inline-subtext {
    font-size: 13px;
    color: #4b5563;
}

.hed-inline-title {
    font-weight: 700;
    color: #111827;
}

.hed-inline-note {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

body.hed-modal-open {
    overflow: hidden;
}
