/**
 * Input Section Styles
 * Redesigned messaging bar with mobile-first approach
 */

/* ==========================================================================
   INPUT SECTION CONTAINER
   ========================================================================== */

.input-section {
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0;
    background: transparent;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.4);
    /* Allow standard touch interactions while preventing scroll bounce */
    touch-action: manipulation;
    overscroll-behavior: none;
}

/* Adjust main content to account for fixed input */
.main {
    padding-bottom: 0;
}

.input-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 16px 12px;
    position: relative;
    /* Allow text selection within wrapper */
    touch-action: pan-x pinch-zoom;
}

/* ==========================================================================
   DESKTOP STYLES - Floating bar
   ========================================================================== */

@media (min-width: 769px) {
    .input-section {
        position: fixed;
        bottom: 16px;
        left: calc(50% + 140px); /* Center in remaining space (sidebar is 280px) */
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 280px - 48px); /* Account for sidebar + padding */
        max-width: 720px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            0 8px 40px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.05) inset;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Sidebar collapsed - center in full viewport */
    body.sidebar-collapsed .input-section {
        width: calc(100% - 48px);
        left: 50%;
        max-width: 760px;
    }

    .main {
        padding-bottom: 0;
    }

    .input-wrapper {
        padding: 12px 16px 10px;
    }
}

/* ==========================================================================
   FILTERS PANEL (shown when filters button clicked)
   ========================================================================== */

.filters-panel {
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    opacity: 1;
    max-height: 200px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.filters-panel.hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding: 0;
    border: none;
    pointer-events: none;
}

.filters-panel-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 70px;
    flex-shrink: 0;
}

.filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.filter-pill.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(255, 0, 170, 0.25) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    color: white;
    animation: pillSelect 0.25s ease-out;
}

/* Pro Toggle Button */
.pro-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pro-toggle-btn svg {
    width: 14px;
    height: 14px;
}

.pro-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.pro-toggle-btn.active {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.3) 0%, rgba(255, 100, 0, 0.3) 100%);
    border-color: rgba(255, 170, 0, 0.5);
    color: #ffaa00;
}

.pro-toggle-btn.active svg {
    filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.8));
}

/* Chat Toggle Button (Think, Pro for chat) */
.chat-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-toggle-btn svg {
    width: 14px;
    height: 14px;
}

.chat-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.chat-toggle-btn.active {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(0, 212, 255, 0.3) 100%);
    border-color: rgba(138, 43, 226, 0.5);
    color: #a78bfa;
}

.chat-toggle-btn.active svg {
    filter: drop-shadow(0 0 6px rgba(138, 43, 226, 0.8));
}

/* Tone Toggle (Conversational / Serious) */
.tone-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 3px;
}

.tone-option {
    background: transparent;
    border: none;
    border-radius: 11px;
    padding: 5px 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tone-option:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tone-option.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(255, 0, 170, 0.25) 100%);
    color: white;
}

/* Mobile filters */
@media (max-width: 480px) {
    .filter-group-label {
        min-width: 55px;
        font-size: 10px;
    }

    .filter-pill {
        padding: 5px 10px;
        font-size: 11px;
    }

    .pro-toggle-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .chat-toggle-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .tone-option {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* ==========================================================================
   PROMPT CONTAINER
   ========================================================================== */

.prompt-container {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 8px 60px 8px 20px; /* Right padding reserves space for stacked buttons */
    transition: all 0.2s ease;
    position: relative;
}

.prompt-container:focus-within {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow:
        0 0 0 3px rgba(0, 212, 255, 0.1),
        0 4px 20px rgba(0, 212, 255, 0.1);
}

/* Create mode active state */
.prompt-container.create-mode {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow:
        0 0 0 1px rgba(0, 212, 255, 0.1),
        0 0 20px rgba(0, 212, 255, 0.1);
}

/* Pro mode shimmer */
.prompt-container.pro-mode {
    border-color: rgba(255, 170, 0, 0.4);
    box-shadow:
        0 0 0 1px rgba(255, 170, 0, 0.1),
        0 0 20px rgba(255, 170, 0, 0.1);
    animation: proModeShimmer 3s ease-in-out infinite;
}

@keyframes proModeShimmer {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 170, 0, 0.1),
            0 0 20px rgba(255, 170, 0, 0.1);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 170, 0, 0.2),
            0 0 30px rgba(255, 170, 0, 0.15);
    }
}

