:root {
    --nw-primary: #2563eb;
    --nw-dark: #0f172a;
    --nw-muted: #64748b;
    --nw-bg: #f5f7fb;
    --nw-border: #e2e8f0;
}

body {
    background: var(--nw-bg);
    color: var(--nw-dark);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nw-public-header {
    background: #ffffff;
    border-bottom: 1px solid var(--nw-border);
    padding: 16px 0;
}

.nw-public-brand {
    font-size: 24px;
    font-weight: 850;
    color: var(--nw-dark);
    text-decoration: none;
}

.nw-public-brand span {
    color: var(--nw-primary);
}

.nw-public-footer {
    padding: 28px 0;
    color: var(--nw-muted);
    text-align: center;
}

.nw-supplier-hero {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid var(--nw-border);
}

.nw-supplier-banner {
    height: 280px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    background-size: cover;
    background-position: center;
}

.nw-supplier-profile {
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

.nw-supplier-logo {
    width: 135px;
    height: 135px;
    border-radius: 26px;
    border: 6px solid #ffffff;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .18);
}

.nw-supplier-logo-placeholder {
    width: 135px;
    height: 135px;
    border-radius: 26px;
    border: 6px solid #ffffff;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .18);
}

.nw-public-card {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.nw-public-muted {
    color: var(--nw-muted);
}

.nw-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    background: #dbeafe;
    color: #1d4ed8;
}

.nw-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}

.nw-supplier-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nw-contact-item {
    margin-bottom: 16px;
}

.nw-contact-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--nw-dark);
    margin-bottom: 2px;
}

.nw-contact-value {
    color: var(--nw-muted);
    word-break: break-word;
}

.nw-service-empty {
    border: 1px dashed var(--nw-border);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    color: var(--nw-muted);
    background: #f8fafc;
}

.nw-supplier-banner {
    height: 240px;
}

@media (max-width: 768px) {
    .nw-supplier-profile .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .nw-supplier-profile {
        margin-top: -55px;
    }

    .nw-supplier-banner {
        height: 200px;
    }
}

.nw-supplier-banner::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, .45), rgba(15, 23, 42, .08));
}

.nw-supplier-banner {
    position: relative;
    overflow: hidden;
}

.nw-supplier-profile-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--nw-border);
    padding-bottom: 24px;
}

.nw-supplier-profile-content {
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.nw-supplier-title-area {
    padding-bottom: 8px;
}

.nw-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.nw-status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.nw-status-badge.blocked,
.nw-status-badge.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.nw-status-badge.pending .nw-status-dot {
    background: #f59e0b;
}

.nw-status-badge.active .nw-status-dot {
    background: #16a34a;
}

.nw-status-badge.blocked .nw-status-dot,
.nw-status-badge.cancelled .nw-status-dot {
    background: #dc2626;
}

.nw-quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.nw-quick-info-item {
    background: #f8fafc;
    border: 1px solid var(--nw-border);
    border-radius: 16px;
    padding: 16px;
}

.nw-quick-info-label {
    font-size: 12px;
    color: var(--nw-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

.nw-quick-info-value {
    font-weight: 800;
    color: var(--nw-dark);
}

.nw-contact-card {
    position: sticky;
    top: 24px;
}

.nw-main-cta {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 800;
    margin-bottom: 18px;
}

.nw-contact-separator {
    margin: 20px 0;
}

.nw-empty-title {
    font-weight: 800;
    color: var(--nw-dark);
    margin-bottom: 6px;
}

.nw-empty-text {
    color: var(--nw-muted);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .nw-quick-info {
        grid-template-columns: 1fr;
    }

    .nw-contact-card {
        position: static;
    }
}

.nw-supplier-profile-content {
    margin-top: -64px;
    position: relative;
    z-index: 3;
}

.nw-supplier-main-info {
    display: flex;
    align-items: flex-end;
    gap: 28px;
}

.nw-quick-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
    margin-left: 163px;
}

.nw-quick-info-item {
    background: #f8fafc;
    border: 1px solid var(--nw-border);
    border-radius: 16px;
    padding: 16px 18px;
}

.nw-quick-info-label {
    font-size: 12px;
    color: var(--nw-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 5px;
}

.nw-quick-info-value {
    font-weight: 800;
    color: var(--nw-dark);
}

@media (max-width: 992px) {
    .nw-supplier-main-info {
        align-items: flex-start;
        flex-direction: column;
    }

    .nw-quick-info {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
}

.nw-search-hero {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 70px 0 40px;
    border-bottom: 1px solid var(--nw-border);
}

.nw-public-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--nw-primary);
    font-weight: 800;
    font-size: 13px;
    padding: 8px 14px;
}

.nw-search-box {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
}

.nw-supplier-card {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
    transition: .2s ease;
}

.nw-supplier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, .1);
}

.nw-supplier-card-banner {
    height: 92px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    background-size: cover;
    background-position: center;
}

.nw-supplier-card-body {
    padding: 20px;
}

.nw-supplier-card-logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
    background: #ffffff;
    margin-top: -36px;
}

.nw-supplier-card-logo-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    border: 3px solid #ffffff;
    background: var(--nw-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-top: -36px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
}

.nw-supplier-card-description {
    color: var(--nw-muted);
    font-size: 14px;
    min-height: 44px;
    margin-bottom: 16px;
}

.nw-supplier-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nw-supplier-card-services span {
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.nw-home-hero {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(22, 163, 74, .12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 86px 0 64px;
    border-bottom: 1px solid var(--nw-border);
}

.nw-home-title {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--nw-dark);
}

.nw-home-subtitle {
    color: var(--nw-muted);
    font-size: 18px;
    max-width: 680px;
}

.nw-home-search-card {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
}

.nw-home-panel {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
}

.nw-home-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.nw-home-panel-title {
    font-weight: 900;
    color: var(--nw-dark);
    font-size: 20px;
}

.nw-home-stat-list {
    display: grid;
    gap: 14px;
}

.nw-home-stat-item {
    background: #f8fafc;
    border: 1px solid var(--nw-border);
    border-radius: 18px;
    padding: 18px;
}

.nw-home-stat-item strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: var(--nw-dark);
}

