/* ===========================================
   Character Creation - Glassmorphism UI
   =========================================== */

:root {
    /* Main Colors */
    --bg-main: #3d4654;
    --bg-panel: rgba(30, 35, 45, 0.75);
    --bg-panel-solid: rgba(35, 40, 50, 0.9);
    --bg-input: rgba(255, 255, 255, 0.08);
    --bg-input-hover: rgba(255, 255, 255, 0.12);
    --bg-input-active: rgba(255, 255, 255, 0.15);

    /* Accent Colors */
    --accent-blue: #2563eb;
    --accent-blue-light: #3b82f6;
    --accent-blue-glow: rgba(37, 99, 235, 0.4);
    --accent-green: #22c55e;
    --accent-green-glow: rgba(34, 197, 94, 0.3);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-label: rgba(255, 255, 255, 0.5);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.15);

    /* Effects */
    --glass-blur: 12px;
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--accent-blue-glow);

    /* Error */
    --error-color: #ef4444;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: transparent;
    min-height: 100vh;
    color: var(--text-primary);
    overflow: hidden;
    font-size: 13px;
}

#app {
    width: 100%;
    height: 100vh;
    position: relative;
}

#app.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

/* ===========================================
   Phase Container
   =========================================== */
.phase {
    width: 100%;
    height: 100%;
    position: relative;
}

/* ===========================================
   PHASE 1: Character Info (Glassmorphism)
   =========================================== */
#phase-info {
    display: flex;
    flex-direction: column;
}

/* Info Header */
.info-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.info-header .header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-header .header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-glow);
}

.info-header .header-avatar svg {
    width: 22px;
    height: 22px;
}

.info-header .header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-text {
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 16px;
    background: var(--bg-input);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

/* Info Container */
.info-container {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Info Panel */
.info-panel {
    width: 100%;
    max-width: 480px;
    background: var(--bg-panel);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    padding: 32px;
    animation: panelFadeIn 0.4s ease-out;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Sections */
.info-section {
    margin-bottom: 28px;
}

.info-section:last-of-type {
    margin-bottom: 32px;
}

.info-section .section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-label);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Input Group */
.input-group {
    display: flex;
    gap: 16px;
}

.input-row {
    flex: 1;
}

.input-row label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-row input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
}

.input-row input[type="text"]::placeholder {
    color: var(--text-muted);
}

.input-row input[type="text"]:hover {
    background: var(--bg-input-hover);
    border-color: var(--border-light);
}

.input-row input[type="text"]:focus {
    border-color: var(--accent-blue);
    background: var(--bg-input-hover);
    box-shadow: 0 0 0 3px var(--accent-blue-glow);
}

.input-row input[type="text"].error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Error Message */
.error-message {
    display: block;
    font-size: 12px;
    color: var(--error-color);
    margin-top: 8px;
    min-height: 18px;
}

/* Gender Selector */
.gender-selector {
    display: flex;
    gap: 12px;
}

.gender-card {
    flex: 1;
    background: var(--bg-input);
    border: 2px solid var(--border-subtle);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.gender-card:hover {
    background: var(--bg-input-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.gender-card.selected {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-blue-glow);
}

.gender-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.gender-icon svg {
    width: 22px;
    height: 22px;
}

.gender-card.selected .gender-icon {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 16px var(--accent-blue-glow);
}

.gender-card span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.gender-card.selected span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Date Selector */
.date-selector {
    display: flex;
    gap: 12px;
}

.date-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-field label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-selector select,
.date-field select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.date-selector select:hover,
.date-field select:hover {
    background-color: var(--bg-input-hover);
    border-color: var(--border-light);
}

.date-selector select:focus,
.date-field select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-blue-glow);
}

.date-selector select option,
.date-field select option {
    background: #1a1a1f;
    color: var(--text-primary);
    padding: 10px;
}

/* Next Button (Phase 1) */
.next-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--accent-blue);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.next-btn .btn-arrow {
    width: 18px;
    height: 18px;
}

.next-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.next-btn:hover {
    background: var(--accent-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-blue-glow);
}

