﻿/* =============================================================================
   FiveM Circular Status HUD (Health, Armour, Hunger, Thirst)
   ============================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
}

html, body {
    width: 100vw;
    height: 100vh;
    background: transparent !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.status-hud {
    position: fixed;
    bottom: 30px;
    left: 32px;
    z-index: 999999;
    display: none;
    align-items: center;
    gap: 12px;
    pointer-events: none !important;
}

.hud-circle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 20, 26, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none !important;
}

.hud-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
    pointer-events: none !important;
}

.hud-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 3.5;
}

.hud-ring {
    fill: none;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 100.53;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.35s ease;
}

.hud-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}

/* Authentic FiveM Status Colors matching reference image */
.hud-health .hud-ring { 
    stroke: #ff4757; 
    filter: drop-shadow(0 0 3px rgba(255, 71, 87, 0.4));
}
.hud-health .hud-icon { color: #ffcccc; }

.hud-armour .hud-ring { 
    stroke: #2ed573; 
    filter: drop-shadow(0 0 3px rgba(46, 213, 115, 0.4));
}
.hud-armour .hud-icon { color: #c8ecec; }

.hud-hunger .hud-ring { 
    stroke: #ffa502; 
    filter: drop-shadow(0 0 3px rgba(255, 165, 2, 0.4));
}
.hud-hunger .hud-icon { color: #ffeaa7; }

.hud-thirst .hud-ring { 
    stroke: #1e90ff; 
    filter: drop-shadow(0 0 3px rgba(30, 144, 255, 0.4));
}
.hud-thirst .hud-icon { color: #dff9fb; }

/* Low Status Pulse Warning */
@keyframes hud-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.65; }
    100% { transform: scale(1); opacity: 1; }
}

.hud-circle.warning {
    animation: hud-pulse 1s infinite ease-in-out;
}
