.prompt-input {
    color: #fff;
    cursor: pointer;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: 0.2s;
}

.prompt-input:hover {
    border-color: rgba(255, 255, 255, 1);
}

#app-input svg, #app-input-custom svg {
    height: 20px;
    padding-right: 6px;
    padding-bottom: 2px;
}

/* Hero-specific dropdown styles */
.hero-dropdown-container {
    position: relative;
}

.clickable-input {
    cursor: pointer;
}

/* Locked platform styling */
.prompt-input.locked-platform {
    cursor: default;
    border-bottom: none;
}

.prompt-input.locked-platform:hover {
    border-bottom: none;
}

.hero-custom-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    margin-top: 5px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Grid layout for platform dropdowns */
.hero-custom-dropdown.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px;
    max-height: none;
    overflow-y: visible;
    padding: 8px;
    width: auto;
    min-width: 400px;
    max-width: 600px;
}

.hero-custom-dropdown.platform-grid .hero-custom-dropdown-option {
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 6px;
    margin: 0;
    padding: 10px 12px;
}

.hero-custom-dropdown.dropdown-upwards {
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.hero-custom-dropdown-option {
    padding: 8px 16px;
    transition: background-color 0.2s;
}

.hero-custom-dropdown-option svg {
    width: 25px !important;
    padding-right: 6px !important;
}

.hero-custom-dropdown-option:hover {
    background-color: rgba(255,255,255,0.1) !important;
}

.hero-custom-dropdown-option:not(:hover) {
    background-color: transparent !important;
}

/* Mode Toggle Styles */
.prompt-mode-toggle {
    backdrop-filter: blur(10px);
    border-radius: 8px;
    overflow: hidden;
}

.prompt-mode-toggle .btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 10px 20px;
    font-weight: 500;
}

.prompt-mode-toggle .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

.prompt-mode-toggle .btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.prompt-mode-toggle .btn:first-child {
    border-right: none;
}

.prompt-mode-toggle .btn:last-child {
    border-left: none;
}

/* Custom Mode Styles */
.prompt-mode-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.prompt-mode-content.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.prompt-mode-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.custom-prompt-textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    resize: vertical;
    min-height: 50px;
    transition: all 0.3s ease;
}

.custom-prompt-textarea:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.custom-prompt-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .prompt-mode-toggle .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .custom-prompt-textarea {
        min-height: 80px;
    }
    
    /* Mobile responsive grid */
    .hero-custom-dropdown.platform-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        min-width: 320px;
        max-width: 90vw;
        padding: 6px;
        gap: 3px;
    }
    
    .hero-custom-dropdown.platform-grid .hero-custom-dropdown-option {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    /* Ensure all dropdowns stay within viewport on mobile */
    .hero-custom-dropdown {
        max-width: calc(100vw - 20px);
        left: 10px !important;
        right: 10px;
        width: auto;
    }
    
    /* Override specific positioning on mobile for better UX */
    .hero-custom-dropdown.platform-grid {
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%);
        max-width: calc(100vw - 40px);
    }
} 

.prompt-mode-content {
    min-height:152px;
}

@media (max-width: 992px) {
    .prompt-mode-content {
        min-height:280px;
        height:280px;
    }
}

/* Chat Mode Specific Styles */
#chat-content {
}

#chat-content .btn-lg {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#chat-content .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


.prompt-input {
    background-color: transparent;
    border: none;
    color: #fff;
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 5px;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    font: inherit;
    padding: 0;
    margin: 0;
    display: inline;
    transition: 0.2s;
}

.prompt-input:hover {
    text-decoration-color: rgba(255, 255, 255, 1);
}

.prompt-input:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    padding: 0 4px;
}

.prompt-input.placeholder-active {
    color: var(--bs-secondary-color) !important;
    opacity: 1; /* Override default opacity */
}