.nobilem-aff {
    color: #1f2937;
}

.nobilem-aff-lead {
    max-width: 68ch;
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.nobilem-aff-pending {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    margin: 0 0 22px;
    padding: 12px 14px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 10px;
}

.nobilem-aff-pending__label {
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
}

.nobilem-aff-pending__amount {
    font-size: 18px;
    font-weight: 700;
    color: #134e4a;
}

.nobilem-aff-pending__note {
    color: #6b7280;
    font-size: 13px;
}

.nobilem-aff-section {
    margin: 0 0 22px;
}

.nobilem-aff-section h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.nobilem-aff-search {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 640px;
}

.nobilem-aff-search input[type="search"] {
    flex: 1 1 auto;
    width: auto !important;
    max-width: none !important;
    height: 42px !important;
    margin: 0 !important;
    float: none !important;
    padding: 0 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.nobilem-aff button.nobilem-aff-search__btn,
.nobilem-aff button.nobilem-aff-make,
.nobilem-aff button.nobilem-aff-copy,
.nobilem-aff button.nobilem-aff-share {
    float: none !important;
    margin: 0 !important;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.nobilem-aff button.nobilem-aff-search__btn,
.nobilem-aff button.nobilem-aff-make {
    height: 42px;
    padding: 0 16px;
    border: 0;
    background: #0f766e;
    color: #fff;
}

.nobilem-aff button.nobilem-aff-search__btn:hover,
.nobilem-aff button.nobilem-aff-make:hover {
    background: #115e59;
    color: #fff;
}

.nobilem-aff button.nobilem-aff-make:disabled {
    opacity: 0.6;
    cursor: wait;
}

.nobilem-aff-status {
    min-height: 1.2em;
    margin: 8px 0 0;
    font-size: 13px;
}

.nobilem-aff-status.is-error {
    color: #b91c1c;
}

.nobilem-aff-status.is-ok {
    color: #166534;
}

.nobilem-aff-hits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.nobilem-aff-hit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.nobilem-aff-hit__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nobilem-aff-hit__name {
    font-size: 14px;
}

.nobilem-aff-hit__price {
    color: #6b7280;
    font-size: 13px;
}

.nobilem-aff-empty {
    margin: 12px 0 0;
    padding: 14px;
    color: #6b7280;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
}

.nobilem-aff-table-wrap {
    overflow-x: auto;
}

.nobilem-aff-table {
    width: 100%;
    border-collapse: collapse;
}

.nobilem-aff-table th {
    padding: 8px 10px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
}

.nobilem-aff-table td {
    padding: 12px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.nobilem-aff-table td:nth-child(n+3) {
    text-align: right;
    white-space: nowrap;
}

.nobilem-aff-table th:nth-child(n+3) {
    text-align: right;
}

.nobilem-aff-url {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.nobilem-aff-url code {
    padding: 6px 8px;
    color: #111827;
    font-size: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    word-break: break-all;
}

.nobilem-aff button.nobilem-aff-copy,
.nobilem-aff button.nobilem-aff-share {
    height: 32px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
}

.nobilem-aff button.nobilem-aff-copy:hover,
.nobilem-aff button.nobilem-aff-share:hover {
    border-color: #0f766e;
    color: #0f766e;
}

@media (max-width: 720px) {
    .nobilem-aff-search,
    .nobilem-aff-hit {
        flex-direction: column;
        align-items: stretch;
    }
}
