/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #e9e4da;
    min-height: 100vh;
    color: #333;
    transition: all 0.3s ease;
}

/* Basic Mode - Black and White Theme */
body.basic-mode {
    background: #f5f5f5;
    color: #333;
}


body.basic-mode #demoCanvas {
    filter: grayscale(100%) contrast(1.1) brightness(1.05);
}

body.basic-mode .control-group {
    background: #ffffff;
    border-color: #d0d0d0;
}

body.basic-mode .object-btn,
body.basic-mode .control-btn {
    background: #ffffff;
    border-color: #b0b0b0;
    color: #333;
}

body.basic-mode .object-btn:hover,
body.basic-mode .control-btn:hover {
    background: #f0f0f0;
    border-color: #888;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.basic-mode .object-btn.active {
    background: #333;
    border-color: #333;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Make emojis black and white in basic mode */
body.basic-mode .object-btn {
    filter: grayscale(100%) contrast(1.2) brightness(0.9);
}

body.basic-mode .background-slider {
    background: linear-gradient(to right, 
        #e0e0e0 0%, 
        #e0e0e0 var(--progress, 0%), 
        #666 var(--progress, 0%), 
        #666 100%
    );
}

body.basic-mode .background-slider:hover {
    background: linear-gradient(to right, 
        #d0d0d0 0%, 
        #d0d0d0 var(--progress, 0%), 
        #555 var(--progress, 0%), 
        #555 100%
    );
}

body.basic-mode .background-slider::-webkit-slider-thumb {
    background: #666;
}

body.basic-mode .background-slider::-webkit-slider-thumb:hover {
    background: #555;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

body.basic-mode .slider {
    background-color: #666;
}

body.basic-mode input:checked + .slider {
    background-color: #333;
}

body.basic-mode .switch-container:has(input:not(:checked)) .switch-label:first-child,
body.basic-mode .switch-container .switch-label.active {
    color: #666;
}

body.basic-mode .switch-container:has(input:checked) .switch-label:last-child,
body.basic-mode .switch-container.checked .switch-label:last-child {
    color: #333;
}

body.basic-mode .instructions-panel {
    background: #333;
    color: white;
}

body.basic-mode .background-noise-panel {
    background: #ffffff;
    border-color: #d0d0d0;
}

body.basic-mode #distanceValue {
    color: #ccc;
}

/* Disclaimer note styling */
.disclaimer-note {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer-note p {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.8;
    margin-bottom: 0;
    color: #b8b8b8;
}

/* Proprietary note styling */
.proprietary-note {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.proprietary-note p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 5px;
    color: #b8b8b8;
}

.proprietary-note p:last-child {
    margin-bottom: 0;
}

/* Basic mode styling for disclaimer */
body.basic-mode .disclaimer-note {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

body.basic-mode .disclaimer-note p {
    color: #888;
}

/* Basic mode styling for proprietary note */
body.basic-mode .proprietary-note {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

body.basic-mode .proprietary-note p {
    color: #888;
}

/* Dynamic Mode - Colorful Theme (default) */
body.dynamic-mode {
    /* Uses existing colorful styles */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

header h2 {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    font-weight: 400;
}

header h3 {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
    font-weight: 300;
    color: #666;
    margin-bottom: 0;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main demo interface */
.demo-interface {
    display: flex;
    gap: 30px;
    background: transparent;
    padding: 0;
}

/* Canvas container */
.canvas-container {
    position: relative;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#demoCanvas {
    display: block;
    width: 100%;
    height: auto;
    cursor: crosshair;
    flex-shrink: 0;
}

/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 1.0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
    z-index: 1000; /* Ensure it's above everything */
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Controls panel */
.controls-panel {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-height: 100vh;
    overflow-y: auto;
    padding-right: 10px;
}

.control-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.control-group h3 {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
}

.control-group h4 {
    margin-bottom: 10px;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
}

/* Button groups */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.object-btn,
.bg-btn,
.control-btn {
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.object-btn:hover,
.bg-btn:hover,
.control-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.object-btn.active,
.bg-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.control-btn {
    width: 100%;
    justify-content: center;
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.control-btn:hover {
    background: #218838;
    border-color: #218838;
}

.control-btn.muted {
    background: #dc3545;
    border-color: #dc3545;
}

.control-btn.muted:hover {
    background: #c82333;
    border-color: #c82333;
}

/* Bottom panels layout - instructions and background noise side by side */
.bottom-panels {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.instructions-panel {
    background: #2c3e50;
    color: white;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
}

.instructions-panel h4 {
    margin-bottom: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.instructions-panel p {
    margin-bottom: 15px;
    line-height: 1.5;
    opacity: 0.9;
}

.background-noise-panel {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
}

.background-noise-panel h4 {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
}

.background-noise-panel h5 {
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FFT Visualization Legend */
.fft-legend {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

.legend-color.background-color {
    background: rgba(70, 130, 180, 0.6); /* Blue - matches Dynamic mode background */
}

.legend-color.avas-color {
    background: rgba(255, 193, 7, 0.8); /* Yellow/Gold - matches AVAS sounds */
}

.legend-color.alert-color {
    background: rgba(148, 0, 211, 0.8); /* Purple - matches alert sounds */
}

/* Adjust colors for Basic mode */
.basic-mode .legend-color.background-color {
    background: rgba(120, 120, 120, 0.6); /* Gray - matches Basic mode background */
}

.basic-mode .legend-color.alert-color {
    background: rgba(60, 60, 60, 0.8); /* Dark gray - matches Basic mode alerts */
}

/* Top legend - positioned above visualization */
.fft-legend-top {
    justify-content: center;
    background: rgba(248, 249, 250, 0.9);
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

/* Info panel - legacy styles for any remaining usage */
.info-panel {
    background: #2c3e50;
    color: white;
    border-radius: 12px;
    padding: 20px;
    border: none;
}

.info-panel p {
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.95;
}



/* Responsive design */
@media (max-width: 1024px) {
    .demo-interface {
        flex-direction: column;
        gap: 20px;
    }
    
    .controls-panel {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .control-group {
        flex: 1;
        min-width: 250px;
    }
    
    .info-panel {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .demo-interface {
        padding: 20px;
    }
    
    .controls-panel {
        flex-direction: column;
    }
    
    .control-group {
        min-width: auto;
    }
    
    .button-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .object-btn,
    .bg-btn {
        flex: 1;
        min-width: 120px;
    }
    
    /* Stack bottom panels vertically on mobile */
    .bottom-panels {
        flex-direction: column;
        gap: 15px;
    }
}

/* Canvas cursor states */
#demoCanvas.dragging {
    cursor: grabbing !important;
}

#demoCanvas.can-drag {
    cursor: grab !important;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-spinner {
        animation: none;
        border-top-color: transparent;
    }
}

/* Focus styles for keyboard navigation */
button:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Dev Controls */
.slider-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.slider-group label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    flex: 1;
}

.slider-group input[type="range"] {
    flex: 2;
    margin: 0 10px;
    accent-color: #667eea;
}

.slider-group span {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #667eea;
    min-width: 40px;
    text-align: right;
}

.slider-group select {
    flex: 2;
    margin: 0 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
    color: #495057;
}

#devControls {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    margin-top: 10px;
    display: none; /* Hidden by default to prevent flash */
}

#devControls h3 {
    color: #856404;
}

#devControls.visible {
    display: block;
}

/* Audio visualizer styles */
.visualizer-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

/* Combined visualizer layout */
.combined-visualizer-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.combined-visualizer-container h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
    text-align: center;
}

.combined-visualizer-container .visualizer-container {
    margin-bottom: 0;
    width: 100%;
}

/* Make combined visualizer canvas stretch to full width */
#combinedVisualizer {
    width: 100%;
    height: 120px;
    display: block;
}


/* Modern slider styles */
.slider-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.background-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, 
        #e9ecef 0%, 
        #e9ecef var(--progress, 0%), 
        #667eea var(--progress, 0%), 
        #667eea 100%
    );
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.background-slider:hover {
    background: linear-gradient(to right, 
        #dee2e6 0%, 
        #dee2e6 var(--progress, 0%), 
        #5a67d8 var(--progress, 0%), 
        #5a67d8 100%
    );
}

.background-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.background-slider::-webkit-slider-thumb:hover {
    background: #5a67d8;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.background-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.6);
}

.background-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.background-slider::-moz-range-thumb:hover {
    background: #5a67d8;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.background-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    border: none;
}

.slider-value {
    text-align: center;
    margin-top: 5px;
}

.slider-value span {
    font-weight: 600;
    color: #495057;
    background: #e9ecef;
    padding: 6px 16px;
    border-radius: 8px;
    display: inline-block;
    min-width: 60px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

/* Remove focus outline for seamless design */
.background-slider:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .demo-interface {
        border: 2px solid #000;
    }
    
    .object-btn,
    .bg-btn,
    .control-btn {
        border-width: 3px;
    }
} 
/* Sound Mode Switch Container */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.switch-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    transition: color 0.3s ease;
    flex: 1;
    text-align: center;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider track */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #667eea;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* The slider thumb */
.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* When checked (Dynamic mode) */
input:checked + .slider {
    background-color: #28a745;
}

input:focus + .slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(102, 126, 234, 0.3);
    outline: none;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Label highlighting based on state */
.switch-container:has(input:not(:checked)) .switch-label:first-child {
    color: #667eea;
    font-weight: 600;
}

.switch-container:has(input:checked) .switch-label:last-child {
    color: #28a745;
    font-weight: 600;
}

/* Fallback for browsers without :has() support */
.switch-container .switch-label.active {
    color: #667eea;
    font-weight: 600;
}

.switch-container.checked .switch-label:first-child {
    color: #6c757d;
    font-weight: 500;
}

.switch-container.checked .switch-label:last-child {
    color: #28a745;
    font-weight: 600;
}

/* Mode description */
.mode-description {
    margin-top: 12px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mode-description-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #495057;
    margin: 0;
    text-align: left;
}

/* Basic mode styling for description */
body.basic-mode .mode-description {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

body.basic-mode .mode-description-text {
    color: #666;
}

/* Automotive Gear Shifter Styles */
.gear-shifter {
    position: relative;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

.gear-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.gear-position {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.gear-position:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gear-position.selected {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
}

.gear-position[data-gear="park"].selected {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
}

.gear-letter {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    min-width: 24px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.gear-position.selected .gear-letter {
    color: #dc3545;
}

.gear-position[data-gear="park"].selected .gear-letter {
    color: #28a745;
}

.gear-label {
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 500;
}

.gear-position.selected .gear-label {
    color: #fff;
    font-weight: 600;
}

.gear-selector {
    position: absolute;
    left: 8px;
    width: 4px;
    height: 40px; /* Match gear-position height (8px padding top + 24px content + 8px padding bottom) */
    background: linear-gradient(180deg, #28a745, #20c997); /* Default to park colors */
    border-radius: 2px;
    box-shadow: 
        0 0 8px rgba(40, 167, 69, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.3); /* Default to park glow */
    transition: all 0.3s ease;
    top: 18px; /* Start at Park position - align with first gear-position */
}

.gear-selector.park {
    background: linear-gradient(180deg, #28a745, #20c997);
    box-shadow: 
        0 0 8px rgba(40, 167, 69, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    top: 18px; /* Align with Park position */
}

.gear-selector.reverse {
    background: linear-gradient(180deg, #dc3545, #c82333);
    box-shadow: 
        0 0 8px rgba(220, 53, 69, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    top: 71px; /* Align with Reverse position (8px + 40px height + 12px gap) */
    animation: reverse-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes reverse-pulse {
    0% { 
        box-shadow: 
            0 0 8px rgba(220, 53, 69, 0.6),
            inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    100% { 
        box-shadow: 
            0 0 15px rgba(220, 53, 69, 0.9),
            inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
}

/* Park mode styling removed - controls remain fully interactive */

/* Dark theme for gear shifter in basic mode (no filters!) */
body.basic-mode .gear-shifter {
    background: linear-gradient(145deg, #495057, #343a40);
    border-color: #6c757d;
}

/* Password Protection Overlay */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.password-overlay.hidden {
    display: none;
}

.password-modal {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.password-modal h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.password-modal p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

#passwordInput {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
    font-family: inherit;
}

#passwordInput:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#passwordSubmit {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

#passwordSubmit:hover {
    background: #2980b9;
}

#passwordSubmit:active {
    transform: translateY(1px);
}

.password-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

.password-error.show {
    display: block;
}