.next-btn:hover::before {
    left: 100%;
}

.next-btn:active {
    transform: translateY(0);
}

.next-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.next-btn:disabled:hover::before {
    left: -100%;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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


/* ===========================================
   PHASE 2: Appearance Customization
   =========================================== */
#phase-appearance {
    display: flex;
    flex-direction: column;
}

/* Header */
.appearance-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.header-btn:hover {
    background: var(--bg-input-hover);
    color: var(--text-primary);
}

.header-btn svg {
    width: 20px;
    height: 20px;
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.header-avatar svg {
    width: 24px;
    height: 24px;
}

.header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.save-btn {
    padding: 12px 32px;
    background: var(--accent-blue);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-glow);
}

.save-btn:hover {
    background: var(--accent-blue-light);
    transform: translateY(-1px);
    box-shadow: 0 0 30px var(--accent-blue-glow);
}

/* Category Sidebar */
.category-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 90;
}

.category-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-panel);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.category-btn:hover {
    background: var(--bg-input-hover);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.category-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: var(--shadow-glow);
}

.category-btn svg {
    width: 22px;
    height: 22px;
}

/* Panels Container */
.panels-container {
    position: fixed;
    top: 70px;
    left: 80px;
    right: 0;
    bottom: 60px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    pointer-events: none;
}

/* Panels */
.panel {
    width: 320px;
    max-height: 100%;
    overflow-y: auto;
    background: var(--bg-panel);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    pointer-events: auto;
}

.panel::-webkit-scrollbar {
    width: 6px;
}

.panel::-webkit-scrollbar-track {
    background: transparent;
}

.panel::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

.panel::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.left-panel {
    margin-right: auto;
}

.right-panel {
    margin-left: auto;
}

/* Panel Content */
.panel-content {
    padding: 16px;
}

.panel-content.hidden {
    display: none;
}

/* Panel Sections */
.panel-section {
    margin-bottom: 20px;
}

.panel-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-label);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Heritage Controls */
.heritage-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.heritage-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.heritage-slider label {
    width: 90px;
    font-size: 12px;
    color: var(--text-secondary);
}

.heritage-slider input[type="range"] {
    flex: 1;
}

.heritage-slider .slider-value {
    width: 35px;
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
}

/* Face Form Sliders */
.face-sliders {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.face-slider-group {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-input);
    border-radius: 12px;
    gap: 8px;
}

.vertical-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vertical-slider input[type="range"] {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 8px;
    height: 80px;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
}

.vertical-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vertical-slider .slider-icon {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.face-feature-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.feature-icon:hover {
    background: var(--bg-input-hover);
    color: var(--text-secondary);
}

.feature-icon.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

/* Hair Controls */
.hair-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hair-style-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-height: 120px;
    overflow-y: auto;
    padding: 4px;
}

.hair-style-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid transparent;
    background: var(--bg-input);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.hair-style-item:hover {
    background: var(--bg-input-hover);
    border-color: var(--border-light);
}

.hair-style-item.active {
    border-color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.2);
}

/* Color Swatches */
.color-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-row label {
    font-size: 11px;
    color: var(--text-muted);
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: white;
    box-shadow: 0 0 0 2px var(--accent-blue);
}

.eye-colors {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

/* Accessories Grid */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.accessory-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    border: 2px solid transparent;
    background: var(--bg-input);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.accessory-item:hover {
    background: var(--bg-input-hover);
    border-color: var(--border-light);
}

.accessory-item.active {
    border-color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.2);
}

.accessory-item svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
}

/* Eyebrow Grid */
.eyebrow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.eyebrow-item {
    width: 100%;
    aspect-ratio: 2/1;
    border-radius: 8px;
    border: 2px solid transparent;
    background: var(--bg-input);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.eyebrow-item:hover {
    background: var(--bg-input-hover);
    border-color: var(--border-light);
}

.eyebrow-item.active {
    border-color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.2);
}

