.gp-ai-content-block,
.gp-trust-badge,
.gp-ai-chat-widget,
.gp-compliance-badge,
.gp-ai-faq-block,
.gp-smart-cta {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

.gp-ai-content-block {
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    background: #0d1117;
}

.gp-ai-content-controls {
    padding: 0.75rem;
    border-bottom: 1px solid #30363d;
    background: #161b22;
}

.gp-ai-prompt-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.gp-ai-prompt-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #e6edf3;
    font-size: 0.85rem;
}

.gp-ai-prompt-input:focus {
    outline: none;
    border-color: #a855f7;
}

.gp-ai-generate-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #a855f7 0%, #6d28d9 100%);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.2s;
}

.gp-ai-generate-btn:hover {
    opacity: 0.9;
}

.gp-ai-options-row {
    display: flex;
    gap: 0.5rem;
}

.gp-ai-select {
    padding: 0.35rem 0.5rem;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 4px;
    color: #c9d1d9;
    font-size: 0.8rem;
}

.gp-ai-content-output {
    padding: 1rem;
    min-height: 60px;
    color: #e6edf3;
    line-height: 1.6;
    font-size: 0.95rem;
}

.gp-ai-content-output:empty::before {
    content: 'AI-generated content will appear here...';
    color: #6e7681;
    font-style: italic;
}

.gp-trust-badge {
    display: inline-block;
}

.gp-trust-badge-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #161b22 0%, #1c2333 100%);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gp-trust-badge-icon .gp-shield-svg {
    width: 32px;
    height: 32px;
    fill: #00ffc8;
}

.gp-badge-small .gp-shield-svg { width: 24px; height: 24px; }
.gp-badge-large .gp-shield-svg { width: 48px; height: 48px; }
.gp-badge-small .gp-trust-badge-inner { padding: 0.5rem 0.75rem; }
.gp-badge-large .gp-trust-badge-inner { padding: 1rem 1.5rem; }

.gp-trust-badge-text {
    color: #e6edf3;
    font-weight: 600;
    font-size: 0.9rem;
}

.gp-badge-large .gp-trust-badge-text { font-size: 1.1rem; }
.gp-badge-small .gp-trust-badge-text { font-size: 0.8rem; }

.gp-trust-frameworks {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}

.gp-framework-tag {
    padding: 0.1rem 0.4rem;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 3px;
    color: #4fc3f7;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.gp-badge-style-seal .gp-trust-badge-inner {
    border-color: rgba(212, 175, 55, 0.3);
}

.gp-badge-style-seal .gp-shield-svg { fill: #d4af37; }

.gp-badge-style-minimal .gp-trust-badge-inner {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem;
}

.gp-ai-chat-widget {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

.gp-chat-theme-dark {
    background: #161b22;
    border: 1px solid #30363d;
    color: #e6edf3;
}

.gp-chat-theme-light {
    background: #ffffff;
    border: 1px solid #d0d7de;
    color: #24292f;
}

.gp-chat-header {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #30363d;
}

.gp-chat-theme-light .gp-chat-header { border-bottom-color: #d0d7de; }

.gp-chat-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gp-chat-icon { font-size: 1.2rem; }

.gp-chat-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.gp-chat-status {
    font-size: 0.7rem;
    color: #3fb950;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.gp-chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #3fb950;
    border-radius: 50%;
    display: inline-block;
}

.gp-chat-messages {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.gp-chat-input-area {
    padding: 0.75rem;
    border-top: 1px solid #30363d;
    display: flex;
    gap: 0.5rem;
}

.gp-chat-theme-light .gp-chat-input-area { border-top-color: #d0d7de; }

.gp-chat-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.gp-chat-theme-dark .gp-chat-input {
    background: #0d1117;
    border: 1px solid #30363d;
    color: #e6edf3;
}

.gp-chat-theme-light .gp-chat-input {
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    color: #24292f;
}

.gp-chat-input:focus { outline: none; border-color: #4fc3f7; }

.gp-chat-send-btn {
    padding: 0.5rem 0.75rem;
    background: #4fc3f7;
    border: none;
    border-radius: 8px;
    color: #0d1117;
    cursor: pointer;
    font-weight: 600;
}

.gp-chat-send-btn:hover { background: #81d4fa; }

.gp-chat-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.gp-compliance-badge {
    display: inline-block;
}

.gp-compliance-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #161b22 0%, #1c2333 100%);
    border: 1px solid var(--gp-fw-color, #4fc3f7);
    border-radius: 10px;
    border-left-width: 3px;
}

.gp-compliance-icon { font-size: 1.5rem; }

.gp-compliance-name {
    color: #e6edf3;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.gp-compliance-status {
    color: var(--gp-fw-color, #4fc3f7);
    font-size: 0.75rem;
    display: block;
    margin-top: 2px;
}

.gp-compliance-score { margin-left: auto; }

.gp-compliance-ring svg {
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
}

.gp-ring-bg {
    fill: none;
    stroke: #30363d;
    stroke-width: 3;
}

.gp-ring-fill {
    fill: none;
    stroke: var(--gp-fw-color, #4fc3f7);
    stroke-width: 3;
    stroke-linecap: round;
}

.gp-compliance-ring {
    position: relative;
    display: inline-block;
}

.gp-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #e6edf3;
}

.gp-compliance-footer {
    padding: 0.4rem 1rem;
    border-top: 1px solid #30363d;
    text-align: right;
}

.gp-compliance-footer span {
    font-size: 0.65rem;
    color: #6e7681;
}

.gp-ai-faq-block {
    border-radius: 8px;
    overflow: hidden;
}

.gp-faq-controls {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.gp-faq-topic-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #e6edf3;
    font-size: 0.85rem;
}

.gp-faq-topic-input:focus {
    outline: none;
    border-color: #d4af37;
}

.gp-faq-items details {
    border: 1px solid #30363d;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.gp-faq-items summary {
    padding: 0.75rem 1rem;
    cursor: pointer;
    background: #161b22;
    color: #e6edf3;
    font-weight: 500;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gp-faq-items summary::before {
    content: '▸';
    transition: transform 0.2s;
}

.gp-faq-items details[open] summary::before {
    transform: rotate(90deg);
}

.gp-faq-items details div {
    padding: 0.75rem 1rem;
    color: #c9d1d9;
    line-height: 1.6;
    font-size: 0.9rem;
}

.gp-smart-cta {
    border-radius: 12px;
    overflow: hidden;
}

.gp-cta-inner {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.gp-cta-gradient .gp-cta-inner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.gp-cta-solid .gp-cta-inner {
    background: #161b22;
    border: 1px solid #30363d;
}

.gp-cta-outline .gp-cta-inner {
    background: transparent;
    border: 2px solid #4fc3f7;
}

.gp-cta-glass .gp-cta-inner {
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 195, 247, 0.15);
}

.gp-cta-heading {
    color: #e6edf3;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.gp-cta-description {
    color: #8b949e;
    font-size: 1rem;
    margin: 0 0 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gp-cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #00ffc8 0%, #4fc3f7 100%);
    color: #0d1117;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gp-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 255, 200, 0.3);
    color: #0d1117;
    text-decoration: none;
}

.gp-cta-optimize-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0.3rem 0.6rem;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 4px;
    color: #a855f7;
    font-size: 0.7rem;
    cursor: pointer;
}

.gp-cta-optimize-btn:hover {
    background: rgba(168, 85, 247, 0.3);
}
