
.gt-trends-shell {
    background: #f8f9fa;
    border: 1px solid #e2e5e9;
    border-radius: 14px;
    padding: 20px;
}

.gt-explore-header {
    margin-bottom: 16px;
}

.gt-explore-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f1f1f;
}

.gt-search-area {
    margin-bottom: 18px;
}

.gt-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.gt-search-input {
    flex: 1;
    min-height: 48px;
    border: 1px solid #d5dbe1;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
}

.gt-search-input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 1px #1a73e8 inset;
}

.gt-search-btn {
    border: none;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 16px;
    font-weight: 600;
    color: #fff;
    background: #1a73e8;
    cursor: pointer;
}

.gt-filters-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gt-filter {
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid #d5dbe1;
    padding: 0 12px;
    background: #fff;
}

.gt-section-title {
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 12px;
}

.gt-loading {
    display: none;
    align-items: center;
    gap: 10px;
    color: #5f6368;
    margin-bottom: 12px;
}

.gt-loading.is-visible {
    display: flex;
}

.gt-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #d5dbe1;
    border-top-color: #1a73e8;
    animation: gt-spin 0.7s linear infinite;
}

@keyframes gt-spin {
    to {
        transform: rotate(360deg);
    }
}

.gt-results-grid,
.gt-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gt-panel,
.gt-column {
    background: #fff;
    border: 1px solid #dde2e7;
    border-radius: 12px;
    padding: 14px;
}

.gt-panel-heading {
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 2px;
}

.gt-panel-subheading {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 10px;
}

.gt-panel-body {
    min-height: 200px;
}

.gt-query-item {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid #edf0f3;
    padding: 8px 0;
}

.gt-query-item:last-child {
    border-bottom: none;
}

.gt-query {
    font-size: 14px;
    color: #1f1f1f;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gt-trend {
    font-size: 12px;
    color: #5f6368;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gt-empty {
    font-size: 13px;
    color: #5f6368;
    text-align: center;
    margin-top: 72px;
}

.gt-frontend-notice {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ffe0b2;
    background: #fff8e1;
}

.gt-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

.gt-page-btn {
    border: 1px solid #d5dbe1;
    background: #fff;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}

.gt-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gt-page-info {
    font-size: 12px;
    color: #5f6368;
}

.gt-auto-ideas-wrap {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #dde2e7;
    border-radius: 12px;
    padding: 14px;
}

.gt-auto-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.gt-auto-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gt-auto-title {
    margin: 0;
    font-size: 18px;
    color: #1f1f1f;
}

.gt-refresh-btn {
    border: 1px solid #d5dbe1;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.gt-auto-status {
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 10px;
}

.gt-auto-status.is-error {
    color: #b3261e;
}

.gt-auto-ideas-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gt-idea-card {
    border: 1px solid #edf0f3;
    border-radius: 10px;
    padding: 12px;
    background: #fafbfc;
}

.gt-idea-keyword {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 6px;
}

.gt-idea-title {
    margin: 0 0 8px;
    font-size: 16px;
    color: #1f1f1f;
}

.gt-idea-desc {
    margin: 0 0 8px;
    font-size: 14px;
    color: #2a2a2a;
    line-height: 1.4;
}

.gt-idea-sources strong {
    font-size: 12px;
}

.gt-idea-sources ul {
    margin: 6px 0 0 18px;
}

.gt-idea-sources li {
    margin-bottom: 4px;
    font-size: 13px;
}

.gt-trends-shell .gt-search-btn,
.gt-trends-shell .gt-refresh-btn {
    color: #fff;
    font-size: 14px;
}

.gt-idea-sources a {
    color: #1a73e8;
    text-decoration: none;
}

.gt-idea-sources a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .gt-results-grid,
    .gt-results {
        grid-template-columns: 1fr;
    }

    .gt-auto-ideas-grid {
        grid-template-columns: 1fr;
    }
}
