/**
 * ============================================================
 * File:        provider.css
 * Path:        /css/provider.css
 * Project:     TARIFEBI.GE
 * Description: Provider detail page styles
 * Version:     1.0.0
 * ============================================================
 */

/* ── Hero ── */
.pv-hero {
    background: linear-gradient(135deg, var(--prov-color) 0%, color-mix(in srgb, var(--prov-color) 70%, #000) 100%);
    padding: 32px 0 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Breadcrumb */
.pv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    opacity: .8;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.pv-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
}
.pv-breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.pv-breadcrumb i { font-size: .6rem; }
.pv-breadcrumb span { opacity: .7; }

/* Hero content */
.pv-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}
.pv-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.pv-hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.pv-hero-logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
}
.pv-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading, inherit);
}
.pv-hero-sub {
    margin: 4px 0 0;
    opacity: .8;
    font-size: .9rem;
}
.pv-hero-site {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #fff;
    font-size: .82rem;
    padding: 4px 12px;
    background: rgba(255,255,255,.15);
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s;
}
.pv-hero-site:hover { background: rgba(255,255,255,.25); }

/* Hero stats */
.pv-hero-stats {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.pv-stat {
    text-align: center;
    padding: 10px 16px;
    background: rgba(255,255,255,.12);
    border-radius: 12px;
    min-width: 70px;
    backdrop-filter: blur(4px);
}
.pvs-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}
.pvs-label {
    display: block;
    font-size: .72rem;
    opacity: .7;
    margin-top: 2px;
}

/* ── Provider bar ── */
.pv-providers {
    padding: 12px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.pv-prov-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pv-prov-bar::-webkit-scrollbar { display: none; }

/* ── Type section description ── */
.pv-type-desc {
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Card note ── */
.pv-card-note {
    font-size: .72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.pv-card-note i { color: var(--primary); font-size: .65rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .pv-hero { padding: 24px 0 28px; }
    .pv-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .pv-hero-logo { width: 56px; height: 56px; border-radius: 12px; }
    .pv-hero-logo img { width: 40px; height: 40px; }
    .pv-hero-title { font-size: 1.3rem; }
    .pv-hero-stats {
        width: 100%;
        justify-content: space-between;
    }
    .pv-stat { min-width: 0; flex: 1; padding: 8px 10px; }
    .pvs-num { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .pv-hero-left { gap: 12px; }
    .pv-hero-logo { width: 48px; height: 48px; }
    .pv-hero-logo img { width: 36px; height: 36px; }
    .pv-hero-title { font-size: 1.1rem; }
    .pvs-num { font-size: .95rem; }
    .pvs-label { font-size: .65rem; }
}
