/*
Theme Name: Just Smile Dental Web-App Framework
Author: CRTX + Demand Engine
Description: Ultra-lightweight, 100% fluid custom code injection environment optimized for conversion modules. Just Smile Dental — Everett, WA.
Version: 1.0.0
*/

/* ==========================================================================
   1. JUST SMILE DENTAL DESIGN TOKENS (MASTER VARIABLE MATRIX)
   ========================================================================== */
:root {
    /* Core Application Variables utilized across your layouts */
    --primary-action: #2e9ed1;       /* High-intent interactive callouts / accents (brand blue) */
    --cta-dark: #333333;             /* Primary CTA / button surface (dark) */
    --secondary-headers: #333333;    /* Headings, subheadings, and metadata text */
    --canvas: #efeeee;               /* Light clinical canvas background */
    --card-white: #ffffff;           /* Sterile backdrop white */
    --accent-border: #e2e8f0;        /* Fine grid lines and dividing rules */

    /* Global Typography Definitions */
    --font-sans: 'Comfortaa', system-ui, -apple-system, sans-serif;

    /* Shimmer & Animation Parameters (brand-blue tint) */
    --shimmer-bg: linear-gradient(90deg, #eaf6fc 25%, #cfeaf7 50%, #eaf6fc 75%);
}

/* ==========================================================================
   2. BLAZING SPEED RE-INITIALIZATION
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--canvas);
    color: #333333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   3. MASTER APPLICATION WRAPPERS & CENTERING HINTS
   ========================================================================== */
.nw-app-master-view,
.nw-webapp-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Universal interior content containment box */
.app-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Base Shimmer Keyframe Setup for Status Badges */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-effect {
    background: var(--shimmer-bg);
    background-size: 200% 100%;
    animation: shimmer 2.5s infinite linear;
    border: 1px solid var(--accent-border);
    border-radius: 100px;
}

/* Pulse Animation Logic for Header Badge */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 158, 209, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 158, 209, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 158, 209, 0); }
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-action);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}