.neris-incident-counter-widget {
    font-size: 14px;
    line-height: 1.5;
    color: inherit;
}

.neris-incident-counter-widget .neris-ic-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.neris-incident-counter-widget .neris-ic-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.neris-incident-counter-widget h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
}

/* Current year counter */
.neris-ic-current-year {
    text-align: center;
}

.neris-ic-current-year .neris-ic-count {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
}

.neris-ic-current-year .neris-ic-label {
    display: block;
    font-size: 13px;
    opacity: 0.75;
    margin-top: 4px;
}

/* Last incident */
.neris-ic-last-incident-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.neris-ic-last-incident-title {
    font-weight: 600;
}

.neris-ic-last-incident-link {
    display: inline-block;
    margin-bottom: 10px;
}

.neris-ic-last-incident-audio {
    margin-top: 10px;
}

/* Year list */
.neris-ic-year-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.neris-ic-year-list li {
    margin: 0;
    padding: 0;
}

.neris-ic-year-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.neris-ic-year-list li:last-child .neris-ic-year-link {
    border-bottom: none;
}

.neris-ic-year-link .neris-ic-year {
    font-weight: 600;
}

.neris-ic-year-link .neris-ic-year-count {
    opacity: 0.8;
}

.neris-ic-show-more-years {
    display: inline-block;
    font-size: 13px;
}

/* Member percentages */
.neris-ic-percentage-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.neris-ic-percentage-list li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.neris-ic-percentage-value {
    font-weight: 600;
}

.neris-ic-view-call-percentages {
    display: inline-block;
    font-size: 13px;
}

/* Modal */
.neris-ic-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.neris-ic-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.neris-ic-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: #222;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.neris-ic-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px 4px 0 0;
}

#neris-ic-modal-title {
    font-size: 16px;
    font-weight: 600;
}

.neris-ic-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    color: #555;
}

.neris-ic-modal-body {
    padding: 20px;
    overflow-y: auto;
}

#neris-ic-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.neris-ic-modal-incident {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.neris-ic-modal-incident:last-child {
    border-bottom: none;
}

.neris-ic-modal-incident a {
    text-decoration: none;
}

#neris-ic-modal-error {
    color: #a00;
}

body.neris-ic-modal-open {
    overflow: hidden;
}
