/* IGRS 1983 Cutoff Flag — Orange Theme #FF6725 */

/* ── Hero ── */
.icf-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;
}
.icf-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.icf-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);
}
.icf-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;
}
.icf-search-hero-badge i {
    margin-right: 5px;
}
.icf-search-hero-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.icf-search-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}
.icf-search-hero-desc a {
    color: #ffe0b2;
    text-decoration: underline;
    font-weight: 500;
}
.icf-search-hero-desc a:hover {
    color: #fff;
    text-decoration: none;
}
.icf-search-hero + .icf-search-card {
    border-radius: 0 0 20px 20px !important;
}

/* ── Search / Input Card ── */
.icf-search-card {
    padding: 28px;
}
.icf-year-input-wrapper {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}
.icf-year-input-wrapper label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}
.icf-year-input {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 16px;
    padding: 14px 20px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
    caret-color: #FF6725;
    display: block;
}
.icf-year-input:focus {
    outline: none;
    border-color: #FF6725;
    box-shadow: 0 0 0 4px rgba(255,103,37,0.12);
}
.icf-year-input::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: #bbb;
}
.icf-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;
}
.icf-check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,103,37,0.25);
}
.icf-check-btn i {
    margin-right: 6px;
}

/* ── Result Area ── */
.icf-result {
    display: none;
    margin-top: 28px;
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    animation: icf-fadein 0.4s ease;
}
@keyframes icf-fadein {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.icf-result.icf-green {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}
.icf-result.icf-yellow {
    background: #fff8e1;
    border: 1px solid #ffe082;
}
.icf-result.icf-red {
    background: #fbe9e7;
    border: 1px solid #ef9a9a;
}
.icf-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;
}
.icf-green .icf-result-badge {
    background: #2e7d32;
    color: #fff;
}
.icf-yellow .icf-result-badge {
    background: #f9a825;
    color: #fff;
}
.icf-red .icf-result-badge {
    background: #c62828;
    color: #fff;
}
.icf-result-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}
.icf-green .icf-result-title { color: #1b5e20; }
.icf-yellow .icf-result-title { color: #e65100; }
.icf-red .icf-result-title { color: #b71c1c; }
.icf-result-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 14px;
}
.icf-result-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}
.icf-result-actions li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}
.icf-result-actions li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 13px;
}
.icf-green .icf-result-actions li::before { color: #2e7d32; }
.icf-yellow .icf-result-actions li::before { color: #f9a825; }
.icf-red .icf-result-actions li::before { color: #c62828; }

/* ── Info Cards Grid ── */
.icf-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.icf-info-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}
.icf-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.icf-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;
}
.icf-info-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}
.icf-info-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ── Reference Table ── */
.icf-ref-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
}
.icf-ref-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;
}
.icf-ref-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    line-height: 1.6;
}
.icf-ref-table tbody tr:last-child td {
    border-bottom: none;
}
.icf-ref-table tbody tr:hover {
    background: #fafafa;
}

/* ── Timeline / Visual ── */
.icf-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 30px 0;
    position: relative;
}
.icf-timeline-segment {
    text-align: center;
    position: relative;
}
.icf-timeline-bar {
    height: 8px;
    border-radius: 4px;
    min-width: 120px;
}
.icf-timeline-bar.red    { background: linear-gradient(90deg, #ef5350, #e53935); }
.icf-timeline-bar.yellow { background: linear-gradient(90deg, #ffa726, #fb8c00); }
.icf-timeline-bar.green  { background: linear-gradient(90deg, #66bb6a, #43a047); }
.icf-timeline-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-top: 8px;
}
.icf-timeline-year {
    position: absolute;
    top: -22px;
    font-size: 11px;
    font-weight: 700;
    color: #333;
    background: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}
.icf-timeline-year.left  { left: 0; }
.icf-timeline-year.right { right: 0; }
.icf-timeline-year.mid   { left: 50%; transform: translateX(-50%); }

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

/* ── Responsive ── */
@media (max-width: 991px) {
    .icf-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 767px) {
    .icf-search-hero-title {
        font-size: 20px;
    }
    .icf-info-grid {
        grid-template-columns: 1fr;
    }
    .icf-timeline {
        flex-direction: column;
        gap: 10px;
    }
    .icf-timeline-bar {
        min-width: 100%;
        height: 6px;
    }
    .icf-timeline-year {
        position: static;
        display: block;
        margin-bottom: 4px;
    }
    .icf-year-input {
        font-size: 18px;
        max-width: 220px;
    }
}
@media (max-width: 576px) {
    .icf-search-card {
        padding: 20px 16px;
    }
    .icf-result {
        padding: 20px;
    }
}