.nw-home-stat-item span {
    display: block;
    margin-top: 6px;
    color: var(--nw-muted);
    font-weight: 700;
}

.nw-home-panel-cta {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--nw-border);
}

.nw-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.nw-category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 22px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .05);
    transition: .2s ease;
}

.nw-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, .09);
    border-color: rgba(37, 99, 235, .35);
}

.nw-category-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--nw-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.nw-home-how {
    background: #f8fafc;
    border-top: 1px solid var(--nw-border);
    border-bottom: 1px solid var(--nw-border);
    padding: 70px 0;
}

.nw-how-card {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 24px;
    padding: 26px;
    height: 100%;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .05);
}

.nw-how-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--nw-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.nw-home-cta {
    padding: 24px 0 70px;
}

.nw-home-cta-box {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .16), transparent 28%),
        #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 28px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
}

@media (max-width: 992px) {
    .nw-section-head,
    .nw-home-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .nw-home-hero {
        padding: 60px 0 44px;
    }
}

.nw-register-hero {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 72px 0 42px;
    border-bottom: 1px solid var(--nw-border);
}

.nw-auth-page {
    min-height: calc(100vh - 82px);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(22, 163, 74, .12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 76px 0;
}

.nw-auth-intro {
    max-width: 620px;
}

.nw-auth-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--nw-dark);
    font-weight: 900;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.nw-auth-title {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--nw-dark);
    font-weight: 900;
}

.nw-auth-subtitle {
    color: var(--nw-muted);
    font-size: 18px;
    max-width: 560px;
}

.nw-auth-benefits {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.nw-auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--nw-border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.nw-auth-benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 auto;
}

.nw-auth-benefit strong {
    display: block;
    color: var(--nw-dark);
    font-weight: 900;
    margin-bottom: 2px;
}

.nw-auth-benefit span {
    display: block;
    color: var(--nw-muted);
    font-size: 14px;
}

.nw-auth-card {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .12);
}

.nw-auth-card-title {
    color: var(--nw-dark);
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.nw-auth-input {
    min-height: 48px;
    border-radius: 14px;
    border-color: var(--nw-border);
}

.nw-auth-input:focus {
    border-color: var(--nw-primary);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12);
}

.nw-auth-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 800;
}

.nw-auth-small-link {
    color: var(--nw-primary);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
}

.nw-auth-small-link:hover {
    text-decoration: underline;
}

.nw-auth-divider {
    position: relative;
    text-align: center;
    margin: 26px 0;
}

.nw-auth-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: var(--nw-border);
}

.nw-auth-divider span {
    position: relative;
    background: #ffffff;
    color: var(--nw-muted);
    font-size: 13px;
    font-weight: 800;
    padding: 0 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (max-width: 992px) {
    .nw-auth-page {
        padding: 46px 0;
    }

    .nw-auth-card {
        padding: 24px;
        border-radius: 24px;
    }

    .nw-auth-benefits {
        margin-bottom: 10px;
    }
}

.nw-register-option-card {
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
    transition: .2s ease;
}

.nw-register-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 72px rgba(15, 23, 42, .12);
}

.nw-register-option-card.featured {
    border-color: rgba(22, 163, 74, .35);
    background:
        radial-gradient(circle at top right, rgba(22, 163, 74, .12), transparent 28%),
        #ffffff;
}

.nw-register-option-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #eff6ff;
    color: var(--nw-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 18px;
}

.nw-register-option-icon.success {
    background: #dcfce7;
    color: #166534;
}

.nw-register-option-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.nw-register-option-list div {
    background: #f8fafc;
    border: 1px solid var(--nw-border);
    border-radius: 14px;
    padding: 10px 12px;
    color: var(--nw-dark);
    font-weight: 700;
    font-size: 14px;
}

.nw-form-section {
    border-top: 1px solid var(--nw-border);
    padding-top: 24px;
    margin-top: 24px;
}

.nw-form-section:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.nw-form-section-title {
    font-weight: 900;
    color: var(--nw-dark);
    font-size: 18px;
    margin-bottom: 16px;
}

.nw-quote-page {
    min-height: calc(100vh - 82px);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 34%),
        radial-gradient(circle at bottom right, rgba(22, 163, 74, .10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 76px 0;
}

.nw-quote-side {
    max-width: 620px;
}

.nw-quote-supplier-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.nw-quote-supplier-card img,
.nw-quote-supplier-placeholder {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    object-fit: cover;
    flex: 0 0 auto;
}

.nw-quote-supplier-placeholder {
    background: #eff6ff;
    color: var(--nw-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
}

.nw-quote-supplier-card strong {
    display: block;
    font-weight: 900;
    color: var(--nw-dark);
}

.nw-quote-supplier-card span {
    display: block;
    color: var(--nw-muted);
    font-size: 14px;
}

.nw-contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nw-contact-option {
    position: relative;
    cursor: pointer;
}

.nw-contact-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nw-contact-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--nw-border);
    background: #ffffff;
    color: var(--nw-dark);
    font-weight: 800;
    transition: .2s ease;
}

.nw-contact-option input:checked + span {
    border-color: var(--nw-primary);
    color: var(--nw-primary);
    background: #eff6ff;
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .08);
}

@media (max-width: 768px) {
    .nw-quote-page {
        padding: 46px 0;
    }

    .nw-contact-options {
        grid-template-columns: 1fr;
    }
}