/**
 * WIZ v2: Sales Rep Search Widget
 */

/* ── Wrapper ─────────────────────────────────────────────────────────── */
.wiz-srs {
    box-sizing: border-box;
    font-family: var(--wiz-font-family, inherit);
}

.wiz-srs *,
.wiz-srs *::before,
.wiz-srs *::after {
    box-sizing: inherit;
}

/* ── Text ────────────────────────────────────────────────────────────── */
.wiz-srs__title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.wiz-srs__subtitle {
    font-size: 0.9375rem;
    color: #666;
    margin: 0 0 32px;
    line-height: 1.5;
}

/* ── Input ───────────────────────────────────────────────────────────── */
.wiz-srs__input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ccc;
    background: #fff;
    color: #1a1a1a;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    margin-bottom: 0;
    appearance: none;
    -webkit-appearance: none;
}

.wiz-srs__input:focus {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.wiz-srs__input--error {
    border-color: #cc2222 !important;
    box-shadow: 0 0 0 2px rgba(204, 34, 34, 0.12) !important;
}

.wiz-srs__input::placeholder {
    color: #aaa;
}

/* ── Validation error (below input) ──────────────────────────────────── */
.wiz-srs__error {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    color: #cc2222;
    font-size: 14px;
    line-height: 1.4;
}

.wiz-srs__error[hidden] {
    display: none;
}

/* ── Button ──────────────────────────────────────────────────────────── */
.wiz-srs__button {
    display: inline-block;
    margin-top: 12px;
    padding: 16px 24px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.18s ease, opacity 0.18s ease;
    text-transform: uppercase;
}

.wiz-srs__button--full-width {
    display: block;
    width: 100%;
    text-align: center;
}

.wiz-srs__button:hover:not(:disabled) {
    background-color: #333;
}

.wiz-srs__button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
