﻿.sb-container {
    overflow-x: hidden;
}

.sb-glass {
    background: rgba(255,255,255,.74);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(67,89,113,.14);
    border-radius: 16px;
}

.sb-hero {
    padding: 16px 18px;
}

.sb-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.sb-sub {
    font-size: .95rem;
    line-height: 1.8;
}

.sb-badges .badge {
    border-radius: 999px;
}

.sb-card {
    border: none;
}

    .sb-card .card-header {
        background: transparent;
        border-bottom: 1px solid rgba(67,89,113,.12);
    }

.sb-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.select2-container {
    width: 100% !important;
}

.select2-selection__choice {
    background-color: #5a8dee !important;
    color: #fff !important;
    border-color: #5a8dee !important;
}

.select2-selection__choice__remove {
    color: #fff !important;
}

.shahid-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.x-small {
    font-size: 11px;
}

/* Stepper */
.sb-steps {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sb-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(67,89,113,.14);
    background: rgba(255,255,255,.7);
    user-select: none;
}

.sb-stepNo {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: rgba(90,141,238,.12);
}

.sb-step.is-active {
    border-color: rgba(90,141,238,.55);
}

.sb-step.is-done {
    opacity: .85;
}

/* Upload */
.sb-dropzone {
    border: 2px dashed rgba(90,141,238,.55);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: .15s ease;
    background: rgba(90,141,238,.05);
}

    .sb-dropzone.is-drag {
        background: rgba(90,141,238,.12);
        transform: translateY(-1px);
    }

.sb-dzIcon {
    font-size: 34px;
    color: rgba(90,141,238,.95);
}

.sb-dzText {
    margin-top: 6px;
    font-weight: 700;
}

.sb-fileCard {
    border: 1px solid rgba(67,89,113,.16);
    border-radius: 14px;
    padding: 10px;
    background: rgba(255,255,255,.88);
}

.sb-fileTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.sb-fileName {
    font-weight: 800;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.sb-fileMeta {
    font-size: .78rem;
    color: rgba(0,0,0,.55);
}

.sb-fileBody {
    margin-top: 10px;
}

.sb-fileImg {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(67,89,113,.10);
}

.sb-fileVideo {
    width: 100%;
    max-height: 320px;
    border-radius: 12px;
    background: #000;
}

/* Progress modal */
.sb-upModal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.sb-upBox {
    width: min(520px, 92vw);
    background: #fff;
    border-radius: 16px;
    padding: 14px 14px 12px;
    border: 1px solid rgba(67,89,113,.16);
}

.sb-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.sb-contactItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(67,89,113,.14);
    background: rgba(255,255,255,.82);
    text-decoration: none;
    transition: .15s ease;
}

    .sb-contactItem:hover {
        background: rgba(90,141,238,.06);
        border-color: rgba(90,141,238,.30);
        transform: translateY(-1px);
    }

.sb-cLeft {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.sb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90,141,238,.12);
    border: 1px solid rgba(90,141,238,.18);
    color: rgba(90,141,238,.95);
    flex-shrink: 0;
    font-size: 20px;
}

.sb-contactList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sb-contactCard {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 14px;
    border-radius: 18px;
    text-decoration: none;
    /* glass */
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(67,89,113,.14);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

    .sb-contactCard::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1px;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(90,141,238,.55), rgba(90,141,238,0));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        opacity: .9;
    }

    .sb-contactCard:hover {
        transform: translateY(-2px);
        border-color: rgba(90,141,238,.35);
        box-shadow: 0 14px 30px rgba(67,89,113,.12);
    }

.sb-contactMain {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sb-contactAvatar {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: radial-gradient(circle at 30% 30%, rgba(90,141,238,.22), rgba(90,141,238,.08));
    border: 1px solid rgba(90,141,238,.22);
    color: rgba(90,141,238,.95);
    font-size: 22px;
}

.sb-contactInfo {
    min-width: 0;
}

.sb-contactName {
    font-weight: 900;
    font-size: .98rem;
    color: rgba(0,0,0,.84);
    line-height: 1.2;
}

.sb-contactPhone {
    margin-top: 2px;
    font-weight: 900;
    font-size: .95rem;
    letter-spacing: .6px;
    color: rgba(0,0,0,.62);
    white-space: nowrap;
}

.sb-contactHint {
    margin-top: 6px;
    font-size: 11px;
    color: rgba(0,0,0,.45);
}

.sb-contactAction {
    flex-shrink: 0;
}

.sb-callChip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 999px;
    background: rgba(90,141,238,.12);
    border: 1px solid rgba(90,141,238,.22);
    color: rgba(90,141,238,.95);
    font-weight: 900;
    font-size: .86rem;
}

    .sb-callChip i {
        font-size: 18px;
    }

.sb-callText {
    display: inline-block;
}

@media (max-width: 380px) {
    .sb-callText {
        display: none;
    }
    /* روی موبایل خیلی کوچک فقط آیکن بماند */
    .sb-callChip {
        padding: 9px 10px;
    }
}

/* glow subtle */
.sb-contactGlow {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    top: -90px;
    background: radial-gradient(circle, rgba(90,141,238,.18), rgba(90,141,238,0) 60%);
    pointer-events: none;
    opacity: .9;
}

.light-style .swal2-popup .swal2-title {
    font-size: 1.9rem;
}