/**
 * ATOMIC DESIGN: Input Atoms
 * Form inputs with consistent styling across the site
 */

/* AI-style input (rounded, with inline submit button) */
.ai-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ai-input {
    flex: 1;
    border: 2px solid var(--dq-gray-300);
    border-radius: 1.5rem;
    padding: 0.75rem 3.5rem 0.75rem 1.25rem;
    font-size: 0.95rem;
    background-color: white;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ai-input:focus {
    background-color: white;
    border-color: var(--dq-primary);
    box-shadow: 0 2px 6px rgba(51, 102, 153, 0.15);
    outline: none;
}

.ai-input::placeholder {
    color: var(--dq-gray-400);
    font-style: italic;
}

.ai-submit-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--dq-primary);
    padding: 0;
    opacity: 0.3;
    transition: all 0.2s ease;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-submit-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: var(--dq-gray-400);
}

.ai-submit-btn.active {
    opacity: 1;
    cursor: pointer;
    color: var(--dq-primary);
}

.ai-submit-btn.active:hover {
    color: var(--dq-primary-dark);
    transform: scale(1.1);
}

.ai-submit-btn i {
    font-size: 1.1rem;
}

/* Standard form control (already in socket.css as dq-form-control) */
/* This is just a reference - actual styles in socket.css */
