.softgarden-widget {
    box-sizing: border-box;
    color: #2b2b2b;
    display: grid;
    font-family: Arial, Helvetica, sans-serif;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 420px;
    margin: 0 auto;
    max-width: 1320px;
    width: 100%;
}

.softgarden-widget *,
.softgarden-widget *::before,
.softgarden-widget *::after {
    box-sizing: border-box;
}

.softgarden-title {
    color: #252525;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 12px;
}

.softgarden-search {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(180px, 1.35fr) repeat(3, minmax(150px, 1fr)) 150px;
    margin-bottom: 8px;
}

.softgarden-field {
    display: block;
    margin: 0;
    min-width: 0;
}

.softgarden-field__label {
    color: #8b8b8b;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.softgarden-input,
.softgarden-select {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 2px;
    color: #333;
    font-size: 15px;
    height: 48px;
    line-height: 1.2;
    padding: 0 14px;
    width: 100%;
}

.softgarden-select {
    appearance: auto;
}

.softgarden-input:focus,
.softgarden-select:focus {
    border-color: #009ed0;
    box-shadow: 0 0 0 2px rgba(0, 158, 208, 0.12);
    outline: 0;
}

.softgarden-search__button,
.softgarden-job__button,
.softgarden-panel__button,
.softgarden-direct__button {
    align-items: center;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 48px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 120ms ease, color 120ms ease;
    white-space: nowrap;
}

.softgarden-search__button,
.softgarden-job__button,
.softgarden-panel__button {
    background: #009ed0;
    color: #fff;
}

.softgarden-search__button:hover,
.softgarden-job__button:hover,
.softgarden-panel__button:hover {
    background: #007faf;
    color: #fff;
    text-decoration: none;
}

.softgarden-count {
    color: #333;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0 18px;
}

.softgarden-list {
    display: grid;
    gap: 14px;
}

.softgarden-job {
    align-items: center;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-left: 8px solid #009ed0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    min-height: 86px;
    padding: 18px 26px 18px 22px;
}

.softgarden-job:first-child {
    border-left-color: #ffcb05;
}

.softgarden-job__content {
    min-width: 0;
}

.softgarden-job__title {
    color: #2f2f2f;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 12px;
}

.softgarden-job__meta {
    color: #777;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 8px 18px;
    line-height: 1.2;
}

.softgarden-job__meta-item::before {
    background: #bdbdbd;
    content: "";
    display: inline-block;
    height: 10px;
    margin-right: 6px;
    width: 10px;
}

.softgarden-job__button {
    flex: 0 0 auto;
    min-width: 112px;
}

.softgarden-side {
    display: grid;
    gap: 28px;
    grid-auto-rows: max-content;
}

.softgarden-direct,
.softgarden-panel {
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    padding: 28px;
}

.softgarden-direct {
    background: #ffcb05;
    color: #1f1f1f;
}

.softgarden-direct__title,
.softgarden-panel__title {
    color: #252525;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 0 26px;
    text-transform: uppercase;
}

.softgarden-direct__copy,
.softgarden-panel__copy {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 18px;
}

.softgarden-direct__button {
    background: #252525;
    color: #fff;
    width: 100%;
}

.softgarden-direct__button:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.softgarden-panel {
    background: #fff;
    border: 1px solid #e6e6e6;
}

.softgarden-panel__list {
    color: #6b6b6b;
    font-size: 16px;
    line-height: 1.65;
    list-style: none;
    margin: 0;
    padding: 0;
}

.softgarden-panel__list li::before {
    color: #009ed0;
    content: "/";
    font-weight: 800;
    margin-right: 8px;
}

.softgarden-panel__button {
    width: 100%;
}

.softgarden-loading,
.softgarden-error,
.softgarden-empty {
    background: #fff;
    border: 1px solid #e6e6e6;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding: 22px;
}

@media (max-width: 1180px) {
    .softgarden-widget {
        grid-template-columns: 1fr;
    }

    .softgarden-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .softgarden-search__button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .softgarden-title {
        font-size: 26px;
    }

    .softgarden-search {
        grid-template-columns: 1fr;
    }

    .softgarden-job {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .softgarden-job__title {
        font-size: 19px;
    }

    .softgarden-job__button {
        width: 100%;
    }
}
