/* =========================================
   Global Grid & Reset
   ========================================= */
.advic-counter-wrapper {
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --advic-gap: 20px;
}

.advic-grid {
    display: grid;
    gap: var(--advic-gap);
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.advic-stat-item {
    position: relative;
    box-sizing: border-box;
}

/* =========================================
   Theme 1: Standard Modern (Clean Card)
   ========================================= */
.advic-theme-card-grid .advic-stat-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.advic-theme-card-grid .advic-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.advic-theme-card-grid .advic-icon {
    background: #f3f4f6;
    color: #4b5563;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 18px;
}

/* =========================================
   Theme 2: Glassmorphism (Frosted Glass)
   ========================================= */
.advic-theme-glassmorphism .advic-grid {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 20px;
}

.advic-theme-glassmorphism .advic-stat-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advic-theme-glassmorphism .advic-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.advic-theme-glassmorphism .advic-number {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* =========================================
   Theme 3: Neon Cyberpunk (Dark Glow)
   ========================================= */
.advic-theme-neon-box .advic-stat-item {
    background: #09090b;
    border: 1px solid #333;
    padding: 25px 15px;
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.advic-theme-neon-box .advic-stat-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #ff00cc, #333399, #00ffff);
}

.advic-theme-neon-box .advic-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    display: block;
    margin-top: 10px;
}

.advic-theme-neon-box .advic-label {
    color: #00ffff;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   Theme 4: Minimal Pills (Compact)
   ========================================= */
.advic-theme-minimal-badge .advic-stat-item {
    background: #f4f4f5;
    border-radius: 50px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e4e4e7;
}

.advic-theme-minimal-badge .advic-info {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
}

.advic-theme-minimal-badge .advic-number {
    font-size: 16px;
    font-weight: 700;
    color: #18181b;
}

.advic-theme-minimal-badge .advic-label {
    font-size: 13px;
    color: #71717a;
    text-transform: capitalize;
}

/* =========================================
   Theme 5: Odometer (Mechanical)
   ========================================= */
.advic-theme-odometer .advic-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advic-odo-wrap {
    display: flex;
    gap: 2px;
    background: #222;
    padding: 5px;
    border-radius: 4px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.advic-odo-digit {
    background: #333;
    color: #f0f0f0;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 24px;
    padding: 4px 8px;
    border-radius: 2px;
    border-bottom: 1px solid #000;
    background: linear-gradient(to bottom, #444 0%, #222 100%);
}

/* =========================================
   Theme 6: Digital LCD (Retro Watch)
   ========================================= */
.advic-theme-digital-lcd .advic-stat-item {
    background: #222;
    padding: 10px;
    border-radius: 6px;
    border: 4px solid #555;
    text-align: center;
}

.advic-lcd-screen {
    background: #6d8c75; /* Old LCD Green */
    padding: 5px 10px;
    border-radius: 2px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    font-family: 'Share Tech Mono', monospace;
    color: #111;
    font-size: 28px;
    letter-spacing: 2px;
}

.advic-theme-digital-lcd .advic-label {
    color: #ccc;
    font-size: 10px;
    margin-top: 5px;
    display: block;
}

/* =========================================
   Theme 7: Floating Tiles (3D Shadow)
   ========================================= */
.advic-theme-floating-tiles .advic-stat-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.advic-theme-floating-tiles .advic-icon {
    font-size: 28px;
    color: #6366f1; /* Indigo */
    margin-bottom: 15px;
    display: block;
}

.advic-theme-floating-tiles .advic-number {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    display: block;
}

/* =========================================
   Theme 8: Circle Badges
   ========================================= */
.advic-theme-circle-stats .advic-stat-item {
    display: flex;
    justify-content: center;
}

.advic-circle-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.advic-theme-circle-stats .advic-number {
    font-size: 24px;
    font-weight: 800;
    color: #2563eb;
}

/* =========================================
   Theme 9: Neumorphism (Soft UI)
   ========================================= */
.advic-theme-neumorphism {
    background: #e0e5ec;
    padding: 20px;
    border-radius: 10px;
}

.advic-theme-neumorphism .advic-stat-item {
    border-radius: 20px;
    background: #e0e5ec;
    box-shadow:  9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255, 0.5);
    padding: 25px;
    display: flex;
    align-items: center;
}

.advic-theme-neumorphism .advic-icon {
    color: #666;
    margin-right: 15px;
    font-size: 20px;
}

/* =========================================
   Theme 10: Gradient Cards
   ========================================= */
.advic-theme-gradient .advic-stat-item {
    background: linear-gradient(135deg, #FF6B6B 0%, #556270 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.advic-theme-gradient .advic-stat-item:nth-child(2) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.advic-theme-gradient .advic-stat-item:nth-child(3) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.advic-theme-gradient .advic-stat-item:nth-child(4) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.advic-theme-gradient .advic-number {
    font-size: 24px;
    font-weight: bold;
}
.advic-theme-gradient .advic-label {
    color: rgba(255,255,255,0.9);
}