.samai-lawyer-validator {
    --lawyer-ink: #18324a;
    --lawyer-muted: #5d6b78;
    --lawyer-border: #d8e1e8;
    --lawyer-soft: #f3f6f8;
    --lawyer-green: #2d6c4c;
    --lawyer-green-dark: #1f4f38;
    padding: 2rem 0 3rem;
    color: #202a33;
    background: var(--lawyer-soft);
}

.samai-lawyer-validator__activity:empty {
    display: none;
}

.samai-lawyer-validator__container {
    max-width: 1050px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.samai-lawyer-validator__card,
.samai-lawyer-validator__results {
    border: 1px solid var(--lawyer-border);
    border-radius: .75rem;
    background: #fff;
}

.samai-lawyer-validator__card {
    padding: 1.5rem;
}

.samai-lawyer-validator__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #edf1f4;
}

.samai-lawyer-validator__eyebrow {
    margin: 0 0 .35rem;
    color: var(--lawyer-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.samai-lawyer-validator__heading h2 {
    margin: 0;
    color: #202a33;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 800;
}

.samai-lawyer-validator__heading > div > p:last-child {
    max-width: 690px;
    margin: .5rem 0 0;
    color: var(--lawyer-muted);
    line-height: 1.5;
}

.samai-lawyer-validator__form {
    max-width: 760px;
    padding: 1.35rem 0;
}

.samai-lawyer-validator__form .form-label {
    display: block;
    margin-bottom: .4rem;
    color: var(--lawyer-ink);
    font-size: .88rem;
    font-weight: 700;
}

.samai-lawyer-validator__control-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: .75rem;
}

.samai-lawyer-validator__control-row .form-control {
    min-height: 48px;
    border-color: #cbd6de;
    border-radius: .45rem;
}

.samai-lawyer-validator__control-row .form-control:focus {
    border-color: var(--lawyer-green);
    box-shadow: 0 0 0 .2rem rgba(45, 108, 76, .15);
}

.samai-lawyer-validator__form .form-text {
    margin-top: .35rem;
    color: #687783;
    font-size: .78rem;
}

.samai-lawyer-validator__primary-action {
    min-height: 48px;
    min-width: 155px;
    padding: .65rem 1.15rem;
    border: 1px solid var(--lawyer-green);
    border-radius: .4rem;
    color: #fff;
    background: linear-gradient(135deg, var(--lawyer-green) 0%, var(--lawyer-green-dark) 100%);
    font-size: .9rem;
    font-weight: 700;
}

.samai-lawyer-validator__primary-action:hover,
.samai-lawyer-validator__primary-action:focus-visible,
.samai-lawyer-validator__primary-action:active {
    border-color: #173a2a !important;
    color: #fff !important;
    background: linear-gradient(135deg, #245a40 0%, #173a2a 100%) !important;
}

.samai-lawyer-validator__primary-action:disabled {
    border-color: #9aaba2;
    color: #fff;
    background: #9aaba2;
    opacity: 1;
}

.samai-lawyer-validator__message {
    display: block;
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border: 1px solid transparent;
    border-radius: .45rem;
    font-size: .86rem;
    line-height: 1.45;
}

.samai-lawyer-validator__message--error {
    border-color: #efc8c8;
    color: #842029;
    background: #fff2f2;
}

.samai-lawyer-validator__note {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    max-width: 760px;
    padding: .8rem 1rem;
    border-left: 3px solid #79a18a;
    color: #526170;
    background: #f4f8f6;
    font-size: .82rem;
    line-height: 1.5;
}

.samai-lawyer-validator__note i {
    margin-top: .15rem;
    color: var(--lawyer-green);
}

.samai-lawyer-validator__note p {
    margin: 0;
}

.samai-lawyer-validator__results {
    overflow: hidden;
    margin-top: 1.25rem;
}

.samai-lawyer-validator__results-heading {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lawyer-border);
    background: #f8fafb;
}

.samai-lawyer-validator__results-heading > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: .55rem;
    color: #fff;
    background: var(--lawyer-green);
}

.samai-lawyer-validator__results-heading p {
    margin: 0 0 .1rem;
    color: var(--lawyer-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.samai-lawyer-validator__results-heading h2 {
    margin: 0;
    color: var(--lawyer-ink);
    font-size: 1.1rem;
    font-weight: 800;
}

.samai-lawyer-validator__results-body {
    padding: 1.25rem;
}

.samai-lawyer-validator__status {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: .42rem .7rem;
    border: 1px solid #cdd8e0;
    border-radius: 999px;
    color: #344656;
    background: #f4f7f9;
    font-size: .8rem;
    font-weight: 700;
}

.samai-lawyer-validator__status--success {
    border-color: #bcdcc9;
    color: #145237;
    background: #edf8f1;
}

.samai-lawyer-validator__status--warning {
    border-color: #e5d2a5;
    color: #6f5211;
    background: #fff9e9;
}

.samai-lawyer-validator__data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid #e5eaed;
    border-left: 1px solid #e5eaed;
}

.samai-lawyer-validator__data-item {
    min-width: 0;
    padding: .9rem 1rem;
    border-right: 1px solid #e5eaed;
    border-bottom: 1px solid #e5eaed;
    background: #fff;
}

.samai-lawyer-validator__data-item dt {
    margin-bottom: .25rem;
    color: var(--lawyer-muted);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.samai-lawyer-validator__data-item dd {
    overflow-wrap: anywhere;
    margin: 0;
    color: #263746;
    font-size: .92rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .samai-lawyer-validator__control-row {
        grid-template-columns: 1fr;
    }

    .samai-lawyer-validator__primary-action {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .samai-lawyer-validator {
        padding: 1.25rem 0 2rem;
    }

    .samai-lawyer-validator__container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .samai-lawyer-validator__card {
        padding: 1.15rem;
    }

    .samai-lawyer-validator__data {
        grid-template-columns: 1fr;
    }
}
