/* ==========================================================================
   US People Search - phone.css
   Reverse-phone page only: Blacklist Status panel, report row, litigator
   banner. Loads after common.css and depends on its tokens.

   Contract: .tcpa-value elements are addressed by numeric index in
   phone-lookup.js; nothing here changes their count or order.
   ========================================================================== */

/* --- Blacklist Status panel ---------------------------------------------- */

.tcpa {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: var(--s-3) 0;
    font-size: 18px;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 0;
    border-left: 3px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow-panel);
    transition: border-color var(--t-base) ease, opacity var(--t-base) ease;
}

/* any flagged row: a red left edge only, never a washed panel */
#tcpa.warn {
    border-left-color: var(--red-mid);
}

/* lookup failed / unreachable: dim the panel */
#tcpa.ie {
    opacity: 0.55;
    border-left-color: var(--line-strong);
}

.tcpa-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    min-height: 44px;
    border-bottom: 1px solid var(--line);
}

.tcpa-row:last-child {
    border-bottom: 0;
}

.tcpa-label {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--font-bold);
    font-size: 18px;
    line-height: 24px;
    color: var(--navy);
    white-space: nowrap;
}

.tcpa-label sub {
    vertical-align: baseline;
    position: relative;
    top: 1px;
    margin-left: 5px;
    font-family: var(--font) !important;
    font-size: 12px !important;
    font-weight: normal !important;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.tcpa-value {
    flex: 0 1 auto;
    font-family: var(--font-bold);
    font-size: 18px;
    line-height: 24px;
    color: var(--navy);
    text-align: right;
}

.tcpa-value.safe {
    color: var(--green);
}

.tcpa-value.alert {
    color: var(--red-mid);
}

/* --- Report row ----------------------------------------------------------- */
/* Ported verbatim from the legacy phone-lookup.css (the owner's reference
   "old report button"): navy gradient fill drawn by ::before/::after, the red
   background showing through the 1px transparent border as a keyline, white
   Poppins label, icon pinned left and loader pinned right. Only the wrapper
   chrome and the stacking breakpoint are v2. */

@font-face {
    font-family: "Poppins-Medium";
    src: url("/font/Poppins-Medium.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
}

.input-form.report-container {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin-bottom: 0;
}

form.report {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    row-gap: 10px;
    column-gap: 10px;
    flex-wrap: wrap;
}

form.report > * {
    flex: 1 1 auto;
    min-width: 0;
}

form.report input[type="text"],
form.report select {
    font-family: "Poppins-Medium", sans-serif;
    font-size: 16px;
    line-height: 18px;
    color: var(--navy-3);
    background-color: rgba(255, 255, 255, 0.376);
    padding: 5px 12px;
    width: 200px;
    max-width: none;
    min-height: 40px;
    border: 1px solid #b3b3b3a0;
    border-radius: 0;
    outline: none;
    box-shadow: 0px 1px 2px #849bb400 inset;
    transition: all .15s ease-in-out;
}

form.report input[type="text"]::placeholder {
    color: #9494945b;
}

form.report select {
    -webkit-appearance: none;
    appearance: none;
    user-select: none;
    background-image: url(/icon/drop-down-arrow.svg);
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px 12px;
    background-color: #F3F6F8;
    position: relative;
    padding-right: 40px;
    cursor: pointer;
}

form.report input[type="text"]:focus,
form.report select:focus {
    border: 1px solid #849bb4db !important;
    outline: none;
    box-shadow: 0 0 3px 0 #849bb4c8 inset !important;
}

/* the JS stamps .invalid on #report-phone-input / #reason-input */
form.report input[type="text"].invalid,
form.report select.invalid {
    box-shadow: 0 0 4px inset rgb(255, 0, 0) !important;
    border-color: transparent !important;
}

form.report input[type="text"][readonly] {
    background-color: var(--tint-2);
}

form.report .submit-label {
    user-select: none;
    padding: 5px 30px;
    border: 1px solid transparent;
    background: #fa2121c9;
    min-width: 130px;
    width: 20%;
    max-width: 130px;
    height: 40px;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    cursor: pointer;
    z-index: 1;
    transition: all 0.15s ease-in-out;
}

form.report .submit-label::before,
form.report .submit-label::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: all 0.15s ease-in-out;
    z-index: -1;
}

form.report .submit-label::before {
    background-image: linear-gradient(to right, #487aabf3, #487aabc7, #487aaba2);
    opacity: 1;
}

form.report .submit-label::after {
    background-image: linear-gradient(to left, #487aabf3, #487aabc7, #487aaba2);
    opacity: 0;
}

form.report .submit-label:hover::before {
    opacity: 0;
}

form.report .submit-label:hover::after {
    opacity: 1;
}

form.report .submit-label .report-icon,
form.report .submit-label .loader-icon {
    padding: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    align-self: center;
    transition: all 0.5s ease-in-out;
}

form.report .submit-label .report-icon {
    width: 35px;
    height: 35px;
    left: 0;
}

form.report .submit-label .loader-icon {
    opacity: 0;
    width: 30px;
    height: 30px;
    right: 0;
}

form.report input[type="submit"] {
    color: whitesmoke;
    font-family: "Poppins-Medium", sans-serif;
    font-size: 15px;
    line-height: 18px;
    font-weight: bold;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

/* the legacy .disabled-btn greyed the control; keep that read here rather
   than the common.css opacity fade so the gradient stays intact */
form.report .submit-label.disabled-btn {
    filter: grayscale(0.6);
    opacity: 1;
    cursor: not-allowed !important;
}

form.report .submit-label.disabled-btn:hover::before {
    opacity: 1;
}

form.report .submit-label.disabled-btn:hover::after {
    opacity: 0;
}

/* The litigator banner (.cx-litigator / .litigator / .litigator-confirmed) is
   emitted by phone-lookup.js only, but it is part of the shared card system,
   so its rules live in common.css next to the other card rules. */

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 640px) {
    .tcpa {
        padding: 0 var(--s-3);
        font-size: 17px;
    }

    .tcpa-row {
        min-height: 42px;
    }

    .tcpa-label,
    .tcpa-value {
        font-size: 17px;
    }

    .tcpa-label sub {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    /* stack: field, reason, then the (old-size) Report control right-aligned */
    form.report {
        flex-direction: column;
        align-items: stretch;
    }

    form.report input[type="text"],
    form.report select {
        width: 100%;
    }

    form.report .submit-label {
        flex: 0 0 auto;
        width: 130px;
        align-self: flex-end;
    }
}

/* tuning pass 2026-09-26: bigger, tighter, weight pinned to the declared 600 */
.tcpa-label, .tcpa-value { font-family: var(--font-bold); font-weight: 600; font-size: 19px; line-height: 22px; }
.tcpa-row { min-height: 42px; }

/* 2026-09-26: row density like the old table (22px line + 4px padding each side). Lives here because
   phone.css loads after common.css and would otherwise re-assert the 42-44px floor. */
.tcpa-row { min-height: 0; padding: 4px var(--s-4); }
@media (max-width: 640px) { .tcpa-row { padding: 4px var(--s-3); } }
