/* TSK SMS PRO — Verified badge, page loader, QR center brand */

/* ── Brand line + verified sticker ── */
.tsk-brand-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    vertical-align: middle;
    line-height: 1.2;
}

.tsk-brand-name {
    line-height: 1.15;
    white-space: nowrap;
}

.tsk-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px 2px 5px;
    border-radius: 999px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: middle;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(99, 102, 241, 0.22));
    border: 1px solid rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #67e8f9;
    font-size: 9px;
    line-height: 1;
    margin-left: 1px;
}

.tsk-brand-badge i {
    font-size: 11px;
    color: #22d3ee;
    filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.6));
}

.tsk-brand-badge em {
    font-style: normal;
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    color: #e0f2fe;
}

.tsk-brand-badge--sm {
    padding: 2px 6px 2px 5px;
    font-size: 9px;
    gap: 3px;
}

.tsk-brand-badge--sm i { font-size: 9px; }
.tsk-brand-badge--sm em { font-size: 9px; }

.tsk-brand-badge--lg {
    padding: 5px 12px 5px 9px;
    font-size: 11px;
    gap: 5px;
}

.tsk-brand-badge--lg i { font-size: 13px; }
.tsk-brand-badge--lg em { font-size: 12px; }

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.sidebar-brand .tsk-brand-line,
.sidebar-brand-line {
    gap: 5px;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1;
}

.sidebar-brand .tsk-brand-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.tsk-nav-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    background: #0c1229;
}

.sidebar-brand .tsk-brand-line {
    gap: 5px;
    flex-wrap: nowrap;
}

.sidebar-brand .tsk-brand-name {
    font-size: inherit;
    font-weight: inherit;
}

.landing-hero .landing-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.landing-hero .landing-title-row .tsk-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 9vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #67e8f9 25%, #818cf8 55%, #c084fc 85%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(34, 211, 238, 0.25));
}

.landing-hero h1.landing-title-row {
    /* override old h1 if used as h1 */
}

.visual-panel .tsk-brand-line {
    justify-content: center;
}

.visual-panel h2.tsk-brand-line {
    margin: 0 0 10px;
    text-align: center;
    border: none;
    padding: 0;
}

.admin-brand-title {
    margin: 0 0 4px;
}

.admin-brand-title .tsk-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.admin-brand .tsk-brand-line {
    flex-wrap: wrap;
    gap: 6px;
}


.visual-panel .tsk-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg, #22d3ee, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Page transition loader ── */
.tsk-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.tsk-page-loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.tsk-loader-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tsk-loader-stage {
    position: relative;
    z-index: 1;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tsk-loader-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #22d3ee;
    border-right-color: #6366f1;
    animation: tsk-orbit-spin 0.85s linear infinite;
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.2);
}

.tsk-loader-orbit--inner {
    inset: 10px;
    border-width: 2px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #a855f7;
    border-left-color: #22d3ee;
    animation: tsk-orbit-spin 1.2s linear infinite reverse;
    box-shadow: none;
}

.tsk-loader-core {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c1229;
    border: 2px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 10px 32px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    animation: tsk-core-pulse 1.2s ease-in-out infinite;
}

.tsk-loader-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

@keyframes tsk-orbit-spin {
    to { transform: rotate(360deg); }
}

@keyframes tsk-core-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ── Branded QR center logo ── */
.tsk-qr-brand-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
    margin: 14px 0;
}

.tsk-qr-brand-wrap #qrcode,
.tsk-qr-brand-wrap .tsk-qr-canvas-wrap {
    background: #fff;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.tsk-qr-brand-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #22d3ee;
    box-shadow: 0 0 0 4px #fff, 0 4px 16px rgba(34, 211, 238, 0.35);
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.tsk-qr-brand-center img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}
