/* Minimal custom styles to complement Tailwind */

/* Smooth transitions on interactive elements */
a, button {
    transition: color 0.15s, background-color 0.15s, border-color 0.15s, opacity 0.15s;
}

/* Form inputs — consistent look */
.form-input {
    display: block;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #111827;
    background-color: #fff;
    outline: none;
}

.form-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #111827;
}

.form-input.error {
    border-color: #fca5a5;
}

.form-input.error:focus {
    box-shadow: 0 0 0 2px #ef4444;
}

/* Textarea */
textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* Copy-to-clipboard toast */
#copy-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background: #111827;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 50;
}

#copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
