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

/* ==========================================================================
   1. ST. PETE DESIGN TOKENS (MASTER VARIABLE MATRIX)
   ========================================================================== */
:root {
    /* Core Application Variables utilized across your layouts */
    --primary-action: #029da7;       /* High-intent interactive callouts / accents */
    --secondary-headers: #475569;    /* Clean charcoal for subheadings and metadata */
    --card-white: #ffffff;           /* Sterile backdrop white */
    --accent-border: #e2e8f0;        /* Fine grid lines and dividing rules */
    
    /* Global Typography Definitions */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Shimmer & Animation Parameters */
    --shimmer-bg: linear-gradient(90deg, #f0fdfa 25%, #ccfbf1 50%, #f0fdfa 75%);
}

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

body {
    font-family: var(--font-sans);
    background-color: #fafafa;
    color: #1e293b;
    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(2, 157, 167, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(2, 157, 167, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 157, 167, 0); }
}

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