/* Metro Corridor Impact Check — Orange Theme #FF6725 */

/* ── Hero ── */
.mci-search-hero {
    background: linear-gradient(135deg, #ff6725 0%, #ff8f5c 50%, #ffb88c 100%);
    padding: 32px 28px 22px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}
.mci-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.mci-search-hero-decoration::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.mci-search-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.mci-search-hero-badge i {
    margin-right: 5px;
}
.mci-search-hero-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.mci-search-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}
.mci-search-hero-desc a {
    color: #ffe0b2;
    text-decoration: underline;
    font-weight: 500;
}
.mci-search-hero-desc a:hover {
    color: #fff;
    text-decoration: none;
}
.mci-search-hero + .mci-search-card {
    border-radius: 0 0 20px 20px !important;
}

/* ── Search / Input Card ── */
.mci-search-card {
    padding: 28px;
}
.mci-form-wrapper {
    max-width: 560px;
    margin: 0 auto;
}
.mci-form-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}
.mci-form-wrapper .dash-input-wrapper {
    margin-bottom: 22px;
}
.mci-check-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6725 0%, #ff8a50 100%);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    max-width: 320px;
}
.mci-check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,103,37,0.25);
}
.mci-check-btn i {
    margin-right: 6px;
}

/* ── Result Area ── */
.mci-result {
    display: none;
    margin-top: 28px;
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    animation: mci-fadein 0.4s ease;
}
@keyframes mci-fadein {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mci-result.mci-red {
    background: #fbe9e7;
    border: 1px solid #ef9a9a;
}
.mci-result.mci-orange {
    background: #fff8e1;
    border: 1px solid #ffe082;
}
.mci-result.mci-green {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}
.mci-result.mci-blue {
    background: #e3f2fd;
    border: 1px solid #90caf9;
}
.mci-result.mci-gray {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}
.mci-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.mci-red .mci-result-badge { background: #c62828; color: #fff; }
.mci-orange .mci-result-badge { background: #f9a825; color: #fff; }
.mci-green .mci-result-badge { background: #2e7d32; color: #fff; }
.mci-blue .mci-result-badge { background: #1565c0; color: #fff; }
.mci-gray .mci-result-badge { background: #616161; color: #fff; }
.mci-result-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}
.mci-red .mci-result-title { color: #b71c1c; }
.mci-orange .mci-result-title { color: #e65100; }
.mci-green .mci-result-title { color: #1b5e20; }
.mci-blue .mci-result-title { color: #0d47a1; }
.mci-gray .mci-result-title { color: #424242; }
.mci-result-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 14px;
}
.mci-result-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mci-result-actions li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}
.mci-result-actions li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 13px;
}
.mci-red .mci-result-actions li::before { color: #c62828; }
.mci-orange .mci-result-actions li::before { color: #f9a825; }
.mci-green .mci-result-actions li::before { color: #2e7d32; }
.mci-blue .mci-result-actions li::before { color: #1565c0; }
.mci-gray .mci-result-actions li::before { color: #616161; }

/* ── Corridor Line Badges ── */
.mci-line-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}
.mci-line-badge.line-red { background: #d32f2f; }
.mci-line-badge.line-blue { background: #1565c0; }
.mci-line-badge.line-green { background: #2e7d32; }
.mci-line-badge.line-proposed { background: #7b1fa2; }

/* ── Info Cards Grid ── */
.mci-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mci-info-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}
.mci-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.mci-info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FF6725;
    margin-bottom: 14px;
}
.mci-info-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}
.mci-info-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ── Corridor Table ── */
.mci-corridor-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
}
.mci-corridor-table thead th {
    background: #fff5f0;
    color: #e65100;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 14px 18px;
    text-align: left;
}
.mci-corridor-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    line-height: 1.6;
}
.mci-corridor-table tbody tr:last-child td {
    border-bottom: none;
}
.mci-corridor-table tbody tr:hover {
    background: #fafafa;
}

/* ── Station List ── */
.mci-station-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.mci-station-tag {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 500;
}

/* ── FAQ ── */
.mci-faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.mci-faq-item.open {
    border-color: #ff6725;
}
.mci-faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    background: #fafafa;
}
.mci-faq-question i {
    transition: transform 0.3s;
    color: #ff6725;
}
.mci-faq-item.open .mci-faq-question i {
    transform: rotate(180deg);
}
.mci-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}
.mci-faq-item.open .mci-faq-answer {
    padding: 0 20px 16px;
    max-height: 600px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .mci-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 767px) {
    .mci-search-hero-title {
        font-size: 20px;
    }
    .mci-info-grid {
        grid-template-columns: 1fr;
    }
    .mci-search-card {
        padding: 20px 16px;
    }
    .mci-corridor-table {
        font-size: 13px;
    }
    .mci-corridor-table thead th,
    .mci-corridor-table tbody td {
        padding: 10px 12px;
    }
}
@media (max-width: 576px) {
    .mci-result {
        padding: 20px;
    }
    .mci-check-btn {
        max-width: 100%;
    }
}
