/* Shared input styling for TaxCommPro.
   Use .tc-money-wrap for the [$ ___] composite (prefix + neutral inner input).
   Use .tc-input on a plain input/textarea to give it the same branded focus
   ring as the wrapper, so the two read identically when shown side-by-side. */

.tc-money-wrap,
.tc-input {
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.tc-input {
    width: 100%;
    padding: 7px 10px;
}

.tc-input:focus,
.tc-input:focus-visible {
    outline: none;
    border-color: #2e67ea;
    box-shadow: 0 0 0 1px #2e67ea;
}

.tc-money-wrap {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.tc-money-wrap:focus-within {
    outline: none;
    border-color: #2e67ea;
    box-shadow: 0 0 0 1px #2e67ea;
}

.tc-money-wrap > .tc-money-prefix {
    color: #9ca3af;
    font-size: 13px;
    margin-right: 4px;
}

.tc-money-wrap > input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 7px 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    background: transparent;
}

.tc-money-wrap > input,
.tc-money-wrap > input:focus,
.tc-money-wrap > input:focus-visible {
    outline: none;
    box-shadow: none;
}

.tc-money-wrap > input::-webkit-outer-spin-button,
.tc-money-wrap > input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tc-money-wrap > input[type='number'] {
    -moz-appearance: textfield;
}