/* Prompt Input */
.prompt-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    font-size: 15px;
    font-family: inherit;
    color: white;
    resize: none;
    min-height: 24px;
    max-height: 150px;
    line-height: 1.5;
    overflow-y: auto;
    /* Allow vertical scrolling inside textarea */
    touch-action: pan-y;
}

.prompt-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.prompt-input:focus {
    outline: none;
}

/* Mobile input sizing - prevent iOS zoom */
@media (max-width: 480px) {
    .prompt-input {
        font-size: 16px;
        max-height: 100px;
    }
}

/* ==========================================================================
   SEND BUTTON
   ========================================================================== */

.send-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    /* Absolute positioning to stack with shuffle button */
    position: absolute;
    right: 8px;
    bottom: 8px;
}

.send-btn.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    animation: springIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

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

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

/* Loading state */
.send-btn.loading svg {
    display: none;
}

.send-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-sizing: border-box;
    flex-shrink: 0;
    transform-origin: center;
}

.send-btn.loading .spinner {
    display: block;
}

/* Disable hover/active transforms during loading to prevent spinner drift */
.send-btn.loading,
.send-btn.loading:hover,
.send-btn.loading:active {
    transform: scale(1);
}

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

/* Disabled state */
.send-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ==========================================================================
   SHUFFLE BUTTON
   ========================================================================== */

.shuffle-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    /* Absolute positioning to stack with send button */
    position: absolute;
    right: 8px;
    bottom: 8px;
}

.shuffle-btn.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.shuffle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

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

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

/* Loading state */
.shuffle-btn.loading svg {
    display: none;
}

.shuffle-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-sizing: border-box;
    flex-shrink: 0;
    transform-origin: center;
}

.shuffle-btn.loading .spinner {
    display: block;
}

/* Disable hover/active transforms during loading to prevent spinner drift */
.shuffle-btn.loading,
.shuffle-btn.loading:hover,
.shuffle-btn.loading:active {
    transform: scale(1);
}

/* Disabled state */
.shuffle-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Hide shuffle button completely (for utility personas) */
.shuffle-btn.hidden {
    display: none !important;
}

/* ==========================================================================
   BOTTOM ACTIONS ROW
   ========================================================================== */

.input-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 0;
}

