body {
    font-family: 'Inter', sans-serif;
    background-color: #0c0a09;
    /* Add transition for the box-shadow */
    transition: box-shadow 0.5s ease-in-out;
}

/* New class for the glowing effect on the body */
body.body-glowing {
    box-shadow: 0 0 25px 5px rgba(255, 255, 255, 0.1), /* Outer subtle glow */
                inset 0 0 25px 5px rgba(236, 72, 153, 0.2); /* Inner pinkish hue from surprise me */
}

/* Style for BOTH disabled buttons */
#generate-btn:disabled, #surprise-me-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none; /* Remove hover effect */
    box-shadow: none; /* Remove existing shadow */
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #18181b;
}
::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}
.glass-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.page-content {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}
@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
.suggestion-loader {
    border: 2px solid #6b7280;
    border-top: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.suggestion-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.suggestion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.5);
}
.suggestion-btn .suggestion-loader-overlay {
    position: absolute;
    display: none;
}
.suggestion-btn.is-loading .suggestion-loader-overlay {
    display: block;
}
.suggestion-btn.is-loading .suggestion-text {
    visibility: hidden;
}
#generate-btn, #refine-btn, #surprise-me-btn, .cta-button {
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}
#generate-btn:hover, #refine-btn:hover, #surprise-me-btn:hover, .cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.8);
}

#prompt-output-container, #refine-section {
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Hide the original select elements that are being replaced */
.custom-select-parent select[multiple] {
    display: none;
}
.custom-multiselect-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0.75rem;
    border: 1px solid rgb(55 65 81); /* border-gray-700 */
    border-radius: 0.375rem; /* rounded-md */
    background-color: rgba(17, 24, 39, 0.5); /* bg-gray-900/50 */
    min-height: 120px;
    align-content: flex-start;
}
.multiselect-option {
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 9999px; /* rounded-full */
    background-color: #374151; /* bg-gray-700 */
    color: #d1d5db; /* text-gray-300 */
    font-size: 0.875rem; /* text-sm */
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}
.multiselect-option:hover {
    background-color: #4b5563; /* bg-gray-600 */
    border-color: #6366f1; /* border-indigo-500 */
}
.multiselect-option.selected {
    font-weight: 700; /* bold */
    background-color: #4f46e5; /* bg-indigo-600 */
    color: white;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}
select[multiple] {
    height: 120px;
}
.history-item.active {
    background-color: #4f46e5;
    color: white;
}
nav .nav-link.active {
    background-color: #4f46e5;
    color: #e0e7ff;
}
 nav .nav-link {
    transition: all 0.2s ease-in-out;
 }
nav .nav-link:hover {
    background-color: #3730a3;
    transform: translateY(-2px);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}
.demo-step {
    opacity: 0;
    transform: translateX(-20px);
    animation: demoFadeIn 0.5s ease-out forwards;
}
@keyframes demoFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
input[type="radio"]:checked + label {
    background-color: #4f46e5;
    border-color: #6366f1;
    color: #fff;
}


@keyframes dot-pulse {
    0%, 100% {
        transform: scale(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.dot-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4f46e5;
    animation: dot-pulse 1.4s infinite ease-in-out;
}

.ai-bot-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    width: 96px;
    height: 96px;
    border-radius: 0.75rem;
    transition: all 0.2s ease-in-out;
    background-color: #374151;
    padding: 0.75rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E5E7EB;
}

.ai-bot-btn:hover {
    background-color: #4B5563;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.ai-bot-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.ai-bot-name {
    font-size: 0.875rem;
    line-height: 1.25rem;
}