/* ==========================================================================
   AI Watermark Remover (/free-tools/ai-watermark-remover)
   Builds on free-tools.css: form, buttons, result cards, CTA, FAQ come from
   there. This file only adds the scan strip, the report, the locked result
   with its email gate, and the long-form sections.
   ========================================================================== */

.wm-form-container { max-width: 760px; }
.wm-form-container textarea { min-height: 220px; font-size: 0.95rem; line-height: 1.55; }

.wm-scan-strip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #555;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    margin: -0.25rem 0 1rem;
}
.wm-scan-dot { width: 8px; height: 8px; border-radius: 50%; background: #bbb; flex-shrink: 0; }
.wm-scan-strip.wm-clean .wm-scan-dot { background: #16a34a; }
.wm-scan-strip.wm-found .wm-scan-dot { background: #e11d2a; }

.wm-results { max-width: 760px; }
.wm-report-grid {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.6rem;
}
.wm-report-grid li { background: #f7f7f7; border-radius: 10px; padding: 0.7rem 0.8rem; }
.wm-report-num { display: block; font-size: 1.4rem; font-weight: 800; color: #1a1a1a; line-height: 1.1; }
.wm-report-label { font-size: 0.78rem; color: #666; }
.wm-report-details { overflow-x: auto; }
.wm-report-details table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.wm-report-details th, .wm-report-details td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid #eee; vertical-align: top; }
.wm-report-details th { font-weight: 600; color: #444; }
.wm-report-details code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.8rem; background: #f3f3f3; padding: 0.1rem 0.35rem; border-radius: 4px; }
.wm-report-empty { font-size: 0.9rem; color: #555; margin: 0; }
.wm-report-tells { font-size: 0.85rem; color: #555; margin: 0.75rem 0 0; }

.wm-text-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.wm-text-head h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: #1a1a1a; }
.wm-words { font-size: 0.8rem; color: #777; margin-left: auto; }
.wm-text-card .ft-copy-btn { position: static; }
/* free-tools.css sets display:inline-flex on .ft-copy-btn, which outranks the
   user agent's [hidden] rule, so the button stayed visible while the result was
   still locked. Same for the lock card once the text is unlocked. */
.wm-text-card .ft-copy-btn[hidden], .wm-lock[hidden] { display: none !important; }
.wm-text-card .ft-result-text { min-height: 2rem; }

.wm-lock { position: relative; margin-top: -3.25rem; padding-top: 3.25rem; }
.wm-lock-fade { position: absolute; left: 0; right: 0; top: 0; height: 3.25rem; background: linear-gradient(rgba(255, 255, 255, 0), #fff 80%); }
.wm-lock-card { background: #111; color: #fff; border-radius: 12px; padding: 1.5rem; text-align: center; }
.wm-lock-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.35rem; color: #fff; }
.wm-lock-sub { color: #bbb; font-size: 0.9rem; margin: 0 0 1rem; line-height: 1.5; }
/* styles.css puts a global flex-direction: column on forms, so this has to say
   row out loud or the input and the button stack on desktop. */
.wm-lock-form { display: flex; flex-direction: row; align-items: stretch; gap: 0.5rem; max-width: 460px; margin: 0 auto; }
.wm-lock-form input {
    flex: 1;
    min-width: 0;
    /* styles.css gives every email input a 10px right margin; the flex gap is
       already doing that job here. */
    margin-right: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #1c1c1c;
    color: #fff;
}
.wm-lock-form input::placeholder { color: #888; }
.wm-lock-form button {
    padding: 0.8rem 1.1rem;
    border: none;
    border-radius: 8px;
    background: #e11d2a;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
}
.wm-lock-form button:disabled { background: #666; cursor: not-allowed; }
.wm-lock-error { color: #fca5a5; font-size: 0.85rem; min-height: 1.2em; margin: 0.6rem 0 0; }
.wm-lock-fine { color: #888; font-size: 0.78rem; margin: 0.6rem 0 0; }

.wm-section p, .wm-section li { font-size: 0.95rem; line-height: 1.7; color: #333; }
.wm-section p { margin: 0 0 1rem; }
.wm-section h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 0.4rem; color: #1a1a1a; }
.wm-section ul, .wm-section ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.wm-section li { margin-bottom: 0.4rem; }
.wm-kinds { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.wm-kinds li { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 1rem 1.1rem; margin: 0; }
.wm-kinds strong { display: block; margin-bottom: 0.25rem; color: #1a1a1a; }
.wm-codes li code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.82rem; background: #f3f3f3; padding: 0.1rem 0.35rem; border-radius: 4px; }

@media (max-width: 600px) {
    .wm-lock-form { flex-direction: column; }
    .wm-lock-card { padding: 1.25rem 1rem; }
}

/* styles.css has no visually-hidden helper, and this file only loads here. */
.wm-lock-card .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
