/**
 * Smart Visitor & AI Bot Tracker - Frontend Styles
 */

/* Battle Widget Container */
.svat-battle-container {
    max-width: 480px;
    margin: 20px auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-sizing: border-box;
}

.svat-battle-container * {
    box-sizing: border-box;
}

/* Widget Header */
.svat-battle-title {
    margin: 0 0 18px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

/* Metric Display Row */
.svat-battle-stats {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.svat-stat-box.svat-stat-left {
    text-align: left;
}

.svat-stat-box.svat-stat-right {
    text-align: right;
}

.svat-stat-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.svat-label-human {
    color: #16a34a;
}

.svat-label-ai {
    color: #dc2626;
}

.svat-stat-number {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.svat-stat-pct {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-left: 2px;
}

/* Comparison Split Bar */
.svat-progress-bar {
    width: 100%;
    height: 14px;
    background: #fee2e2;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
}

.svat-bar-segment-human {
    background: #22c55e;
    height: 100%;
    transition: width 0.4s ease-in-out;
}

.svat-bar-segment-ai {
    background: #ef4444;
    height: 100%;
    transition: width 0.4s ease-in-out;
}

/* Standalone Shortcode Counters */
.svat-counter {
    font-weight: 700;
    display: inline-block;
}

.svat-counter-human {
    color: #16a34a;
}

.svat-counter-ai {
    color: #dc2626;
}