/* ═══════ Iran Follower – Order Track Page v2 ═══════ */

/* ── Page ── */
.irf-ot-page {
    background: #f0f0f5;
    min-height: 100vh;
}

.irf-ot-page h1,
.irf-ot-page h2,
.irf-ot-page h3,
.irf-ot-page h4,
.irf-ot-page h5,
.irf-ot-page h6,
.irf-ot-page strong,
.irf-ot-page b {
    font-family: IRANSansX, sans-serif;
}

/* ── Hero Banner ── */
.irf-ot-hero {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 30%, #2563eb 60%, #1d4ed8 100%);
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
}

/* ── Decorative Circles ── */
.irf-ot-hero .irf-hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.irf-ot-hero .irf-hero-circle {
    position: absolute;
    border-radius: 50%;
}

.irf-ot-hero .irf-hero-circle-1 {
    top: -120px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,.04);
}

.irf-ot-hero .irf-hero-circle-2 {
    bottom: -100px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,.03);
}

.irf-ot-hero .irf-hero-circle-3 {
    top: 30%;
    left: 50%;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,.02);
    transform: translateX(-50%);
}

/* ── Hero Content ── */
.irf-ot-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

/* ── Breadcrumb ── */
.irf-ot-page .irf-pkg-breadcrumb {
    margin-bottom: 24px;
    font-size: 13px;
    opacity: .7;
}

    .irf-ot-page .irf-pkg-breadcrumb a {
        color: #fff;
        text-decoration: none;
    }

        .irf-ot-page .irf-pkg-breadcrumb a:hover {
            opacity: 1;
            text-decoration: underline;
        }

    .irf-ot-page .irf-pkg-breadcrumb .irf-sep {
        margin: 0 8px;
        opacity: .5;
    }

/* ── Page Title Badge ── */
.irf-ot-page .irf-hero-page-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: IRANSansX, sans-serif;
}

    .irf-ot-page .irf-hero-page-title i {
        font-size: 20px;
        opacity: .8;
    }

.irf-ot-subtitle {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 0;
}

/* ── Body (two-column) ── */
.irf-ot-body {
    padding: 50px 0 80px;
    margin-top: -100px;
    position: relative;
    z-index: 2;
}

/* ── Form Card ── */
.irf-ot-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(59, 130, 246, 0.06);
}

.irf-ot-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.irf-ot-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

    .irf-ot-card-icon i {
        font-size: 26px;
        color: #3b82f6;
    }

.irf-ot-card-header h2 {
    font-size: 18px;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.irf-ot-card-header p {
    font-size: 13px;
    color: #8b8a97;
    margin-bottom: 0;
}

/* ── Form ── */
.irf-ot-form .irf-fg {
    margin-bottom: 18px;
}

.irf-fg-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 8px;
    display: block;
}

.irf-fg-input-wrap {
    position: relative;
}

.irf-fg-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: #b0adc0;
    pointer-events: none;
}

.irf-fg-input {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    border: 1.5px solid #dbeafe;
    padding: 0 15px 0 15px;
    padding-right: 42px;
    font-size: 14px;
    font-family: IRANSansX, sans-serif;
    background: #fafafc;
    transition: all 0.2s ease;
}

    .irf-fg-input:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
        background: #fff;
    }

/* ── Field Errors ── */
.irf-fg-error .irf-fg-input {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    animation: irfOtShake 0.4s ease;
}

.irf-field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    font-weight: 600;
}

@keyframes irfOtShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

/* ── Alert ── */
.irf-ot-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #dc2626;
    line-height: 1.9;
    font-weight: 600;
}

/* ── Button ── */
.irf-ot-btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    font-family: IRANSansX, sans-serif;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    margin-top: 6px;
}

    .irf-ot-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    }

    .irf-ot-btn:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
    }

.irf-spin {
    animation: irfSpin 1s linear infinite;
}

@keyframes irfSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Placeholder (before search) ── */
.irf-ot-placeholder {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(59, 130, 246, 0.06);
    text-align: center;
}

.irf-ot-placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(96, 165, 250, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .irf-ot-placeholder-icon i {
        font-size: 32px;
        color: #93b8f6;
    }

.irf-ot-placeholder h3 {
    font-size: 17px;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 8px;
}

.irf-ot-placeholder > p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.8;
}

.irf-ot-placeholder-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.irf-ot-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fafafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
    transition: all 0.2s ease;
}

    .irf-ot-step:hover {
        border-color: rgba(59, 130, 246, 0.15);
        background: #eff6ff;
    }

.irf-ot-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ── Result Card ── */
.irf-ot-result-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(59, 130, 246, 0.06);
    overflow: hidden;
}

.irf-ot-result-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(96, 165, 250, 0.08));
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

    .irf-ot-result-header i {
        font-size: 18px;
        color: #3b82f6;
    }

.irf-ot-result-body {
    padding: 8px 28px 20px;
}

.irf-ot-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed #e2e8f0;
}

    .irf-ot-row:last-of-type {
        border-bottom: none;
    }

.irf-ot-row-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(96, 165, 250, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .irf-ot-row-icon i {
        font-size: 16px;
        color: #3b82f6;
    }

.irf-ot-row-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.irf-ot-row-label {
    font-size: 12px;
    color: #8b8a97;
    font-weight: 600;
}

.irf-ot-row-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e3a5f;
}

.irf-ot-uri {
    word-break: break-all;
    direction: ltr;
    text-align: right;
    background: #eff6ff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
}

/* ── Status Row ── */
.irf-ot-status-row {
    padding: 16px 0 6px;
    text-align: center;
}

.irf-ot-status {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    width: 100%;
}

.irf-ot-status-processing {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.irf-ot-status-completed {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.irf-ot-status-cancelled {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ═══ Responsive ═══ */
@media (max-width: 767px) {
    .irf-ot-hero {
        padding: 85px 0 75px;
    }

    .irf-ot-page .irf-hero-page-title {
        font-size: 14px;
        padding: 8px 18px;
    }

    .irf-ot-subtitle {
        font-size: 12px;
    }

    .irf-ot-body {
        padding: 30px 0 60px;
    }

    .irf-ot-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .irf-ot-placeholder {
        padding: 28px 20px;
        border-radius: 16px;
        margin-top: 20px;
    }

    .irf-ot-result-card {
        margin-top: 20px;
    }

    .irf-ot-result-body {
        padding: 8px 20px 16px;
    }

    .irf-ot-result-header {
        padding: 14px 20px;
    }
}
