@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-30px); display: none; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@keyframes wheel-breathe-svg {
    0%, 100% { transform: scale(1) rotate(-5deg); filter: drop-shadow(0 0 4px rgba(227, 179, 65, 0.5)); }
    50% { transform: scale(1.05) rotate(5deg); filter: drop-shadow(0 0 10px rgba(227, 179, 65, 0.9)); }
}

@keyframes radar-pulse-text {
    0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 0px rgba(227, 179, 65, 0)); }
    50% { transform: scale(1.25); opacity: 0.85; filter: drop-shadow(0 0 8px rgba(227, 179, 65, 0.6)); }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); color: #da3633; }
    50% { transform: scale(1.1); color: #ff6b6b; text-shadow: 0 0 3px rgba(218, 54, 51, 0.5); }
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0px rgba(218, 54, 51, 0); }
    50% { box-shadow: 0 0 6px rgba(218, 54, 51, 0.3); }
}

@keyframes alert-border-pulse {
    0%, 100% { border-color: #e3b341; box-shadow: 0 0 0px rgba(227, 179, 65, 0); }
    50% { border-color: #da3633; box-shadow: 0 0 15px rgba(218, 54, 51, 0.4); }
}

@keyframes toastSlideIn {
    0% { opacity: 0; transform: translateY(-30px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastFadeOut {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-20px) scale(0.9); }
}






@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#driver-qr-code canvas {
    width: 100% !important;
    height: auto !important;
}
.loader-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.branded-wheel {
    width: 100%;
    height: 100%;
    border: 6px solid #e3b341;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(227, 179, 65, 0.2), inset 0 0 15px rgba(227, 179, 65, 0.2);
    animation: wheel-spin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.wheel-m {
    font-size: 48px;
    font-weight: 900;
    color: #e3b341;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 10px rgba(227, 179, 65, 0.5);
}

.loading-bar-container {
    width: 200px;
    height: 200px; /* Поменяем на полоску ниже */
    height: 2px;
    background: #1c2128;
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar-fill {
    width: 40%;
    height: 100%;
    background: #e3b341;
    box-shadow: 0 0 10px #e3b341;
    animation: loading-progress 2s infinite linear;
}

@keyframes wheel-spin {
    0% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(-15deg); }
}

@keyframes loading-progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(to bottom, #161b22, transparent);
}

.mini-wheel-container {
    width: 36px;
    height: 36px;
    position: relative;
}

.wheel-icon {
    width: 100%;
    height: 100%;
    border: 3px solid #e3b341;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(227, 179, 65, 0.3);
    transition: all 0.5s ease;
}

.wheel-inner-m {
    font-size: 14px;
    font-weight: 900;
    color: #e3b341;
}

.brand-name {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
}

.brand-name span { color: #e3b341; }

/* Анимация при активном GPS (добавляется через JS) */
.wheel-active {
    animation: wheel-idle 4s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(227, 179, 65, 0.5);
}

@keyframes wheel-idle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Анимация пульсации и вращения лоадера */
.premium-wheel-loader {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 0 25px rgba(227, 179, 65, 0.4));
    animation: loader-pulse 2s infinite ease-in-out;
}

.main-svg-wheel {
    width: 100%;
    height: 100%;
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(1) rotate(-5deg); filter: drop-shadow(0 0 20px rgba(227, 179, 65, 0.3)); }
    50% { transform: scale(1.05) rotate(5deg); filter: drop-shadow(0 0 40px rgba(227, 179, 65, 0.6)); }
}