.history-scr-content {
    padding: 0;
    padding-bottom: 120px;
}

/* Title */
.history-scr-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.93);
    margin: 0 0 10px 0;
}

/* Card list */
.history-scr-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual card — liquid glass */
.history-scr-card {
    position: relative;
    border-radius: var(--radius-lg, 18px);
    background: linear-gradient(
        168deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.history-scr-card:active {
    transform: scale(0.98);
}

/* Route line: Country → Regions */
.history-scr-route {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.history-scr-country {
    font-size: var(--font-size-lg, 16px);
    font-weight: 600;
    color: var(--text-primary);
}

.history-scr-arrow {
    color: var(--accent-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.history-scr-regions {
    font-size: var(--font-size-md, 14px);
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Info row: dates + guests */
.history-scr-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.history-scr-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: var(--font-size-sm, 12px);
    color: rgba(255, 255, 255, 0.55);
}

.history-scr-tag svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
}

/* Footer: results count + timestamp */
.history-scr-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.history-scr-results {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    font-size: 12px;
    font-weight: 600;
}

.history-scr-results svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.history-scr-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

/* Hotels tags if present */
.history-scr-hotels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.history-scr-hotel-tag {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    font-size: 11px;
    color: #667eea;
}

/* Empty state */
.history-scr-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    text-align: center;
}

.history-scr-empty span {
    font-size: var(--font-size-lg, 16px);
    color: var(--text-secondary);
}

.history-scr-empty-hint {
    font-size: var(--font-size-sm, 13px) !important;
    color: var(--text-tertiary) !important;
}

/* Clear all button */
.history-scr-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    border-radius: var(--radius-md, 14px);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--text-tertiary);
    font-size: var(--font-size-sm, 13px);
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.history-scr-clear:active {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}
