.checklist-generator-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#checklist-generator-form {
    width: 100%;
    max-width: 680px;
}

.checklist-generator-input-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

#checklist-generator-prompt {
    flex: 1;
    background-color: white !important;
    border: 2px solid #d1d5db !important;
    border-radius: 10px !important;
    color: #111 !important;
    font-size: 16px;
    padding: 13px 18px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none !important;
    height: unset !important;
}

#checklist-generator-prompt:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

#checklist-submit-btn {
    flex-shrink: 0;
    background-color: #2563eb;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

#checklist-submit-btn:hover {
    background-color: #1d4ed8;
}

#checklist-submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* Status messages */
#checklist-generator-status {
    width: 100%;
    max-width: 680px;
    text-align: center;
    box-sizing: border-box;
}

.checklist-generator-status {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.6;
    display: block;
}

.checklist-generator-status--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.checklist-generator-status--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.checklist-generator-status--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.checklist-generator-status p {
    margin: 0;
}

/* Spinner */
.spinner {
    display: block;
    width: 36px;
    height: 36px;
    border: 3px solid #bfdbfe;
    border-radius: 50%;
    border-top-color: #2563eb;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
