/**
 * ============================================================
 * File:        roaming.css
 * Path:        /css/roaming.css
 * Project:     TARIFEBI.GE
 * Description: Roaming tariffs page styles
 * Version:     2.0.0
 * ============================================================
 */

/* ── Hero ── */
.rm-hero {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(14,165,233,.35) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(99,102,241,.25) 0%, transparent 50%),
        linear-gradient(135deg, #0c1e3a 0%, #0c4a6e 45%, #075985 100%);
    padding: 52px 0 44px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.rm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ctext x='100' y='115' font-size='80' text-anchor='middle' fill='rgba(255,255,255,0.035)'%3E✈%3C/text%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Ccircle cx='150' cy='150' r='120' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1' stroke-dasharray='4 6'/%3E%3Ccircle cx='150' cy='150' r='80' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1' stroke-dasharray='2 4'/%3E%3C/svg%3E");
    background-repeat: repeat, no-repeat;
    background-size: 140px 140px, contain;
    background-position: 0 0, right -80px top -80px;
    pointer-events: none;
}
.rm-hero .container { position: relative; z-index: 1; }
.rm-hero-content { position: relative; }
.rm-hero-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading, inherit);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: .01em;
}
.rm-hero-title .rm-icon-box {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(14,165,233,.4);
    font-size: 1.3rem;
}
.rm-hero-sub {
    margin: 10px 0 0 0;
    opacity: .85;
    font-size: 1rem;
    max-width: 620px;
    line-height: 1.55;
}
.rm-hero-stats {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.rm-stat {
    text-align: left;
    padding: 14px 22px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 120px;
    transition: transform .2s ease, background .2s ease;
}
.rm-stat:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.12);
}
.rms-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    letter-spacing: .02em;
}
.rms-label {
    display: block;
    font-size: .7rem;
    opacity: .7;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: var(--font-nav);
}

/* ── Breadcrumb ── */
.rm-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    font-size: .78rem;
    margin-bottom: 18px;
    color: rgba(255,255,255,.85);
}
.rm-breadcrumb a { color: inherit; text-decoration: none; opacity: .8; transition: opacity .15s; }
.rm-breadcrumb a:hover { opacity: 1; }
.rm-breadcrumb i { font-size: .55rem; opacity: .6; }

/* ── Info Banner ── */
.rm-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: var(--radius);
    color: #1e3a8a;
    font-size: .88rem;
    line-height: 1.55;
}
.rm-info > i {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: #3b82f6;
}
.rm-info strong { color: #1e40af; }
.rm-info a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #93c5fd;
    padding-bottom: 1px;
}
.rm-info a:hover { color: #1e40af; border-bottom-style: solid; }

/* ── Best Value Badge on Table Row ── */
.rm-best-row { background: linear-gradient(90deg, rgba(16,185,129,.06), transparent) !important; }
.rm-best-row td:first-child { position: relative; }
.rm-best-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px 8px;
    background: #10b981;
    color: #fff;
    border-radius: 8px;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Price per GB column ── */
.rm-per-gb {
    font-family: 'Orbitron', monospace;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
}
.rm-per-gb.rm-per-gb--good { color: #059669; }
.rm-per-gb.rm-per-gb--bad { color: #e11d48; }

/* ── Provider section ── */
.rm-prov-section { margin-top: 40px; }

/* ── Providers without roaming packages ── */
.rm-other-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px dashed var(--border);
}
.rm-other-intro {
    max-width: 720px;
    margin: 8px 0 20px;
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.rm-other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.rm-other-card {
    position: relative;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}
.rm-other-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--prov-color, #9ca3af);
}
.rm-other-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.rm-other-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.rm-other-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.rm-other-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.rm-other-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.rm-other-tag {
    display: inline-block;
    margin-top: 2px;
    padding: 2px 8px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 6px;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.rm-other-desc {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 12px;
}
.rm-other-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-size: .82rem;
    color: var(--prov-color, var(--text));
    font-weight: 600;
}
.rm-other-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .78rem;
    transition: color .15s;
}
.rm-other-link:hover { color: var(--prov-color, var(--primary)); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .rm-hero { padding: 32px 0 28px; }
    .rm-hero-title { font-size: 1.4rem; gap: 10px; }
    .rm-hero-title .rm-icon-box { width: 40px; height: 40px; font-size: 1rem; }
    .rm-hero-sub { font-size: .85rem; }
    .rm-hero-stats { gap: 8px; }
    .rm-stat { padding: 10px 14px; min-width: 90px; }
    .rms-num { font-size: 1.1rem; }
    .rm-other-grid { grid-template-columns: 1fr; }
}
