/* ============================================================
   Carlcare Worldwide Authorized Partner — Tech Access Credential (Tech BP)
   High-Tech Developer & Engineering Service Accreditation Pass
   ============================================================ */

.boarding-pass-wrap {
    padding: 40px 0 80px;
    background: radial-gradient(circle at 50% 15%, rgba(10, 105, 254, 0.12) 0%, transparent 65%);
}

/* Main Tech Credential Card */
.tech-pass-ticket {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 87, 166, 0.14), 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #CBD5E1;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 2.7fr 1fr;
}

/* Micro-Circuit & Security Header Strip */
.tech-security-strip {
    height: 7px;
    background: linear-gradient(90deg, 
        #0057A6 0%, 
        #0A69FE 30%, 
        #00FF88 55%, 
        #00954F 85%, 
        #0057A6 100%
    );
    background-size: 200% 200%;
    animation: techHoloShine 4s linear infinite;
    grid-column: 1 / -1;
}

@keyframes techHoloShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Main Left Credentials Canvas */
.tech-main-canvas {
    padding: 36px 36px 32px;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #F1F5F9;
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.tech-brand-cluster {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tech-logo-img {
    height: 42px;
    width: auto;
}

.tech-security-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0057A6 0%, #0A69FE 100%);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(10, 105, 254, 0.3);
}

/* Smart Security Chip & Server Bridge */
.tech-bridge-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0B132B;
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.tech-bridge-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.12), transparent);
    animation: bridgeScan 3s infinite;
}

@keyframes bridgeScan {
    0% { left: -60%; }
    100% { left: 140%; }
}

.node-group {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
}

/* Golden Smartcard IC Chip Simulation */
.smart-ic-chip {
    width: 44px;
    height: 34px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 40%, #FBBF24 70%, #B45309 100%);
    border-radius: 6px;
    border: 1px solid #78350F;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.25);
    flex-shrink: 0;
}
.smart-ic-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
}
.smart-ic-chip::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(0, 0, 0, 0.25);
}

.node-text-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.node-text-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
}

.tech-tunnel-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 24px;
    z-index: 1;
}
.tunnel-status-label {
    font-size: 0.68rem;
    font-family: var(--font-mono);
    color: #00FF88;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tunnel-line-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin: 6px 0;
    position: relative;
}
.tunnel-pulse {
    position: absolute;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, transparent, #38BDF8, #00FF88, transparent);
    animation: tunnelFlow 2s infinite linear;
}
@keyframes tunnelFlow {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* Grid of Technical Specifications */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 18px;
    margin-bottom: 26px;
}

.spec-cell {
    display: flex;
    flex-direction: column;
}

.spec-cell-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.spec-cell-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.spec-cell-val-accent {
    font-family: var(--font-mono);
    color: var(--cc-blue);
    font-weight: 700;
}

/* Security License Vault Box */
.tech-vault-box {
    background: #F0F7FF;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 87, 166, 0.05);
}

.vault-token-text {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0057A6;
    letter-spacing: 0.04em;
}

.tech-signature-bar {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px dashed #E2E8F0;
    padding-top: 14px;
}

/* Right Verification & Cryptographic Ledger Panel */
.tech-stub-panel {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    border-left: 1px solid #E2E8F0;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    text-align: center;
}

/* Eliminate paper ticket notches */
.tech-stub-panel::before, .tech-stub-panel::after {
    display: none !important;
}

.tech-qr-frame {
    background: #FFFFFF;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
    position: relative;
}

/* Tech Corner Crosshairs on QR */
.tech-qr-frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--cc-cyan);
    border-left: 2px solid var(--cc-cyan);
}
.tech-qr-frame::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--cc-cyan);
    border-right: 2px solid var(--cc-cyan);
}

.tech-qr-frame img {
    width: 140px;
    height: 140px;
    display: block;
}

.tech-stub-serial {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--cc-blue);
    margin-top: 6px;
}

.digital-fingerprint {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #64748B;
    word-break: break-all;
    background: #EEF2F6;
    padding: 6px 8px;
    border-radius: 4px;
    margin-top: 10px;
    line-height: 1.4;
}

/* Action Controls */
.pass-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

/* Print Rules */
@media print {
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
    }
    .navbar, .footer, .transsion-topbar, .pass-actions, .no-print {
        display: none !important;
    }
    .boarding-pass-wrap {
        padding: 0 !important;
        background: none !important;
    }
    .tech-pass-ticket {
        box-shadow: none !important;
        border: 2px solid #000000 !important;
        page-break-inside: avoid;
    }
    .tech-bridge-bar {
        background: #F1F5F9 !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
    }
    .node-text-val {
        color: #000000 !important;
    }
}

@media (max-width: 820px) {
    .tech-pass-ticket {
        grid-template-columns: 1fr;
    }
    .tech-stub-panel {
        border-left: none;
        border-top: 1px solid #E2E8F0;
    }
    .tech-stub-panel::before, .tech-stub-panel::after {
        display: none;
    }
    .tech-specs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .tech-main-canvas {
        padding: 20px 16px;
    }
    .tech-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .tech-bridge-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 16px;
    }
    .tech-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tech-license-terminal {
        padding: 14px;
    }
    .terminal-key-val {
        font-size: 0.92rem;
    }
    .pass-actions {
        flex-direction: column;
        gap: 10px;
    }
    .pass-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

