/* ==========================================================================
   🛡️ ULTRA-PREMIUM PHONE PASSPORT MODAL STYLES (Clean Standard Font Weights)
   ========================================================================== */

.passport-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.passport-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.passport-modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.passport-modal-backdrop.show .passport-modal-card {
    transform: scale(1) translateY(0);
}

/* Header Section */
.passport-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-brand-box .cert-subtitle {
    font-size: 0.6875rem;
    color: #60a5fa;
    font-weight: 500; /* Clean weight */
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.header-brand-box .cert-title {
    font-size: 1.25rem;
    font-weight: 600; /* Reduced from 800 */
    margin-top: 0.125rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Body Section */
.passport-modal-body {
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

.verified-hero-box {
    text-align: center;
    margin-bottom: 1.25rem;
}

.shield-icon-halo {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.verified-title {
    font-size: 1.1875rem;
    font-weight: 600; /* Reduced from 800 */
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.verified-subtitle {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
}

/* Passport Metrics Strip */
.passport-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
}

.metric-pill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
    border-right: 1px solid #e2e8f0;
}

.metric-pill-item:last-child {
    border-right: none;
}

.metric-pill-item .m-label {
    font-size: 0.6875rem;
    font-weight: 500; /* Reduced from 700 */
    color: #64748b;
    text-transform: uppercase;
}

.metric-pill-item .m-val {
    font-size: 0.875rem;
    font-weight: 600; /* Reduced from 800 */
    color: #0f172a;
    margin-top: 0.125rem;
}

.metric-pill-item .m-val.green { color: #16a34a; }
.metric-pill-item .m-val.purple { color: #7c3aed; }

/* Checklist Group */
.checklist-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.chk-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-box-blue { width: 34px; height: 34px; border-radius: 8px; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; }
.icon-box-purple { width: 34px; height: 34px; border-radius: 8px; background: #f3e8ff; color: #7c3aed; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; }
.icon-box-amber { width: 34px; height: 34px; border-radius: 8px; background: #fffbe3; color: #d97706; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; }
.icon-box-emerald { width: 34px; height: 34px; border-radius: 8px; background: #ecfdf5; color: #10b981; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; }

.chk-label {
    font-size: 0.875rem;
    font-weight: 500; /* Reduced from 700 */
    color: #334155;
}

.badge-pass {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.625rem;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500; /* Reduced from 700 */
}

/* Download PDF Button */
.download-pdf-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background: #10b981;
    color: #ffffff !important;
    font-weight: 500; /* Reduced from 800 */
    font-size: 0.9375rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: all 0.2s ease;
}

.download-pdf-btn:hover {
    background: #059669;
}

/* Guest Lock Overlay */
.guest-blur-container {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.guest-blur-content {
    filter: blur(4px) opacity(0.68) !important;
    -webkit-filter: blur(4px) opacity(0.68) !important;
    user-select: none !important;
    pointer-events: none !important;
}

.guest-lock-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    z-index: 50;
    padding: 1.5rem;
    text-align: center;
    box-sizing: border-box;
    border-radius: 18px;
}

.lock-title {
    font-size: 1.125rem;
    font-weight: 600; /* Reduced from 800 */
    color: #0f172a;
    margin-bottom: 0.375rem;
}

.lock-subtitle {
    font-size: 0.8125rem;
    color: #334155;
    margin-bottom: 1.25rem;
    max-width: 330px;
    line-height: 1.5;
    font-weight: 400;
}

.lock-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.75rem;
    background: var(--primary-color, #2563eb);
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 500; /* Reduced from 800 */
    border-radius: 12px;
    text-decoration: none !important;
}