.k24-ws-box {
    width: 100%;
    margin: 24px 0;
}

.k24-ws-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.k24-ws-panel {
    position: relative;
    border: none;
    background-color: #fff;
    box-shadow: 3px 5px 21px 0 rgb(0 0 0 / .06);
    transition: .25s all;
    padding: 28px;
    border-radius: 0;
}

.k24-ws-search-panel {
    padding: 34px;
}

.k24-ws-result-panel {
    padding: 28px;
}

.k24-ws-head h3 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
}

.k24-ws-head p {
    margin: 0 0 22px;
    color: #666;
}

.k24-ws-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.k24-ws-grid label span {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 7px;
}

.k24-ws-grid select {
    width: 100%;
    min-height: 46px;
    border-radius: 0;
    border: 1px solid rgba(0,0,0,.12);
    padding: 0 12px;
    background: #fff;
    color: #222;
    box-shadow: none;
}

.k24-ws-grid select:focus {
    border-color: #ff6000;
    outline: none;
}

.k24-ws-grid select:disabled {
    opacity: .65;
    background: #f7f7f7;
}

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

.k24-ws-primary,
.k24-ws-secondary,
.k24-ws-mini-btn,
.k24-ws-rims-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1.2;
}

.k24-ws-primary,
.k24-ws-mini-btn {
    background: #ff6000;
    color: #fff !important;
}

.k24-ws-rim-btn {
    background: #222;
    color: #fff !important;
}

.k24-ws-secondary,
.k24-ws-rims-link {
    background: #f2f2f2;
    color: #222 !important;
}

.k24-ws-primary:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.k24-ws-message,
.k24-ws-notice {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 0;
    background: #f7f7f7;
}

.k24-ws-notice {
    margin-bottom: 16px;
}

.k24-ws-message.is-error {
    background: #fff1f1;
    color: #9a1b1b;
}

.k24-ws-message.is-ok {
    background: #f5f5f5;
    color: #333;
}

.k24-ws-result-panel h4,
.k24-ws-results-placeholder h4 {
    margin: 0 0 10px;
    font-size: 20px;
}

.k24-ws-results-placeholder p {
    margin: 0;
    color: #666;
}

.k24-ws-tire-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.k24-ws-tire-item {
    background: #fafafa;
    padding: 12px;
    border-radius: 0;
}

.k24-ws-tire-size {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
}

.k24-ws-tire-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.k24-ws-mini-btn {
    min-height: 38px;
    width: 100%;
    font-size: 13px;
}

.k24-ws-rims-link {
    width: 100%;
    margin-top: 14px;
}

.k24-ws-debug {
    margin-top: 18px;
    max-height: 420px;
    overflow: auto;
    background: #111;
    color: #eee;
    padding: 18px;
    border-radius: 0;
    font-size: 12px;
}

@media (max-width: 900px) {
    .k24-ws-layout {
        grid-template-columns: 1fr;
    }

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

    .k24-ws-tire-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .k24-ws-panel {
        padding: 18px;
    }

    .k24-ws-search-panel {
    padding: 34px;
}

.k24-ws-result-panel {
    padding: 28px;
}

.k24-ws-head h3 {
        font-size: 22px;
    }

    .k24-ws-grid,
    .k24-ws-tire-actions {
        grid-template-columns: 1fr;
    }

    .k24-ws-primary,
    .k24-ws-secondary,
    .k24-ws-mini-btn,
    .k24-ws-rims-link {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .k24-ws-search-panel,
    .k24-ws-result-panel,
    .k24-ws-panel {
        padding: 20px;
    }
}

.k24-ws-rim-meta {
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #f7f7f7;
    color: #333;
    font-size: 13px;
    line-height: 1.45;
    border-radius: 0;
}
