/* shared/css/tool_gate.css — locked-tool and locked-dropzone states.
   Pairs with shared/js/tool_gate.js. */

.tool-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 97800; /* below ModelProgress (97900), above page chrome */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}

body.tool-gate-locked {
    overflow: hidden;
}

.tool-gate {
    max-width: 460px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.18);
    text-align: center;
}

.tool-gate__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.6rem;
}

.tool-gate__body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 1.4rem;
}

.tool-gate__cta {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.tool-gate__cta:hover {
    background: #1e40af;
}

.tool-gate__secondary {
    display: block;
    margin-top: 0.85rem;
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
}

/* Locked dropzones are styled by main.css (.dropzone.upload-locked), which
   auth_tracking.js drives. Nothing for this file to do. */

@media (prefers-reduced-motion: reduce) {
    .tool-gate-overlay {
        backdrop-filter: none;
    }
}
