/*
 * catalog/static/catalog/css/name_check.css
 * Hover/focus effects externalised from templates/catalog/services/name_check_chat_enabled.html
 * (CSP migration — onmouseover/onmouseout/onfocus/onblur replaced with :hover/:focus classes).
 */

/* Chat input textarea. The resting border colour was declared inline via the `border`
   shorthand (specificity trap) — moved here so the :focus rule can override it. */
.chat-input-textarea-name-check {
    border: 2px solid #e5e7eb;
}
.chat-input-textarea-name-check:focus {
    border-color: #311b92;
}

/* Chat send button. The resting background was declared inline (specificity trap) — moved
   here so the :hover rule can override it. */
.nc-send-btn {
    background: #FFB300;
    transform: translateY(0);
}
.nc-send-btn:hover {
    background-color: #ffc233;
    transform: translateY(-1px);
}

/* Simple lift buttons/links — transform only, no resting-value collision. */
.nc-lift-sm {
    transform: translateY(0);
}
.nc-lift-sm:hover {
    transform: translateY(-2px);
}

/* Guidance library links — lift + shadow, no resting-value collision. */
.nc-lift-sm-bs {
    transform: translateY(0);
    box-shadow: none;
}
.nc-lift-sm-bs:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(49, 27, 146, 0.3);
}

/* Outline button whose hover only tints the (unset) background. */
.nc-lift-bg {
    background: transparent;
}
.nc-lift-bg:hover {
    background: rgba(49, 27, 146, 0.08);
}

/* Package cards. The resting box-shadow was declared inline (specificity trap) — moved
   here so the :hover rule can override it. */
.nc-card-lift {
    transform: translateY(0);
    box-shadow: 0 8px 32px rgba(49, 27, 146, 0.2);
}
.nc-card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(49, 27, 146, 0.3);
}

/* "Complete the Setup Form" links. */
.nc-btn-glow-70:hover {
    box-shadow: 0 4px 20px rgba(76, 81, 191, 0.7);
}
