/*!* =========================================================*/
/*SENTRIFOX COMPONENT SYSTEM*/
/*========================================================= *!*/


/*!* =========================================================*/
/*PAGE TITLE*/
/*========================================================= *!*/

/*.page-title{*/

/*    font-size:28px;*/
/*    font-weight:600;*/
/*    margin-bottom:22px;*/

/*}*/


/*!* =========================================================*/
/*GLASS CARD*/
/*========================================================= *!*/

/*.card{*/

/*    background:var(--glass-bg);*/
/*    backdrop-filter:blur(var(--glass-blur));*/

/*    border:1px solid var(--glass-border);*/

/*    border-radius:16px;*/

/*    padding:22px;*/

/*    margin-bottom:22px;*/

/*}*/


/*!* =========================================================*/
/*METRIC CARDS*/
/*========================================================= *!*/

/*.metrics-grid{*/

/*    display:grid;*/

/*    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));*/

/*    gap:18px;*/

/*    margin-bottom:22px;*/

/*}*/

/*.metric-card{*/

/*    padding:20px;*/

/*    border-radius:16px;*/

/*    color:white;*/

/*    display:flex;*/

/*    flex-direction:column;*/

/*    justify-content:space-between;*/

/*    min-height:110px;*/

/*    box-shadow:0 10px 25px rgba(0,0,0,0.08);*/

/*}*/

/*.metric-title{*/

/*    font-size:13px;*/

/*    opacity:0.9;*/

/*}*/

/*.metric-value{*/

/*    font-size:26px;*/

/*    font-weight:600;*/

/*    margin-top:6px;*/

/*}*/


/*!* gradient colors *!*/

/*.metric-blue{*/

/*    background:linear-gradient(135deg,#4F8EF7,#6FA4FF);*/

/*}*/

/*.metric-green{*/

/*    background:linear-gradient(135deg,#36C98F,#62E0AA);*/

/*}*/

/*.metric-yellow{*/

/*    background:linear-gradient(135deg,#F6C657,#FFD977);*/

/*    color:#1f2933;*/

/*}*/

/*.metric-red{*/

/*    background:linear-gradient(135deg,#F56464,#FF7F7F);*/

/*}*/


/*!* =========================================================*/
/*SECONDARY STATS*/
/*========================================================= *!*/

/*.stats-grid{*/

/*    display:grid;*/

/*    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));*/

/*    gap:16px;*/

/*    margin-bottom:22px;*/

/*}*/

/*.stat-card{*/

/*    background:var(--glass-bg);*/

/*    backdrop-filter:blur(var(--glass-blur));*/

/*    border:1px solid var(--glass-border);*/

/*    padding:18px;*/

/*    border-radius:14px;*/

/*}*/

/*.stat-title{*/

/*    font-size:13px;*/

/*    color:var(--text-secondary);*/

/*}*/

/*.stat-value{*/

/*    font-size:20px;*/

/*    font-weight:600;*/

/*    margin-top:6px;*/

/*}*/


/*!* =========================================================*/
/*DASHBOARD GRID*/
/*========================================================= *!*/

/*.dashboard-grid{*/

/*    display:grid;*/

/*    grid-template-columns:2fr 1.2fr;*/

/*    gap:18px;*/

/*    margin-bottom:22px;*/

/*}*/


/*!* =========================================================*/
/*TABLE CARD*/
/*========================================================= *!*/

/*.table-card{*/

/*    background:var(--glass-bg);*/

/*    backdrop-filter:blur(var(--glass-blur));*/

/*    border:1px solid var(--glass-border);*/

/*    border-radius:16px;*/

/*    padding:20px;*/

/*}*/

/*.table-card h3{*/

/*    margin-bottom:14px;*/

/*    font-size:16px;*/

/*}*/


/*!* =========================================================*/
/*TABLE*/
/*========================================================= *!*/

/*.table{*/

/*    width:100%;*/

/*    border-collapse:collapse;*/

/*}*/

/*.table th{*/

/*    text-align:left;*/

/*    font-size:13px;*/

/*    color:var(--text-secondary);*/

/*    padding:12px 10px;*/

/*    border-bottom:1px solid var(--border-light);*/

/*}*/

/*.table td{*/

/*    padding:12px 10px;*/

/*    font-size:14px;*/

/*    border-bottom:1px solid var(--border-light);*/

/*}*/

/*.table tbody tr:hover{*/

/*    background:rgba(0,0,0,0.03);*/

/*}*/


/*!* =========================================================*/
/*STATUS BADGES*/
/*========================================================= *!*/

/*.badge{*/

/*    padding:4px 10px;*/

/*    border-radius:20px;*/

/*    font-size:12px;*/

/*    font-weight:500;*/

/*}*/

/*.badge-active{*/

/*    background:#DCFCE7;*/

/*    color:#16A34A;*/

