
.feature-card-icon.train-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.feature-card-btn.tr-search-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 0 20px;
    flex-shrink: 0;
}
.feature-card-btn.tr-search-btn:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
}
.feature-card-btn.tr-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.tr-form-area { margin-top: 4px; }
.tr-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    align-items: stretch;
}
.tr-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.tr-input-prefix {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}
.feature-card-input.tr-from,
.feature-card-input.tr-to {
    padding-left: 36px;
    width: 100%;
}
.tr-swap-btn {
    width: 38px;
    height: auto;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tr-swap-btn:hover {
    border-color: #3b82f6;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.06);
    transform: rotate(180deg);
}
.tr-filter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.tr-filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 130px;
}
.tr-filter-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.feature-card-input.tr-date,
.feature-card-input.tr-form,
.feature-card-input.tr-count {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    min-width: 0;
}
.tr-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    align-items: center;
}
.tr-quick-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-right: 4px;
}
.tr-quick-btn {
    padding: 4px 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.06);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.tr-quick-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: transparent;
}

.tr-summary {
    margin: 10px 0 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(29, 78, 216, 0.04));
    border-left: 3px solid #3b82f6;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-dark);
}
.tr-summary strong { color: #1d4ed8; font-weight: 600; }
.tr-summary-meta {
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--text-gray);
}

.tr-result {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tr-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 14px 16px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tr-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}
.tr-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.tr-no {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fbbf24;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.tr-no.is-gt { color: #60a5fa; }
.tr-no.is-pt { color: #fbbf24; }
.tr-type-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}
.tr-type-tag.is-pt {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}
.tr-buy-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    margin-left: auto;
}
.tr-buy-tag.no {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.tr-card-time {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: var(--text-dark);
}
.tr-time {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
}
.tr-time-arrow {
    color: #94a3b8;
    margin: 0 -2px;
}
.tr-lishi {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
}
.tr-card-station {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    flex-wrap: wrap;
}
.tr-station {
    color: var(--text-dark);
    font-weight: 500;
}
.tr-station-arrow {
    color: #cbd5e1;
}
.tr-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
    background: rgba(59, 130, 246, 0.04);
    border-radius: 12px;
    border: 1px dashed rgba(59, 130, 246, 0.3);
}
.tr-empty i {
    font-size: 2.2rem;
    color: #3b82f6;
    margin-bottom: 10px;
    display: block;
}

