/* Warehouse Scanner Styles */
:root {
    --bg-primary: #05060a;
    --bg-secondary: #10121a;
    --bg-card: #0b0d13;
    --text-primary: #f5f5f7;
    --text-secondary: #9ca3af;
    --accent-blue: #4f8cff;
    --accent-green: #22c55e;
    --accent-orange: #f97316;
    --accent-red: #ff4f6a;
    --accent-yellow: #facc15;
    --border-color: #1f2933;
    --shadow: rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0%, #020617 55%, #000 100%);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 70px; /* Space for bottom nav */
}

/* Header */
header {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--accent-blue), var(--accent-green), var(--accent-orange), var(--accent-blue));
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-text-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.brand-text-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

/* Main Content */
main {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

/* Camera Section */
.camera-section {
    max-width: 100%;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 4px 20px var(--shadow);
}

#cameraVideo {
    width: 100%;
    display: block;
    min-height: 300px;
    background: #000;
}

#overlayCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.scan-frame {
    width: 80%;
    height: 60%;
    border: 2px dashed var(--accent-green);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

/* Center Play Button */
.center-play-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.9);
    border: 4px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
    pointer-events: auto;
    z-index: 10;
}

.center-play-btn:hover {
    background: rgba(34, 197, 94, 1);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.6);
}

.center-play-btn:active {
    transform: scale(0.95);
}

.center-play-btn .play-icon {
    margin-left: 4px; /* Optical centering: play triangles appear more centered with slight offset */
}

.scan-info {
    position: absolute;
    bottom: 20px;
    background: rgba(5, 6, 10, 0.9);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 15;
}

#scanStatus {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

