/* استعلام خرید — Home/CheckOrder */

.co-page {
    max-width: 560px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
}

.co-hero {
    text-align: center;
    margin-bottom: 1.75rem;
}

.co-hero__icon {
    font-size: 2.25rem;
    color: var(--bs-success, #198754);
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.co-hero__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--co-heading, #1a1a2e);
}

.co-hero__lead {
    font-size: 0.95rem;
    color: var(--co-muted, #5c5c6b);
    margin: 0;
    line-height: 1.65;
}

.co-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(25, 135, 84, 0.15);
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 12px 40px rgba(25, 135, 84, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.co-form-row {
    margin-bottom: 1.15rem;
}

.co-form-row--hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.co-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--co-heading, #1a1a2e);
}

.co-input {
    display: block;
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.co-input:focus {
    outline: none;
    border-color: rgba(25, 135, 84, 0.55);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
}

/* RTL sayfada rakam/tarih alanları soldan başlasın (موبایل ile aynı). */
.co-input[dir="ltr"] {
    text-align: left;
}

.co-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--co-muted, #6c757d);
    margin-top: 0.35rem;
}

.co-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 4px 14px rgba(25, 135, 84, 0.35);
}

.co-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(25, 135, 84, 0.4);
}

.co-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.co-submit__spinner {
    margin-inline-start: 0.35rem;
}

.co-alert {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.co-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.co-alert--ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.co-results {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.co-results-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.09) 0%, rgba(13, 110, 253, 0.06) 100%);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.co-results-summary__badge {
    flex-shrink: 0;
    min-width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #198754;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

.co-results-summary__text {
    flex: 1;
    min-width: 0;
}

.co-results-summary__title {
    display: block;
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--co-heading, #1a1a2e);
    margin-bottom: 0.15rem;
}

.co-results-summary__sub {
    margin: 0;
    font-size: 0.82rem;
    color: #5c5c6b;
    line-height: 1.45;
}

.co-empty {
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
    text-align: center;
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 55%, #eef2ff 100%);
    border: 1px dashed rgba(100, 116, 139, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.co-empty__icon {
    font-size: 2.75rem;
    color: #94a3b8;
    margin-bottom: 0.65rem;
    line-height: 1;
}

.co-empty__title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--co-heading, #1a1a2e);
    margin-bottom: 0.45rem;
}

.co-empty__text {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0 auto 0.85rem;
    max-width: 26rem;
}

.co-empty__note {
    margin: 0 auto;
    padding: 0.75rem 1rem;
    max-width: 28rem;
    font-size: 0.86rem;
    line-height: 1.65;
    color: #92400e;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    text-align: right;
}

.co-empty__note i {
    margin-inline-end: 0.35rem;
    color: #d97706;
}

.co-panel-strip {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #0f766e 160%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
}

.co-panel-strip__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
}

@media (min-width: 576px) {
    .co-panel-strip__content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
    }
}

.co-panel-strip__copy {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.co-panel-strip__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.85);
    margin-bottom: 0.35rem;
}

.co-panel-strip__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.35rem;
}

.co-panel-strip__desc {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.82);
    max-width: 26rem;
}

.co-panel-strip__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f172a;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.co-panel-strip__btn:hover {
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.co-panel-strip__btn i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.co-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.co-li {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.05rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.co-li__top {
    width: 100%;
    margin-bottom: 0.45rem;
}

.co-li__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    width: 100%;
}

.co-li__date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.co-li__date i {
    color: #64748b;
    font-size: 0.95rem;
}

.co-li__time {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.co-li__time i {
    color: #64748b;
    font-size: 0.95rem;
}

.co-li__status {
    margin-top: 0.15rem;
}

.co-li__badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    margin-top: 0;
}

.co-li__badge--ok {
    background: #d1fae5;
    color: #065f46;
}

.co-li__badge--fail {
    background: #fee2e2;
    color: #991b1b;
}

.co-li__badge--wait {
    background: #fef3c7;
    color: #92400e;
}

