/* KTG ECU Database */
.ktg-ecu-wrap {
    width: 100%;
    font-family: inherit;
}

.ktg-ecu-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 22px;
}

.ktg-ecu-search {
    position: relative;
    margin-bottom: 28px;
}

.ktg-ecu-search input {
    width: 100%;
    box-sizing: border-box;
    height: 58px;
    border: 0;
    background: #f1f1f1;
    padding: 0 20px 0 58px;
    font-size: 18px;
    outline: none;
    border-radius: 0;
}

.ktg-ecu-search input:focus {
    box-shadow: inset 0 0 0 2px #222;
}

.ktg-search-icon {
    position: absolute;
    z-index: 2;
    left: 20px;
    top: 17px;
    width: 18px;
    height: 18px;
    border: 2px solid #111;
    border-radius: 50%;
}

.ktg-search-icon:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: #111;
    right: -7px;
    bottom: -4px;
    transform: rotate(48deg);
}

.ktg-ecu-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ktg-ecu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 17px;
}

.ktg-ecu-table th {
    background: #dedede;
    padding: 15px 18px;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.ktg-ecu-table td {
    background: #f7f7f7;
    padding: 17px 18px;
    vertical-align: middle;
}

.ktg-ecu-table th:nth-child(1),
.ktg-ecu-table td:nth-child(1) {
    width: 28%;
}

.ktg-ecu-table th:nth-child(2),
.ktg-ecu-table td:nth-child(2) {
    width: auto;
}

.ktg-ecu-table th:nth-child(3),
.ktg-ecu-table td:nth-child(3) {
    width: 145px;
}

.ktg-identifier {
    font-weight: 500;
}

.ktg-action-cell {
    text-align: center;
}

.ktg-btn {
    display: inline-block;
    min-width: 120px;
    box-sizing: border-box;
    padding: 11px 16px;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    font-weight: 700;
    text-transform: lowercase;
}

.ktg-download {
    background: #d9470b;
}

.ktg-purchase {
    background: #d9470b;
}

.ktg-btn:hover {
    opacity: .88;
}

.ktg-unavailable {
    color: #777;
}

.ktg-loading,
.ktg-no-results {
    text-align: center !important;
    padding: 30px !important;
}

.ktg-ecu-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.ktg-ecu-pagination button {
    border: 1px solid #ddd;
    background: #fff;
    min-width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 14px;
}

.ktg-ecu-pagination button.active {
    background: #222;
    color: #fff;
    border-color: #222;
}

.ktg-ecu-pagination button:disabled {
    opacity: .35;
    cursor: default;
}

@media (max-width: 767px) {
    .ktg-ecu-title {
        font-size: 25px;
    }

    .ktg-ecu-search input {
        height: 52px;
        font-size: 16px;
    }

    .ktg-ecu-table {
        min-width: 650px;
        font-size: 15px;
    }

    .ktg-ecu-table th,
    .ktg-ecu-table td {
        padding: 13px 12px;
    }
}