/*}*/

/*.badge-pending{*/

/*    background:#FEF3C7;*/

/*    color:#D97706;*/

/*}*/

/*.badge-failed{*/

/*    background:#FEE2E2;*/

/*    color:#DC2626;*/

/*}*/


/*!* =========================================================*/
/*CHART CARD*/
/*========================================================= *!*/

/*.chart-card{*/

/*    background:var(--glass-bg);*/

/*    backdrop-filter:blur(var(--glass-blur));*/

/*    border:1px solid var(--glass-border);*/

/*    border-radius:16px;*/

/*    padding:20px;*/

/*}*/

/*.chart-card h3{*/

/*    margin-bottom:10px;*/

/*}*/


/*!* =========================================================*/
/*BUTTONS*/
/*========================================================= *!*/

/*.btn{*/

/*    padding:10px 16px;*/

/*    border-radius:10px;*/

/*    font-size:14px;*/

/*    font-weight:500;*/

/*    border:none;*/

/*    cursor:pointer;*/

/*}*/

/*.btn-primary{*/

/*    background:var(--accent);*/

/*    color:white;*/

/*}*/

/*.btn-primary:hover{*/

/*    background:var(--accent-hover);*/

/*}*/


/*!* =========================================================*/
/*FORM GROUP*/
/*========================================================= *!*/

/*.form-group{*/

/*    margin-bottom:16px;*/

/*}*/

/*.form-group label{*/

/*    display:block;*/

/*    margin-bottom:6px;*/

/*    font-size:13px;*/

/*    color:var(--text-secondary);*/

/*}*/

/*.form-group input,*/
/*.form-group textarea,*/
/*.form-group select{*/

/*    width:100%;*/

/*    padding:10px 12px;*/

/*    border-radius:8px;*/

/*    border:1px solid var(--border-light);*/

/*    font-size:14px;*/

/*}*/


/*!* =========================================================*/
/*FORM GRID*/
/*========================================================= *!*/

/*.form-grid{*/

/*    display:grid;*/

/*    grid-template-columns:1fr 1fr;*/

/*    gap:16px;*/

/*    margin-bottom:16px;*/

/*}*/


/*!* =========================================================*/
/*FOCUS SYSTEM*/
/*========================================================= *!*/

/*button:focus,*/
/*input:focus,*/
/*textarea:focus,*/
/*select:focus{*/

/*    outline:none;*/

/*    box-shadow:0 0 0 2px rgba(2,195,154,0.3);*/

/*}*/


/*!* =========================================================*/
/*LINK HOVER*/
/*========================================================= *!*/

/*a:hover{*/

/*    opacity:0.85;*/

/*}*/


/*!* =========================================================*/
/*CAMPAIGN PAGE COMPONENTS*/
/*========================================================= *!*/

/*.table-header{*/

/*    display:flex;*/
/*    align-items:center;*/
/*    justify-content:space-between;*/

/*    margin-bottom:14px;*/

/*}*/


/*.actions{*/

/*    display:flex;*/
/*    gap:8px;*/

/*}*/


/*.action{*/

/*    padding:6px 12px;*/

/*    border-radius:8px;*/

/*    font-size:13px;*/

/*    font-weight:500;*/

/*    border:1px solid transparent;*/

/*    cursor:pointer;*/

/*    transition:.2s;*/

/*}*/


/*!* Start *!*/

/*.action.start{*/

/*    background:#DCFCE7;*/
/*    color:#16A34A;*/

/*}*/

/*.action.start:hover{*/

/*    background:#BBF7D0;*/

/*}*/


/*!* Schedule *!*/

/*.action.schedule{*/

/*    background:#FEF3C7;*/
/*    color:#D97706;*/

/*}*/

/*.action.schedule:hover{*/

/*    background:#FDE68A;*/

/*}*/


/*!* Delete *!*/

/*.action.delete{*/

/*    background:#FEE2E2;*/
/*    color:#DC2626;*/

/*}*/

/*.action.delete:hover{*/

/*    background:#FECACA;*/

/*}*/


/*!* Modal *!*/

/*.modal{*/

/*    position:fixed;*/

/*    top:0;*/
/*    left:0;*/

/*    width:100%;*/
/*    height:100%;*/

/*    background:rgba(0,0,0,0.35);*/

/*    display:none;*/

/*    align-items:center;*/
/*    justify-content:center;*/

/*    z-index:999;*/

/*}*/


/*.modal-content{*/

/*    width:360px;*/

/*    background:var(--glass-bg);*/

/*    backdrop-filter:blur(var(--glass-blur));*/

/*    border:1px solid var(--glass-border);*/

/*    border-radius:16px;*/

/*    padding:22px;*/

/*}*/


/*.modal-actions{*/

/*    display:flex;*/
/*    justify-content:flex-end;*/
/*    gap:10px;*/

