.gct-box {
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    background: #fff;
}

.gct-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 140px auto auto;
    gap: .75rem;
    align-items: end;
}

.gct-field label {
    display: block;
    font-weight: 600;
    margin-bottom: .25rem;
}

.gct-field input {
    width: 100%;
    box-sizing: border-box;
    padding: .65rem .75rem;
    border: 1px solid #ccd6e2;
    border-radius: 8px;
}


.gct-license-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0 .7rem;
    border: 1px solid #ccd6e2;
    border-radius: 8px;
    background: #f7fafc;
    color: #1c3f77;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.gct-license-badge:hover,
.gct-license-badge:focus {
    color: #1179df;
    text-decoration: none;
}

.gct-form button {
    padding: .7rem 1rem;
    border: 0;
    border-radius: 8px;
    background: #1179df;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.gct-results {
    overflow-x: auto;
    margin-top: 1rem;
}

.gct-results table {
    width: 100%;
    min-width: 460px;
    table-layout: fixed;
    border-collapse: collapse;
}

.gct-col-name { width: auto; }
/* .gct-col-category { width: 25%; } */
/* .gct-col-value { width: 100px; } */
.gct-col-value-wide { width: 110px; }
.gct-col-value-small { width: 60px }

.gct-results th,
.gct-results td {
    padding: .6rem .7rem;
    border: 1px solid #e0e7f0;
    text-align: left;
    vertical-align: top;
}

.gct-results th {
    background: #f3f7fb;
    font-weight: 700;
}

.gct-results .gct-number,
.gct-results th:nth-child(n+2) {
    text-align: right;
    white-space: nowrap;
}

.gct-results .gct-name,
.gct-results .gct-category {
    overflow-wrap: anywhere;
}

.gct-note,
.gct-empty {
    margin-top: 1rem;
    font-size: .95rem;
}

@media (max-width: 700px) {
    .gct-form {
        grid-template-columns: 1fr;
    }

    
.gct-license-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0 .7rem;
    border: 1px solid #ccd6e2;
    border-radius: 8px;
    background: #f7fafc;
    color: #1c3f77;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.gct-license-badge:hover,
.gct-license-badge:focus {
    color: #1179df;
    text-decoration: none;
}

.gct-form button {
        width: 100%;
    }
}
