.sgp-license-tools {
    max-width: 480px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.sgp-lookup-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.sgp-lookup-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sgp-lookup-form input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e0;
}

.sgp-button-primary {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border-radius: 3px;
}

.sgp-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-left: 4px solid;
}

.sgp-alert-success {
    border-color: #16a34a;
    background: #dcfce7;
}

.sgp-alert-warning {
    border-color: #d97706;
    background: #fef3c7;
}

.sgp-alert-error {
    border-color: #b91c1c;
    background: #fee2e2;
}

.sgp-alert-info {
    border-color: #2563eb;
    background: #dbeafe;
}

.sgp-result-table {
    margin-top: 1rem;
    overflow-x: auto;
}

.sgp-result-table table {
    width: 100%;
    border-collapse: collapse;
}

.sgp-result-table th,
.sgp-result-table td {
    border: 1px solid #e2e8f0;
    padding: 0.65rem;
    text-align: left;
    font-size: 14px;
}

.sgp-result-table th {
    background: #f8fafc;
    min-width: 160px;
}

@media (max-width: 600px) {
    .sgp-license-tools {
        padding: 1rem;
    }

    .sgp-result-table th,
    .sgp-result-table td {
        font-size: 13px;
    }
}