#detectionInfo {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* AI Helper */
.ai-helper {
    position: absolute;
    bottom: 90px;
    left: 20px;
    right: 20px;
    background: rgba(79, 140, 255, 0.95);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(79, 140, 255, 0.3);
    animation: slideUp 0.3s ease-out;
    z-index: 20;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ai-helper-avatar {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.ai-helper-message {
    flex: 1;
    font-size: 0.95rem;
    color: #fff;
}

.hidden {
    display: none !important;
}

/* Camera Controls */
.camera-controls {
    display: flex;
    gap: 0.75rem;
    margin: 1rem auto;
    max-width: 800px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-danger {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), #16a34a);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-blue), #3b82f6);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, var(--accent-red), #dc2626);
    color: #fff;
}

.btn-primary:hover, .btn-secondary:hover, .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:active, .btn-secondary:active, .btn-danger:active {
    transform: translateY(0);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 800px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
}

.stat-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

/* Detection Legend */
.detection-legend {
    max-width: 800px;
    margin: 1rem auto;
    background: rgba(11, 13, 19, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.legend-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
    border: 2px solid;
}

.legend-box.purple-box {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.legend-box.green-box {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.legend-box.orange-box {
    background: rgba(249, 115, 22, 0.2);
    border-color: #f97316;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.3);
}

.legend-box.red-box {
    background: rgba(255, 79, 106, 0.2);
    border-color: #ff4f6a;
    box-shadow: 0 0 8px rgba(255, 79, 106, 0.3);
}

/* Inventory Section */
.inventory-section {
    max-width: 1200px;
    margin: 0 auto;
}

.warehouse-map {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.warehouse-map h3 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.warehouse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.warehouse-cell {
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.warehouse-cell.scanned {
    background: rgba(34, 197, 94, 0.2);
    border-color: var(--accent-green);
}

.warehouse-cell.pending {
    background: rgba(156, 163, 175, 0.2);
    border-color: var(--text-secondary);
}

.warehouse-cell.high-value {
    background: rgba(249, 115, 22, 0.3);
    border-color: var(--accent-orange);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(249, 115, 22, 0.5); }
    50% { box-shadow: 0 0 15px rgba(249, 115, 22, 0.8); }
}

.warehouse-cell:hover {
    transform: scale(1.1);
    z-index: 10;
}

.map-legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.scanned {
    background: var(--accent-green);
}

.dot.pending {
    background: var(--text-secondary);
}

.dot.high-value {
    background: var(--accent-orange);
}

.dot.user-marker,
.dot.medium-value,
.dot.standard {
    font-size: 16px;
    width: auto;
    height: auto;
    background: none;
}

/* Leaflet Map Styles */
#warehouseMap {
    z-index: 1;
}

.leaflet-popup-content-wrapper {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.leaflet-popup-content {
    margin: 12px;
}

.leaflet-popup-tip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.user-marker-icon,
.inventory-marker {
    background: transparent;
    border: none;
    text-align: center;
}

.high-value-marker div {
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.8));
    animation: pulse-marker 2s ease-in-out infinite;
}

.medium-value-marker div {
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.6));
}

.standard-marker div {
    filter: drop-shadow(0 0 4px rgba(79, 140, 255, 0.4));
}

@keyframes pulse-marker {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Inventory List */
.inventory-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.list-header {
    margin-bottom: 1.5rem;
}

.list-header h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.list-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.list-controls input,
.list-controls select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 150px;
}

.list-controls input:focus,
.list-controls select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.inventory-items {
    display: grid;
    gap: 1rem;
}

.inventory-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.inventory-item:hover {
    border-color: var(--accent-blue);
    transform: translateX(4px);
}

.item-icon {
    font-size: 2rem;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.item-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.item-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-green);
}

/* Value Analysis */
.value-analysis {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.value-analysis h3, .value-analysis h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.value-heatmap {
    height: 200px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.top-items {
    display: grid;
    gap: 0.75rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem;
    z-index: 30;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
}

.nav-btn.active {
    color: var(--accent-blue);
    background: rgba(79, 140, 255, 0.1);
}

.nav-btn:hover {
    color: var(--text-primary);
}

.nav-icon {
    font-size: 1.5rem;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    color: var(--accent-blue);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.setting-group input[type="text"] {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
}

.setting-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 6, 10, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 70px;
    right: 1rem;
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    border-radius: 8px;
    padding: 1rem;
    min-width: 300px;
    box-shadow: 0 4px 20px var(--shadow);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left-color: var(--accent-green); }
.toast.error { border-left-color: var(--accent-red); }
.toast.warning { border-left-color: var(--accent-yellow); }
.toast.info { border-left-color: var(--accent-blue); }

/* Auto-Capture Animation */
@keyframes captureFlash {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

.auto-capture-indicator {
    animation: captureFlash 0.5s ease-out;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.5);
}

/* Auto-Feature Indicators */
.scan-status-indicators {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.auto-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(79, 140, 255, 0.2);
    border: 1px solid rgba(79, 140, 255, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-blue);
}

.auto-feature-badge.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--accent-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .camera-controls {
        flex-direction: column;
    }
    
    .camera-controls button {
        width: 100%;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .list-controls {
        flex-direction: column;
    }
    
    .list-controls input,
    .list-controls select {
        width: 100%;
    }
    
    .inventory-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }
    
    .item-value {
        grid-column: 2;
    }
}

/* Swipeable Inventory Items */
.inventory-item {
    position: relative;
    overflow: hidden;
}

.item-swipeable {
    position: relative;
    width: 100%;
}

.item-content {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    background: var(--bg-secondary);
    padding: 1rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    z-index: 2;
    width: 100%;
    transition: transform 0.3s ease;
}

.item-actions {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    background: var(--bg-primary);
    z-index: 1;
    width: 150px;
}

.item-action-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.edit-btn {
    background: var(--accent-blue);
    color: white;
}

.delete-btn {
    background: var(--accent-red);
    color: white;
}

.item-action-btn:active {
    transform: scale(0.95);
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.sold {
    background: var(--accent-orange);
    color: white;
}

/* Enhanced Warehouse Map */
.warehouse-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    text-align: center;
    min-height: 70px;
}

.cell-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cell-count {
    font-size: 0.65rem;
    color: var(--accent-yellow);
    margin-bottom: 0.125rem;
}

.cell-value {
    font-size: 0.7rem;
    color: var(--accent-green);
    font-weight: 600;
}

.warehouse-cell.medium-value {
    background: rgba(250, 204, 21, 0.2);
    border-color: var(--accent-yellow);
}

/* Edit Form Styles */
.edit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
