﻿/* ---- Claim Info Modal ---- */
#claim-info-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 250;
    padding: 12px;
}

.claim-info-content {
    background: #12161f;
    border: 1px solid #1e2638;
    width: 900px;
    max-width: 98vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

.claim-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e2638;
    padding-bottom: 10px;
    flex-shrink: 0;
}
.claim-info-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
.claim-info-subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

.claim-info-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-shrink: 0;
}
.stat-card {
    background: #0b0d12;
    border: 1px solid #1e2638;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}
.stat-value-gold { color: #fbbf24; }
.stat-value-blue { color: #60a5fa; }

.claim-info-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}
.claim-info-section-title h4 {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
}
.claim-info-hint {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
    margin-bottom: 6px;
}

#missing-items-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 4px;
    flex: 1;
}

.claim-info-empty {
    color: #64748b;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.85rem;
}

.missing-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #0b0d12;
    border: 1px solid #1e2638;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.missing-item:hover {
    border-color: #374151;
    background: #0e121a;
}

.missing-rank {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    min-width: 32px;
    font-family: monospace;
}

.missing-item .item-icon-wrapper {
    width: 36px;
    height: 36px;
    background: #0f1219;
    border: 1px solid #242d40;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.missing-item .item-icon {
    width: 28px;
    height: 28px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.missing-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.missing-name {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.missing-meta {
    color: #64748b;
    font-size: 0.72rem;
}

.missing-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}
.missing-demand {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.85rem;
}
.missing-prices {
    font-size: 0.72rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .claim-info-stats {
        grid-template-columns: 1fr;
    }
    .missing-item {
        flex-wrap: wrap;
    }
}