.pt-datasheet-button-wrap {
    margin: 1em 0;
}

.pt-datasheet-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #0a5da6 0%, #115da6 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-shadow: 0 8px 20px rgba(10, 93, 166, 0.18);
}

.pt-datasheet-button:hover,
.pt-datasheet-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(10, 93, 166, 0.24);
    background: linear-gradient(90deg, #0c6cbf 0%, #0a5da6 100%);
}

.pt-datasheet-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(10, 93, 166, 0.16);
}

.pt-datasheet-widget {
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.pt-datasheet-widget__header h3 {
    margin: 0 0 6px;
    color: #0a5da6;
    letter-spacing: -0.2px;
}

.pt-datasheet-widget__hint {
    margin: 0 0 12px;
    color: #343a40;
    font-size: 14px;
}

.pt-datasheet-widget__search {
    position: relative;
}

.pt-datasheet-search {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d5dce5;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pt-datasheet-search:focus {
    outline: none;
    border-color: #0a5da6;
    box-shadow: 0 0 0 3px rgba(10, 93, 166, 0.15);
}

.pt-datasheet-search__status {
    min-height: 18px;
    margin-top: 6px;
    color: #343a40;
    font-size: 13px;
}

.pt-datasheet-results {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    overflow: hidden;
}

.pt-datasheet-result {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #fff;
    transition: background 0.12s ease;
}

.pt-datasheet-result:nth-child(even) {
    background: #f6f9fc;
}

.pt-datasheet-result:hover {
    background: #eef5fb;
}

.pt-datasheet-result__name {
    font-weight: 600;
    color: #1d2127;
}

.pt-datasheet-result__sku {
    color: #343a40;
    font-size: 13px;
}

.pt-datasheet-selected {
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed #c6d4e5;
    border-radius: 8px;
    min-height: 60px;
    background: #f8fbff;
    color: #1d2127;
}

.pt-datasheet-selected__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pt-datasheet-selected__name {
    font-weight: 700;
    color: #0a5da6;
}

.pt-datasheet-selected__sku {
    color: #343a40;
    font-size: 13px;
}

.pt-datasheet-selected__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.pt-datasheet-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #0a5da6;
    color: #0a5da6;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.pt-datasheet-link:hover,
.pt-datasheet-link:focus {
    background: #0a5da6;
    color: #ffffff;
}