.input-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.input-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.input-action-btn.active {
    background: rgba(0, 212, 255, 0.15);
    color: rgba(0, 212, 255, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.input-action-btn.hidden {
    display: none;
}

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

/* Speech-to-Text Mic Button States */
.input-action-btn.recording {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    animation: micPulse 1.5s ease-in-out infinite;
}

@keyframes micPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.input-action-btn.processing svg {
    display: none;
}

.input-action-btn .mic-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.input-action-btn.processing .mic-spinner {
    display: block;
}

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

/* ==========================================================================
   CREATE MODE TOGGLE
   ========================================================================== */

.create-mode-toggle {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.create-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.create-mode-toggle svg {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.create-mode-label {
    transition: all 0.2s ease;
}

/* Active state - create mode enabled */
.create-mode-toggle.active {
    background: linear-gradient(135deg,
        rgba(0, 212, 255, 0.25) 0%,
        rgba(255, 0, 170, 0.2) 100%
    );
    border-color: rgba(0, 212, 255, 0.5);
    color: white;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.create-mode-toggle.active svg {
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.8));
}


/* ==========================================================================
   MENTION AUTOCOMPLETE
   ========================================================================== */

.mention-autocomplete {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    margin-bottom: 8px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.mention-autocomplete.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mention-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.15s ease;
}

.mention-item:hover,
.mention-item.selected {
    background: rgba(0, 212, 255, 0.1);
}

.mention-item:first-child {
    border-radius: 15px 15px 0 0;
}

.mention-item:last-child {
    border-radius: 0 0 15px 15px;
}

.mention-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00d4ff 0%, #ff00aa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: white;
    overflow: hidden;
}

.mention-avatar.has-image {
    background: transparent;
}

.mention-avatar.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Type-specific avatar styles */
.mention-avatar.friend-type {
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
}

.mention-avatar.utility-type {
    border-radius: 8px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c4dff 100%);
}

.mention-info {
    flex: 1;
}

.mention-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.mention-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   ATTACHED IMAGES PREVIEW
   ========================================================================== */

.attached-images-preview {
    display: flex;
    gap: 8px;
    padding: 8px 0 12px;
    flex-wrap: wrap;
}

.attached-image-item {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.attached-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attached-image-item .remove-attached-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    padding: 0;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.attached-image-item:hover .remove-attached-btn {
    opacity: 1;
}

.attached-image-item .remove-attached-btn svg {
    width: 12px;
    height: 12px;
}

.attached-image-item .remove-attached-btn:hover {
    background: rgba(255, 60, 60, 0.9);
}

/* Mobile: always show remove button */
@media (max-width: 600px) {
    .attached-image-item {
        width: 56px;
        height: 56px;
    }

    .attached-image-item .remove-attached-btn {
        opacity: 1;
    }
}

/* ==========================================================================
   STATUS TEXT
   ========================================================================== */

.status-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding-top: 8px;
    min-height: 20px;
}

.status-text.error {
    color: #EF4444;
}

/* ==========================================================================
   LEGACY SUPPORT - Filters Modal (keeping for backwards compatibility)
   ========================================================================== */

.filters-modal {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    left: auto;
    background: rgba(20, 20, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
    min-width: 300px;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.filters-modal.open {
    display: block;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

/* Very small screens */
@media (max-width: 360px) {
    .input-wrapper {
        padding: 12px 12px 10px;
    }

    .prompt-container {
        padding: 6px 52px 6px 14px; /* Right padding for stacked buttons (38px + 8px + 6px) */
        border-radius: 20px;
    }

    .send-btn,
    .shuffle-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        right: 6px;
        bottom: 6px;
    }

    .input-action-btn {
        width: 32px;
        height: 32px;
    }

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

    .create-mode-toggle {
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

    .create-mode-label {
        display: none;
    }

    .create-mode-toggle svg {
        width: 14px;
        height: 14px;
    }
}

/* Safe area for devices with notches/home indicators */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .input-section {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ==========================================================================
   MOBILE KEYBOARD OPEN - COMPACT MODE
   ========================================================================== */

@media (max-width: 768px) {
    /* When keyboard is open, make input area compact and ensure it stays fixed */
    body.keyboard-open .input-section {
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
        padding-bottom: 0;
        /* Ensure input stays fixed at bottom even when scrolling with keyboard open */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /* Note: Removed transform: translateZ(0) - was causing cursor jump on iOS
           by creating a new stacking context that broke fixed positioning */
    }

    body.keyboard-open .input-wrapper {
        padding: 6px 12px 4px;
    }

    body.keyboard-open .prompt-container {
        border-radius: 18px;
        padding: 6px 52px 6px 14px; /* Right padding for stacked buttons */
    }

    body.keyboard-open .filters-panel {
        margin-bottom: 8px;
    }

    body.keyboard-open .input-actions-row {
        padding: 4px 0 0;
        gap: 6px;
    }

    body.keyboard-open .input-action-btn {
        width: 32px;
        height: 32px;
    }

    body.keyboard-open .input-action-btn svg {
        width: 16px;
        height: 16px;
    }

    body.keyboard-open .create-mode-toggle {
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

    body.keyboard-open .send-btn,
    body.keyboard-open .shuffle-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    /* Prevent chat container from scrolling under the input when keyboard is open */
    body.keyboard-open .chat-container {
        overflow-anchor: none;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .send-btn,
    .shuffle-btn,
    .create-mode-toggle,
    .filter-pill,
    .prompt-container,
    .filters-panel {
        transition: none;
    }

    .create-mode-toggle.active,
    .prompt-container.pro-mode {
        animation: none;
    }

    .create-mode-toggle::before {
        display: none;
    }
}

/* ==========================================================================
   HIDDEN UTILITY CLASS
   ========================================================================== */

.hidden {
    display: none !important;
}