/* Eye/Eyebrow Sliders */
.eye-sliders,
.eyebrow-sliders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eye-slider,
.eyebrow-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eye-slider label,
.eyebrow-slider label {
    width: 80px;
    font-size: 12px;
    color: var(--text-secondary);
}

.eye-slider input[type="range"],
.eyebrow-slider input[type="range"] {
    flex: 1;
}

.eye-slider .slider-value,
.eyebrow-slider .slider-value {
    width: 30px;
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
}

/* Body Sliders */
.body-sliders {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.body-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.body-slider label {
    width: 100px;
    font-size: 12px;
    color: var(--text-secondary);
}

.body-slider input[type="range"] {
    flex: 1;
}

.body-slider .slider-value {
    width: 30px;
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
}

/* Overlay Controls */
.overlay-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overlay-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.overlay-item label {
    font-size: 12px;
    color: var(--text-secondary);
}

.overlay-item input[type="range"] {
    width: 100%;
}

.overlay-item .opacity-slider {
    height: 4px;
}

/* Component Controls */
.component-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.component-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.component-item label {
    width: 80px;
    font-size: 12px;
    color: var(--text-secondary);
}

.component-item input[type="range"] {
    flex: 1;
}

.component-item .component-value {
    width: 40px;
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
}

/* Range Input Styling */
input[type="range"] {
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(0.95);
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--border-subtle);
    z-index: 100;
}

.bottom-left,
.bottom-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bottom-center {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Zoom Dropdown */
.zoom-dropdown {
    position: relative;
}

.zoom-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.zoom-btn:hover {
    background: var(--bg-input-hover);
    color: var(--text-primary);
}

.zoom-btn svg {
    width: 16px;
    height: 16px;
}

.zoom-btn .dropdown-arrow {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.zoom-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: var(--bg-panel-solid);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    min-width: 100%;
}

.zoom-menu.hidden {
    display: none;
}

.zoom-menu button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}

.zoom-menu button:hover {
    background: var(--bg-input-hover);
    color: var(--text-primary);
}

.zoom-menu button.active {
    background: var(--accent-blue);
    color: white;
}

/* Rotation Slider */
.range-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.rotation-slider {
    width: 300px;
}

/* Action Buttons */
.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.action-btn:hover {
    background: var(--bg-input-hover);
    color: var(--text-primary);
}

.action-btn.primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.action-btn.primary:hover {
    background: var(--accent-blue-light);
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 1200px) {
    .panel {
        width: 280px;
    }

    .rotation-slider {
        width: 200px;
    }
}

@media (max-width: 900px) {
    .panels-container {
        left: 60px;
        padding: 12px;
    }

    .panel {
        width: 250px;
    }

    .category-sidebar {
        left: 8px;
    }

    .category-btn {
        width: 40px;
        height: 40px;
    }

    /* Phase 1 responsive */
    .info-panel {
        max-width: 420px;
        padding: 24px;
    }

    .input-group {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    /* Phase 1 mobile */
    .info-header {
        padding: 0 16px;
    }

    .info-header .header-title {
        font-size: 14px;
    }

    .step-text {
        font-size: 11px;
        padding: 6px 12px;
    }

    .info-container {
        padding: 16px;
    }

    .info-panel {
        padding: 20px;
        border-radius: 16px;
    }

    .info-section {
        margin-bottom: 24px;
    }

    .gender-selector {
        gap: 10px;
    }

    .gender-card {
        padding: 16px 12px;
    }

    .gender-icon {
        width: 40px;
        height: 40px;
    }

    .gender-icon svg {
        width: 18px;
        height: 18px;
    }

    .gender-card span {
        font-size: 12px;
    }

    .date-selector {
        gap: 8px;
    }

    .date-field select {
        padding: 12px 14px;
    }

    .next-btn {
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    /* Phase 1 small mobile */
    .input-group {
        flex-direction: column;
    }

    .gender-selector {
        flex-direction: column;
    }

    .gender-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        text-align: left;
        padding: 14px 16px;
    }

    .gender-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .date-selector {
        flex-direction: column;
    }

    .date-field {
        width: 100%;
    }
}
