/* ============================================
   VIMANIA - Error Fares Page Styles
   ============================================ */

/* Hero Alert */
.hero-alert {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    padding: 3rem 2rem;
    text-align: center;
}

.alert-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.hero-title {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero-title span {
    color: var(--error, #ef4444);
}

.hero-subtitle {
    color: var(--text-secondary, #94a3b8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.alert-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.alert-stat {
    text-align: center;
}

.alert-stat-value {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--error, #ef4444);
}

.alert-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
}

/* Error Cards */
.error-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.error-card {
    background: var(--bg-card, #1a1a25);
    border: 2px solid var(--error, #ef4444);
    border-radius: var(--radius-lg, 20px);
    overflow: hidden;
    position: relative;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 40px rgba(239, 68, 68, 0.4); }
}

.error-card.warning {
    border-color: #f59e0b;
    animation: none;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.error-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--error, #ef4444);
    color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.error-card.warning .error-badge {
    background: #f59e0b;
}

.error-image {
    height: 120px;
    background-size: cover;
    background-position: center;
    margin-top: 36px;
}

.error-body {
    padding: 1.25rem;
}

.error-route {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.error-code {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 1.2rem;
    font-weight: 700;
}

.error-arrow {
    color: var(--error, #ef4444);
    font-size: 1.2rem;
}

.error-card.warning .error-arrow {
    color: #f59e0b;
}

.error-names {
    font-size: 0.85rem;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 1rem;
}

.error-discount {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    color: var(--error, #ef4444);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-card.warning .error-discount {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.error-details {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted, #64748b);
    margin-bottom: 1rem;
}

.error-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border, rgba(255,255,255,0.08));
}

.error-prices {
    display: flex;
    flex-direction: column;
}

.error-price-current {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--success, #22c55e);
}

.error-price-normal {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
    text-decoration: line-through;
}

.error-btn {
    padding: 0.7rem 1.5rem;
    background: var(--error, #ef4444);
    color: white;
    border: none;
    border-radius: var(--radius-md, 12px);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.error-btn:hover {
    transform: scale(1.05);
}

.error-card.warning .error-btn {
    background: #f59e0b;
    animation: none;
}

/* Section titles */
.section-title {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title .badge {
    background: var(--error, #ef4444);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
}

.section-title.warning .badge {
    background: #f59e0b;
}

/* Info box */
.info-box {
    background: var(--bg-card, #1a1a25);
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: var(--radius-lg, 20px);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-box h3 {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-box ul {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary, #94a3b8);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-title {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #f8fafc);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .error-grid { grid-template-columns: 1fr; }
    .alert-stats { gap: 1.5rem; }
}