/*    margin-top:16px;*/

/*}*/


/*!* Toast *!*/

/*.toast{*/

/*    position:fixed;*/

/*    bottom:30px;*/
/*    right:30px;*/

/*    background:#111827;*/
/*    color:white;*/

/*    padding:12px 18px;*/

/*    border-radius:10px;*/

/*    font-size:14px;*/

/*    display:none;*/

/*    box-shadow:0 8px 20px rgba(0,0,0,0.2);*/

/*    z-index:9999;*/

/*}*/

/*.live-layout{*/

/*    display:grid;*/

/*    grid-template-columns:260px 1fr;*/

/*    gap:20px;*/

/*    margin-bottom:20px;*/

/*}*/

/*.phone-queue ul{*/

/*    list-style:none;*/

/*    padding:0;*/

/*    margin-top:10px;*/

/*}*/

/*.phone-queue li{*/

/*    padding:10px;*/

/*    border-bottom:1px solid var(--border-light);*/

/*    cursor:pointer;*/

/*    font-size:14px;*/

/*}*/

/*.phone-queue li:hover{*/

/*    background:rgba(0,0,0,0.03);*/

/*}*/

/*.live-panel{*/

/*    display:flex;*/
/*    flex-direction:column;*/

/*    min-height:380px;*/


/*}*/

/*.live-header{*/

/*    display:flex;*/

/*    justify-content:space-between;*/

/*    align-items:center;*/

/*}*/

/*.chart-container{*/

/*    height:200px;*/

/*}*/

/*.live-transcript{*/

/*    display:grid;*/

/*    grid-template-columns:1fr 1fr;*/

/*    gap:16px;*/

/*}*/

/*.live-controls{*/
/*    margin-top:auto;*/
/*    display:flex;*/
/*    gap:10px;*/
/*    padding-top:12px;*/
/*    border-top:1px solid var(--border-light);*/
/*}*/

/* --- Hard paywall (post-demo, pre-subscription) --- */
.hard-paywall-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 20px 80px;
    overflow-y: auto;
    background: color-mix(in srgb, var(--text-primary) 72%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hard-paywall-dialog {
    width: min(920px, 100%);
    border-radius: var(--radius-lg, 20px);
    padding: 28px 28px 32px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.08));
    box-shadow: var(--shadow-soft, 0 24px 60px rgba(0, 0, 0, 0.2));
}

.paywall-offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.paywall-offer-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid var(--border-light);
    background: color-mix(in srgb, #f97316 12%, transparent);
    color: var(--text-primary);
}

.paywall-offer-chip-muted {
    background: color-mix(in srgb, #22c55e 10%, transparent);
}

.paywall-offer-copy {
    margin: 0 0 18px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 640px;
}

.hard-paywall-dialog h2 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hard-paywall-lede {
    margin: 0 0 22px;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 640px;
}

.paywall-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.paywall-plan-card {
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border-light);
    background: color-mix(in srgb, var(--content-bg) 88%, transparent);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.paywall-plan-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.paywall-plan-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
}

.paywall-plan-list-price {
    text-decoration: line-through;
    font-size: 0.92em;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 0.25rem;
}

.paywall-plan-offer-price {
    font-weight: 800;
}

.paywall-plan-savings {
    font-size: 0.82rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: 4px;
}

.paywall-plan-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    flex: 1;
}

.paywall-subscribe-btn {
    margin-top: 8px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(105deg, #38bdf8, #a78bfa);
    color: #0b1220;
}

.paywall-subscribe-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.paywall-error {
    margin-top: 16px;
    color: #f87171;
    font-size: 0.9rem;
    font-weight: 600;
}

.paywall-billing-link {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
    text-align: center;
}

.paywall-billing-link a {
    color: var(--accent, #38bdf8);
    font-weight: 600;
    text-decoration: none;
}

.paywall-billing-link a:hover {
    text-decoration: underline;
}

/* =========================================================
GLOBAL GLASS BUTTONS (Voice Studio, modals, any page without inline .btn-glass)
========================================================= */

.btn-glass {
    appearance: none;
    font-family: inherit;
    border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.35));
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-glass:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-glass:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-glass.primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

body.dark .btn-glass.primary,
html[data-theme="dark"] .btn-glass.primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.22);
}

.btn-glass.secondary {
    color: var(--text-primary);
    background: var(--button-bg, rgba(255, 255, 255, 0.72));
    border-color: var(--glass-border, rgba(148, 163, 184, 0.35));
}

body.dark .btn-glass.secondary:hover:not(:disabled),
html[data-theme="dark"] .btn-glass.secondary:hover:not(:disabled) {
    background: var(--button-hover);
}

.btn-glass.danger {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: rgba(254, 202, 202, 0.35);
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.25);
}

.btn-glass.danger:hover:not(:disabled) {
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.32);
}