Files
wp-agentic-writer/assets/css/sidebar.css
2026-01-28 00:26:00 +07:00

2779 lines
52 KiB
CSS

/**
* WP Agentic Writer - Sidebar Styles
*
* @package WP_Agentic_Writer
*/
.is-pressed[aria-controls="wp-agentic-writer:wp-agentic-writer"] img {
filter: invert(1);
}
.interface-complementary-area__fill:has(#wp-agentic-writer\:wp-agentic-writer),
#wp-agentic-writer\:wp-agentic-writer {
width: 30vw !important;
height: 100% !important;
display: flex !important;
flex-direction: column !important;
}
#wp-agentic-writer\:wp-agentic-writer .components-panel,
#wp-agentic-writer\:wp-agentic-writer .components-panel__body {
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
background: #f8fafc;
/* Lighter, cleaner background */
}
#wp-agentic-writer\:wp-agentic-writer .components-panel__body {
overflow: hidden;
}
.interface-complementary-area__fill:has(#wp-agentic-writer\:wp-agentic-writer),
#wp-agentic-writer\:wp-agentic-writer svg {
margin-bottom: -3px;
width: 18px;
}
.components-tooltip img {
display: none;
}
/* ===========================
TAB NAVIGATION - DARK MINIMAL
=========================== */
.wpaw-tabs {
display: flex;
gap: 0;
border-bottom: 1px solid #3c3c3c;
margin-bottom: 0;
background: #1d2227;
}
.wpaw-tab-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 12px;
background: transparent;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
font-size: 12px;
font-weight: 500;
color: #a7aaad;
text-transform: uppercase;
letter-spacing: 0.05em;
transition: color 0.1s ease, border-color 0.1s ease;
margin-bottom: -1px;
}
.wpaw-tab-btn:hover {
color: #fff;
}
.wpaw-tab-btn.active {
color: #fff;
border-bottom-color: #2271b1;
}
.wpaw-tab-icon {
font-size: 18px;
line-height: 1;
}
.wpaw-tab-label {
line-height: 1;
}
/* ===========================
TAB CONTENT WRAPPER
=========================== */
.wpaw-tab-content-wrapper {
position: relative;
height: 100%;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.wpaw-tab-content {
animation: fadeIn 0.3s ease;
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
min-height: 0;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ===========================
CHAT TAB
=========================== */
.wpaw-chat-tab {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.wpaw-chat-container {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
overflow: hidden;
}
.wpaw-messages {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
background: #ffffff;
border-radius: 0;
min-height: 0;
border: 1px solid #dcdcde;
}
.wpaw-messages-inner {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
padding: 15px;
scroll-behavior: smooth;
}
.wpaw-messages-inner::-webkit-scrollbar {
width: 6px;
}
.wpaw-messages-inner::-webkit-scrollbar-track {
background: #f0f0f1;
border-radius: 0;
}
.wpaw-messages-inner::-webkit-scrollbar-thumb {
background: #c3c4c7;
border-radius: 0;
}
.wpaw-messages-inner::-webkit-scrollbar-thumb:hover {
background: #8c8f94;
}
.wpaw-input-area {
background: #f6f7f7;
padding: 12px;
border-radius: 0;
border: 1px solid #dcdcde;
border-top: none;
margin-top: auto;
}
.wpaw-input-toolbar {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
}
.wpaw-input-label {
font-size: 12px;
color: #5f6b7a;
font-weight: 600;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.wpaw-mode-select {
padding: 6px 8px;
border-radius: 2px;
border: 1px solid #8c8f94;
background: #fff;
font-size: 13px;
font-weight: 400;
color: #1d2227;
cursor: pointer;
transition: border-color 0.1s ease;
}
.wpaw-mode-select:hover {
border-color: #2271b1;
}
.wpaw-mode-select:focus {
outline: none;
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
}
#agentMode {
background-color: #1d2227;
color: #bebebe;
font-weight: normal;
text-transform: capitalize;
font-size: 11px;
}
#agentMode:active,
#agentMode:focus {
text-decoration: unset;
}
/* Messages */
.wpaw-message {
margin-bottom: 12px;
padding: 10px 12px;
border-radius: 0;
background: #fff;
border: 1px solid #dcdcde;
animation: messageSlide 0.2s ease;
}
@keyframes messageSlide {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.wpaw-message-user {
background: #fff;
border-left: 3px solid #2271b1;
margin-left: 0;
max-width: 80%;
margin-left: auto;
border-radius: 8px;
border: 1px solid #4c4c4c;
}
.dark-theme .wpaw-message-user {
background: #252830;
}
.wpaw-message-error {
background: rgb(214, 54, 56, 0.05);
/* border-left: 3px solid #d63638; */
/* border-color: #8a1e1e; */
border: unset;
color: #d63638;
}
.wpaw-message-error button.is-secondary {
background: #8a1e1e;
color: white;
border: unset !important;
box-shadow: unset !important;
}
.wpaw-message-content {
line-height: 1.6;
word-wrap: break-word;
white-space: pre-wrap;
}
.wpaw-ai-response {
display: flex;
flex-direction: column;
gap: 10px;
margin: 0 0 16px 0;
padding-left: 10px;
border-left: 2px solid #e0e6ed;
position: relative;
}
.wpaw-ai-item {
margin: 0;
position: relative;
}
.wpaw-plan-card,
.wpaw-edit-plan {
border: 2px dashed #4c4c4c;
padding: 12px;
border-radius: 0;
}
.wpaw-plan-card:hover {
border-color: #8c8f94;
}
.wpaw-plan-title {
font-weight: 600;
font-size: 14px;
margin-bottom: 8px;
}
.wpaw-plan-config-summary {
margin-bottom: 12px;
padding: 8px 10px;
background: #1a1a1a;
border: 1px solid #3c3c3c;
border-radius: 4px;
font-size: 12px;
line-height: 1.6;
}
.wpaw-config-summary-item {
color: #b0b0b0;
font-family: ui-monospace, monospace;
margin-bottom: 4px;
}
.wpaw-config-summary-item:last-child {
margin-bottom: 0;
}
.wpaw-plan-sections,
.wpaw-edit-plan-list {
margin: 0 0 10px 18px;
padding: 0;
color: #dedede;
font-size: 13px;
}
.wpaw-plan-section {
margin-bottom: 8px;
}
.wpaw-plan-section-row {
display: flex;
gap: 8px;
align-items: flex-start;
}
.wpaw-plan-section-check {
margin-top: 2px;
}
input.wpaw-plan-section-check:checked::before {
filter: brightness(500%) contrast(200%) saturate(100%);
}
.wpaw-plan-section-body {
flex: 1;
}
.wpaw-plan-section-title {
font-weight: 600;
margin-bottom: 4px;
}
.wpaw-plan-section-desc {
color: #6c6c6c;
font-size: 13px;
line-height: 1.5;
}
.wpaw-plan-section-status {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #94a3b8;
margin-top: 2px;
}
.wpaw-clear-context {
margin-left: auto;
background: #f6f7f7;
border: 1px solid #8c8f94;
color: #50575e;
padding: 4px 8px;
border-radius: 2px;
font-size: 11px;
cursor: pointer;
}
.wpaw-clear-context:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.wpaw-editor-lock-banner {
background: #fef3c7;
color: #92400e;
padding: 8px 10px;
border: 1px solid #fcd34d;
font-size: 12px;
margin-bottom: 10px;
}
.wpaw-ai-response pre {
background: #f1f5f9;
padding: 10px;
border-radius: 8px;
overflow-x: auto;
font-family: "Courier New", monospace;
font-size: 12px;
}
.wpaw-ai-response code {
background: #e2e8f0;
color: #1f2937;
padding: 2px 4px;
border-radius: 4px;
font-family: "Courier New", monospace;
font-size: 12px;
}
.wpaw-editor-locked .admin-ui-navigable-region.interface-interface-skeleton__content {
position: relative;
}
.wpaw-editor-locked .admin-ui-navigable-region.interface-interface-skeleton__content::after {
content: '';
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.55);
z-index: 999;
pointer-events: all;
}
.wpaw-plan-section.done .wpaw-plan-section-status {
color: #15803d;
}
.wpaw-plan-section.in_progress .wpaw-plan-section-status {
color: #2563eb;
}
.wpaw-plan-actions {
display: flex;
justify-content: flex-end;
margin-top: 10px;
}
.wpaw-edit-plan-item {
margin-bottom: 6px;
line-height: 1.4;
}
.wpaw-edit-plan-preview-label {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #6b7280;
margin-bottom: 6px;
}
.wpaw-edit-plan-item-title {
font-weight: 600;
color: #1f2937;
}
.dark-theme .wpaw-edit-plan-item-title {
color: #dedede;
}
.wpaw-edit-plan-item-before,
.wpaw-edit-plan-item-after {
font-size: 12px;
/* color: #5b6472; */
margin-top: 2px;
}
.wpaw-edit-plan-item-target {
margin-top: 6px;
font-size: 12px;
color: #8b949e;
background: none;
border: none;
padding: 0;
text-align: left;
cursor: pointer;
}
.wpaw-edit-plan-item-target:hover {
color: #58a6ff;
text-decoration: underline;
}
.wpaw-edit-plan-item-target:disabled {
color: #6b7280;
cursor: default;
text-decoration: none;
}
.wpaw-edit-plan-item-before {
border-left: 2px solid #f0b429;
padding-left: 6px;
color: #f0b429;
}
.wpaw-edit-plan-item-after {
border-left: 2px solid #2f855a;
padding-left: 6px;
color: #2f855a;
}
.wpaw-response {
margin: 0 0 12px 0;
border-left: 2px solid #e0e6ed;
color: #1f2937;
}
.dark-theme .wpaw-response {
color: #cecece;
}
.wpaw-ai-response .wpaw-response {
border-left: none;
}
.wpaw-ai-response .wpaw-response::before {
content: '';
position: absolute;
left: -15px;
top: 20px;
width: 8px;
height: 8px;
border-radius: 50%;
background: #cfd7df;
border: 1px solid #e0e6ed;
box-shadow: 0 0 0 2px #f6f7fb;
}
.wpaw-streaming-indicator {
padding-left: 12px;
font-size: 12px;
color: #6b7280;
}
.wpaw-streaming-indicator::after {
content: '...';
display: inline-block;
width: 18px;
animation: wpaw-ellipsis 1.1s infinite;
}
.wpaw-edit-plan {
padding: 12px;
border: 1px dashed #d0d7de;
}
.wpaw-edit-plan-title {
font-weight: 600;
margin-bottom: 6px;
color: #1f2937;
}
.dark-theme .wpaw-edit-plan-title {
color: #fff;
}
.wpaw-edit-plan-summary {
font-size: 12px;
color: #4b5563;
margin-bottom: 10px;
}
.dark-theme .wpaw-edit-plan-summary {
color: #dedede;
}
.wpaw-edit-plan-actions {
display: flex;
gap: 8px;
}
@keyframes wpaw-ellipsis {
0% {
content: '.';
}
33% {
content: '..';
}
66% {
content: '...';
}
100% {
content: '.';
}
}
.wpaw-response-content {
line-height: 1.6;
word-wrap: break-word;
white-space: normal;
}
.wpaw-response-content > * {
padding: 1rem;
}
.wpaw-response-content p {
margin: 0 0 8px;
}
.wpaw-response-content p:last-child {
margin-bottom: 0;
}
.wpaw-response-content h1,
.wpaw-response-content h2,
.wpaw-response-content h3,
.wpaw-response-content h4,
.wpaw-response-content h5,
.wpaw-response-content h6 {
margin: 12px 0 6px;
line-height: 1.4;
}
.wpaw-response-content ul,
.wpaw-response-content ol {
margin: 6px 0 10px 18px;
padding: 0;
}
.wpaw-response-content ul li {
list-style: square;
}
.wpaw-response-content li {
margin: 4px 0;
}
.wpaw-response-content li p {
margin: 4px 0 6px;
}
.dark-theme .wpaw-response-content *:is(h1,h2,h3,h4,h5,h6){
color: #cecece;
font-weight: bold;
}
.wpaw-response-content table {
border: 1px solid;
border-collapse: collapse;
margin-bottom: 10px;
}
.wpaw-response-content table th,
.wpaw-response-content table td {
border: 1px solid;
padding: 5px;
text-align: left;
}
/* Timeline Progress */
.wpaw-timeline-entry {
display: flex;
gap: 15px;
margin-bottom: 0;
padding: 10px 12px;
/* background: #f6f7fb; */
box-shadow: none;
position: relative;
font-size: 12.5px;
line-height: 1.4;
}
.wpaw-timeline-entry:last-child {
margin-bottom: 16px;
}
.wpaw-timeline-entry:not(:last-child) {
padding-bottom: 18px;
}
/* Colored line for active timeline */
.wpaw-timeline-entry.active:not(:first-of-type)::before {
/* background: linear-gradient(to bottom, #2271b1 0%, #cfd7df 100%); */
background: #2271b1;
display: none;
}
/* Colored line for completed timeline */
.wpaw-timeline-entry.complete:not(:first-of-type)::before {
/* background: linear-gradient(to bottom, #2e8540 0%, #cfd7df 100%); */
background: #2e8540;
display: none;
}
/* .wpaw-timeline-entry.active { */
/* background: #fff; */
/* border: 1px solid #bfdbfe; */
/* box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06); */
/* margin-bottom: 15px; */
/* border-radius: 6px; */
/* } */
.wpaw-timeline-entry.inactive {
background: transparent;
border: 1px dashed #e2e8f0;
margin-bottom: 15px;
opacity: 0.8;
}
.wpaw-timeline-entry.complete {
background: rgb(188 235 203 / 5%);
/* border: 1px solid #bbf7d0; */
/* margin-bottom: 15px; */
/* border-radius: 6px; */
}
.wpaw-processing-indicator {
display: flex;
align-items: center;
gap: 6px;
margin-top: 6px;
font-size: 12px;
color: #4b5563;
}
.wpaw-processing-indicator .components-spinner {
margin: 0;
}
.wpaw-timeline-dot {
flex-shrink: 0;
width: 12px;
height: 12px;
display: flex;
align-items: center;
justify-content: center;
background: #eef1f5;
border-radius: 50%;
position: absolute;
left: -17px;
z-index: 2;
border: 1px solid #e0e6ed;
/* box-shadow: 0 0 0 2px #f6f7fb; */
}
.wpaw-timeline-entry.is-current .wpaw-timeline-dot {
background: #eff6ff;
box-shadow: 0 0 0 2px #3b82f6;
border-color: #3b82f6;
animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.wpaw-timeline-entry.complete .wpaw-timeline-dot {
background: #f0fdf4;
box-shadow: 0 0 0 1px #22c55e;
border-color: #22c55e;
color: #15803d;
}
.wpaw-timeline-entry.inactive .wpaw-timeline-dot {
background: #f1f5f9;
box-shadow: none;
border-color: #e2e8f0;
}
.wpaw-plan-section-row input[type=checkbox] {
transform: translateY(3px);
}
@keyframes pulse-ring {
0% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
}
70% {
box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}
}
.wpaw-timeline-content {
flex: 1;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
color: #334155;
}
.wpaw-timeline-message {
font-size: 12px;
color: #334155;
margin-bottom: 5px;
line-height: 1.5;
}
.dark-theme .wpaw-timeline-message {
color: white;
}
.wpaw-timeline-complete {
font-size: 11.5px;
color: #2e8540;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.02em;
}
.wpaw-actions {
display: flex;
gap: 10px;
margin-top: 12px;
}
.wpaw-actions button {
flex: 1;
}
/* Primary Button - WP Style */
.wpaw-actions .is-primary,
.wpaw-actions .components-button.is-primary,
.wpaw-plan-actions .is-primary {
background: #2271b1;
border: 1px solid #2271b1;
border-radius: 2px;
padding: 8px 14px;
font-weight: 400;
font-size: 13px;
color: #fff;
transition: background 0.1s ease;
box-shadow: none;
}
.wpaw-actions .is-primary:hover,
.wpaw-actions .components-button.is-primary:hover,
.wpaw-plan-actions .is-primary:hover {
background: #135e96;
border-color: #135e96;
}
.wpaw-actions .is-primary:disabled {
background: #a7aaad;
border-color: #a7aaad;
color: #fff;
}
.wpaw-header-actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 6px;
padding: 6px 0 4px;
}
.wpaw-header-action {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
border: 1px solid #dcdcde;
border-radius: 6px;
background: #fff;
cursor: pointer;
}
.wpaw-header-action svg {
width: 16px;
height: 16px;
fill: #1d2227;
}
.wpaw-header-action:hover {
border-color: #2271b1;
}
.wpaw-header-action.active {
border-color: #2271b1;
background: #e8f1fb;
}
.wpaw-header-action.active svg {
fill: #2271b1;
}
/* ===========================
CONFIG TAB
=========================== */
.wpaw-config-tab {
padding: 20px 0;
}
.wpaw-config-tab .wpaw-tab-header {
position: absolute;
width: calc(100% - 15px);
z-index: 2;
}
.wpaw-config-tab > *:nth-child(2){
margin-top: 60px;
}
.wpaw-config-tab h3 {
margin: 0 0 20px 0;
font-size: 18px;
color: #2271b1;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 10px;
}
.wpaw-config-section {
padding: 12px;
background: #fff;
border-radius: 0;
border: 1px solid #dcdcde;
}
.wpaw-config-section:hover {
border-color: #8c8f94;
}
.wpaw-config-section label {
display: block;
font-weight: 600;
margin-bottom: 6px;
color: #1d2227;
font-size: 13px;
}
.wpaw-select {
width: 100%;
padding: 8px 10px;
font-size: 11px;
border: 1px solid #8c8f94;
border-radius: 2px;
background: #fff;
cursor: pointer;
color: #1d2227;
}
.wpaw-config-section .wpaw-select {
width: 100%!important;
max-width: unset!important;
}
.wpaw-select:focus {
outline: none;
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
}
.wpaw-config-section h4 {
margin: 0 0 10px 0;
font-size: 16px;
color: #333;
}
/* ===========================
COST TAB
=========================== */
.wpaw-cost-tab {
font-family: ui-monospace, monospace;
padding: 20px 0;
}
.wpaw-cost-tab h3 {
margin: 0 0 20px 0;
font-size: 18px;
color: #2271b1;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 10px;
}
.wpaw-cost-card {
display: grid;
}
.wpaw-cost-stat {
padding: 12px;
background: #252830;
border-radius: 0;
border: 1px solid #dcdcde;
text-align: center;
}
.wpaw-cost-stat:hover {
border-color: #8c8f94;
}
.wpaw-cost-stat label {
display: block;
font-size: 13px;
color: #6c6c6c;
font-weight: 600;
margin-bottom: 6px;
}
.wpaw-cost-value {
font-size: 22px;
color: #ffffff;
}
.wpaw-budget-bar {
width: 100%;
height: 10px;
background: #4c4c4c;
overflow: hidden;
margin-bottom: 10px;
}
.wpaw-budget-bar ~ .description {
padding: 0 12px;
}
.wpaw-budget-fill {
height: 100%;
background: linear-gradient(90deg, #4caf50, #66bb6a);
transition: width 0.5s ease, background 0.3s ease;
}
.wpaw-budget-fill.warning {
background: linear-gradient(90deg, #ff9800, #ffa726);
}
.wpaw-budget-fill.danger {
background: linear-gradient(90deg, #f44336, #ef5350);
}
.wpaw-refresh-btn {
background: transparent;
border: none;
cursor: pointer;
font-size: 14px;
padding: 4px;
margin-left: auto;
transition: transform 0.2s ease;
}
.wpaw-refresh-btn:hover {
transform: rotate(180deg);
}
.wpaw-cost-remaining .wpaw-cost-value {
font-weight: 700;
}
.wpaw-cost-value.ok {
color: #4caf50;
}
.wpaw-cost-value.warning {
color: #ff9800;
}
.wpaw-cost-value.danger {
color: #f44336;
}
.wpaw-budget-section {
padding: 12px;
margin-top: 8px;
}
.wpaw-budget-label {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #a7aaad;
margin-bottom: 6px;
}
.wpaw-budget-warning {
padding: 8px 12px;
margin: 8px 12px;
border-radius: 4px;
font-size: 12px;
text-align: center;
}
.wpaw-budget-warning.warning {
background: rgba(255, 152, 0, 0.15);
color: #ff9800;
}
.wpaw-budget-warning.danger {
background: rgba(244, 67, 54, 0.15);
color: #f44336;
}
.wpaw-cost-footer {
padding: 12px;
margin-top: 12px;
border-top: 1px solid #3c3c3c;
text-align: center;
font-family: ui-monospace, monospace;
}
.wpaw-cost-settings-link {
color: #a7aaad;
text-decoration: none;
font-size: 12px;
transition: color 0.2s ease;
}
.wpaw-cost-settings-link:hover {
color: #2271b1;
}
/* Cost History Table */
.wpaw-cost-history {
margin: 16px 12px;
}
.wpaw-cost-history h4 {
color: #e0e0e0;
font-size: 13px;
font-weight: 600;
margin: 0 0 12px 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.wpaw-cost-table-wrapper {
max-height: 300px;
overflow-y: auto;
border: 1px solid #3c3c3c;
border-radius: 4px;
}
.wpaw-cost-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.wpaw-cost-table thead {
position: sticky;
top: 0;
background: #2c2c2c;
z-index: 1;
}
.wpaw-cost-table th {
padding: 8px 6px;
text-align: left;
font-weight: 600;
color: #a7aaad;
border-bottom: 1px solid #3c3c3c;
font-size: 11px;
text-transform: uppercase;
}
.wpaw-cost-table td {
padding: 8px 6px;
color: #e0e0e0;
border-bottom: 1px solid #2c2c2c;
}
.wpaw-cost-table tbody tr:hover {
background: rgba(255, 255, 255, 0.03);
}
.wpaw-cost-table td:nth-child(4),
.wpaw-cost-table td:nth-child(5) {
text-align: right;
}
.wpaw-cost-table th:nth-child(4),
.wpaw-cost-table th:nth-child(5) {
text-align: right;
}
/* ===========================
CLARIFICATION QUIZ
=========================== */
.wpaw-clarification-quiz {
margin: 20px 0;
}
.wpaw-quiz-header {
text-align: center;
margin-bottom: 20px;
}
.wpaw-quiz-header h3 {
margin: 0 0 15px 0;
font-size: 18px;
color: #6c6c6c;
font-family: ui-monospace, monospace;
}
.wpaw-progress-bar {
width: 100%;
height: 8px;
background: #e0e0e0;
border-radius: 4px;
overflow: hidden;
margin-bottom: 8px;
}
.wpaw-progress-fill {
height: 100%;
background: linear-gradient(90deg, #2271b1, #135e96);
transition: width 0.3s ease;
}
.wpaw-quiz-header span {
font-size: 12px;
color: #757575;
}
.wpaw-question-card {
background: #f9f9f9;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
}
.wpaw-question-card h4 {
margin: 0 0 15px 0;
font-size: 16px;
color: #333;
}
.dark-theme .wpaw-question-card {
border-radius: unset;
background-color: #252830;
border-color: #6c6c6c;
}
.wpaw-answer-options {
display: flex;
flex-direction: column;
gap: 10px;
}
.wpaw-answer-options label {
display: flex;
align-items: center;
gap: 10px;
padding: 12px;
border: 2px solid #6c6c6c;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
}
.wpaw-answer-options label:hover {
border-color: #ffffff;
}
.wpaw-answer-options label:has(input:checked) {
border-color: #2271b1;
background: #162c42;
color: white;
font-weight: bold;
}
.wpaw-answer-options input[type="radio"],
.wpaw-answer-options input[type="checkbox"] {
margin: 0 10px 0 0;
}
.wpaw-answer-options span {
flex: 1;
}
/* Textarea styling for open_text questions */
.wpaw-answer-options textarea {
width: 100%;
min-height: 100px;
padding: 12px;
font-size: 14px;
line-height: 1.6;
border: 2px solid #e0e0e0;
border-radius: 6px;
background: white;
transition: border-color 0.2s ease;
}
.wpaw-answer-options textarea:focus {
outline: none;
border-color: #2271b1;
box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}
.wpaw-previous-answers {
margin-top: 15px;
padding: 15px;
background: #fff;
border-radius: 6px;
border: 1px solid #e0e0e0;
}
.wpaw-previous-answers strong {
display: block;
margin-bottom: 10px;
font-size: 13px;
color: #757575;
}
.wpaw-question-label {
display: block;
font-size: 12px;
font-weight: 600;
color: #2271b1;
margin-bottom: 3px;
}
.wpaw-answer-text {
margin: 0 0 10px 0;
padding: 8px 12px;
background: #f5f5f5;
border-radius: 4px;
font-size: 13px;
}
.wpaw-previous-answers>div:last-child .wpaw-answer-text {
margin-bottom: 0;
}
.wpaw-quiz-actions {
display: flex;
gap: 10px;
justify-content: space-between;
margin-top: 20px;
}
.wpaw-quiz-actions button {
justify-content: center;
font-family: ui-monospace, monospace;
}
.wpaw-quiz-actions button.is-primary {
flex: 1;
}
/* Custom answer input */
.wpaw-custom-answer-wrapper {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid #3c3c3c;
}
.wpaw-custom-text-input {
width: 100%;
margin-top: 8px;
padding: 8px 12px;
background: #1e1e1e;
border: 1px solid #3c3c3c;
border-radius: 4px;
color: #e0e0e0;
font-size: 13px;
font-family: ui-monospace, monospace;
}
.wpaw-custom-text-input:focus {
outline: none;
border-color: #2271b1;
}
/* Config form styles */
.wpaw-config-form {
display: flex;
flex-direction: column;
gap: 20px;
}
.wpaw-config-field {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 15px;
padding: 12px;
background: #1a1a1a;
border: 1px solid #3c3c3c;
border-radius: 6px;
}
.wpaw-config-label {
flex: 1;
display: flex;
flex-direction: column;
gap: 4px;
}
.wpaw-config-label-text {
font-size: 14px;
font-weight: 500;
color: #e0e0e0;
font-family: ui-monospace, monospace;
}
.wpaw-config-description {
font-size: 12px;
color: #888;
font-family: ui-monospace, monospace;
}
.wpaw-config-toggle {
position: relative;
display: inline-block;
width: 48px;
height: 24px;
flex-shrink: 0;
cursor: pointer;
}
.wpaw-config-toggle input {
opacity: 0;
width: 0;
height: 0;
}
.wpaw-toggle-slider {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #3c3c3c;
border-radius: 24px;
transition: 0.3s;
}
.wpaw-toggle-slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
border-radius: 50%;
transition: 0.3s;
}
.wpaw-config-toggle input:checked + .wpaw-toggle-slider {
background-color: #2271b1;
}
.wpaw-config-toggle input:checked + .wpaw-toggle-slider:before {
transform: translateX(24px);
}
.wpaw-config-text-input {
width: 250px;
padding: 6px 10px;
background: #252830;
border: 1px solid #3c3c3c;
border-radius: 4px;
color: #e0e0e0;
font-size: 13px;
font-family: ui-monospace, monospace;
flex-shrink: 0;
}
.wpaw-config-text-input:focus {
outline: none;
border-color: #2271b1;
}
.wpaw-config-text-input::placeholder {
color: #6c6c6c;
}
.wpaw-question-card .wpaw-config-form label {
display: flex;
}
.wpaw-question-card .wpaw-config-form .wpaw-config-label .wpaw-config-description {
font-size: 11px;
}
.wpaw-question-card .wpaw-config-field:has(input[type=text]) {
flex-direction: column;
}
.wpaw-question-card:has(.wpaw-config-form) {
padding-left: 0;
padding-right: 0;
}
.wpaw-question-card:has(.wpaw-config-form) h4,
.wpaw-question-card:has(.wpaw-config-form) .wpaw-quiz-actions {
padding-left: 20px;
padding-right: 20px;
}
.wpaw-question-card .wpaw-config-form {
gap: 0;
}
.wpaw-question-card .wpaw-config-form .wpaw-config-field {
border-radius: unset!important;
border-width: 1px 0;
background-color: unset;
padding-left: 20px;
padding-right: 20px;
}
.wpaw-question-card .wpaw-config-form .wpaw-config-field input[type=text] {
background-color: #1a1a1a!important;
}
.dark-theme .wpaw-question-card {
border-radius: unset;
background-color: #252830;
border-color: #6c6c6c;
}
.dark-theme .wpaw-question-card h4 {
color: white;
font-weight: normal;
}
.dark-theme .wpaw-question-card textarea {
background: #252830;
color: white;
outline: unset;
border-color: #3c3c3c;
font-family: ui-monospace, monospace;
letter-spacing: 1px;
line-height: normal;
}
.dark-theme .wpaw-question-card textarea::placeholder {
color: #6c6c6c
}
.dark-theme .wpaw-question-card textarea::focus,
.dark-theme .wpaw-question-card textarea::active {
border-color: #252830!important;;
}
/* ===========================
INFO MESSAGES
=========================== */
.wpaw-info {
padding: 12px 15px;
background: #fff3cd;
border-left: 4px solid #ffc107;
border-radius: 4px;
font-size: 13px;
margin: 10px 0;
line-height: 1.5;
}
.wpaw-info a {
color: #856404;
font-weight: 600;
text-decoration: underline;
}
.wpaw-info a:hover {
color: #533f03;
}
/* ===========================
BLOCK MENTION STYLES
=========================== */
.wpaw-block-mentioned {
outline: 2px solid #2271b1 !important;
outline-offset: 2px;
box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.2);
animation: wpaw-pulse 1.5s infinite;
transition: all 0.3s ease;
}
.wpaw-block-mentioned:hover {
outline-width: 3px;
box-shadow: 0 0 0 8px rgba(34, 113, 177, 0.3);
}
@keyframes wpaw-pulse {
0%,
100% {
box-shadow: 0 0 0 0px rgba(34, 113, 177, 0.2);
}
50% {
box-shadow: 0 0 0 6px rgba(34, 113, 177, 0.4);
}
}
/* Mention autocomplete */
.wpaw-mention-autocomplete {
position: absolute;
background: white;
border: 1px solid #ddd;
border-radius: 4px;
max-height: 200px;
overflow-y: auto;
z-index: 1000;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.wpaw-mention-option {
padding: 8px 12px;
cursor: pointer;
border-bottom: 1px solid #eee;
transition: background 0.15s ease;
}
.wpaw-mention-option:hover,
.wpaw-mention-option.selected {
background: #e7f3ff;
border-left: 3px solid #2271b1;
}
.wpaw-mention-option strong {
display: block;
color: #333;
font-size: 13px;
}
.wpaw-mention-option span {
display: block;
color: #666;
font-size: 12px;
margin-top: 2px;
}
/* ===========================
RESPONSIVE
=========================== */
@media (max-width: 782px) {
.wpaw-cost-card {
grid-template-columns: 1fr;
}
}
@media (max-width: 482px) {
.interface-complementary-area__fill:has(#wp-agentic-writer\:wp-agentic-writer),
#wp-agentic-writer\:wp-agentic-writer {
width: 100vw !important;
}
}
/* Custom Dots Loader for Agentic Vibe */
.wpaw-dots-loader {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #3b82f6;
box-shadow: 12px 0 #3b82f6, -12px 0 #3b82f6;
position: relative;
animation: wpaw-flash 0.5s ease-out infinite alternate;
margin: 0 20px 0 16px;
display: inline-block;
}
@keyframes wpaw-flash {
0% {
background-color: #93c5fd;
box-shadow: 12px 0 #93c5fd, -12px 0 #3b82f6;
}
50% {
background-color: #3b82f6;
box-shadow: 12px 0 #93c5fd, -12px 0 #93c5fd;
}
100% {
background-color: #93c5fd;
box-shadow: 12px 0 #3b82f6, -12px 0 #93c5fd;
}
}
/* Time Elapsed Indicator */
.wpaw-timeline-elapsed {
font-weight: 400;
color: #6b7280;
font-size: 11px;
margin-left: 4px;
}
/* ===========================
AGENTIC UI REVAMP
=========================== */
/* Status Bar */
.wpaw-status-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
background: #1d2227;
color: #fff;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
font-size: 12px;
border-bottom: 1px solid #3c3c3c;
}
.wpaw-status-indicator {
display: flex;
align-items: center;
gap: 8px;
}
.wpaw-status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #50575e;
}
.wpaw-status-dot.idle {
background: #50575e;
}
.wpaw-status-dot.thinking {
background: #dba617;
animation: statusPulse 1s infinite;
}
.wpaw-status-dot.writing {
background: #2271b1;
animation: statusPulse 0.8s infinite;
}
.wpaw-status-dot.complete {
background: #00a32a;
}
.wpaw-status-dot.error {
background: #d63638;
}
@keyframes statusPulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.4;
}
}
.wpaw-status-label {
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 500;
}
.wpaw-status-cost {
color: #a7aaad;
font-size: 11px;
}
/* Unified Activity Log */
.wpaw-activity-log {
flex: 1;
display: flex;
flex-direction: column;
overflow-y: auto;
background: #fff;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
font-size: 13px;
line-height: 1.5;
}
.dark-theme .wpaw-activity-log {
background: transparent;
border: unset;
}
.wpaw-log-entry {
padding: 10px 12px;
border-left: 3px solid transparent;
border-bottom: 1px solid #f0f0f1;
}
.wpaw-log-entry:last-child {
border-bottom: none;
}
/* User Command */
.wpaw-log-entry.user-command {
background: #f0f6fc;
border-left-color: #2271b1;
}
.wpaw-log-entry.user-command::before {
content: "> ";
color: #2271b1;
font-weight: 600;
}
/* Agent Status (thinking, processing) */
.wpaw-log-entry.agent-status {
color: #50575e;
padding-left: 24px;
position: relative;
}
.wpaw-log-entry.agent-status::before {
content: "●";
position: absolute;
left: 12px;
color: #8c8f94;
font-size: 8px;
}
.wpaw-log-entry.agent-status.active::before {
color: #2271b1;
animation: statusPulse 1s infinite;
}
/* Agent Success */
.wpaw-log-entry.agent-success {
border-left-color: #00a32a;
color: #1d2227;
}
.wpaw-log-entry.agent-success::before {
content: "✓ ";
color: #00a32a;
font-weight: 600;
}
/* Agent Error */
.wpaw-log-entry.agent-error {
background: #fcf0f0;
border-left-color: #d63638;
color: #8a1e1e;
}
.wpaw-log-entry.agent-error::before {
content: "✗ ";
color: #d63638;
font-weight: 600;
}
/* Agent Response (prose) */
.wpaw-log-entry.agent-response {
border-left-color: #dcdcde;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
/* Command Input Area */
.wpaw-command-area {
background: #1d2227;
padding: 12px;
border-top: 1px solid #3c3c3c;
}
.wpaw-command-toolbar {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.wpaw-command-mode {
font-family: ui-monospace, monospace;
font-size: 11px;
color: #a7aaad;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.wpaw-command-mode-value {
color: #2271b1;
font-weight: 600;
}
.wpaw-command-input-wrapper {
display: flex;
align-items: flex-start;
gap: 8px;
background: #252830;
border: 1px solid #3c3c3c;
border-radius: 2px;
padding: 8px 10px;
}
.wpaw-command-prefix {
color: #2271b1;
font-family: ui-monospace, monospace;
font-weight: 600;
font-size: 14px;
line-height: 1.5;
user-select: none;
}
.wpaw-command-input-wrapper .components-textarea-control {
flex: 1;
}
.wpaw-command-input-wrapper textarea,
.wpaw-command-input-wrapper .components-textarea-control__input {
flex: 1;
background: transparent !important;
border: none !important;
color: #fff !important;
font-family: ui-monospace, SFMono-Regular, monospace !important;
font-size: 13px !important;
line-height: 1.5 !important;
resize: none !important;
min-height: 20px !important;
padding: 0 !important;
margin: 0 !important;
box-shadow: none !important;
}
.wpaw-command-input-wrapper textarea::placeholder {
color: #6c6c6c !important;
}
.wpaw-command-actions {
display: flex;
gap: 8px;
margin-top: 8px;
}
.wpaw-command-btn {
background: #2271b1;
color: #fff;
border: none;
border-radius: 2px;
padding: 8px 16px;
font-size: 12px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.05em;
cursor: pointer;
transition: background 0.1s ease;
}
.wpaw-command-btn:hover {
background: #135e96;
}
.wpaw-command-btn:disabled {
background: #3c3c3c;
color: #6c6c6c;
cursor: not-allowed;
}
.wpaw-command-btn.secondary {
background: transparent;
color: #a7aaad;
border: 1px solid #3c3c3c;
}
.wpaw-command-btn.secondary:hover {
border-color: #6c6c6c;
color: #fff;
}
/* Minimal Tabs Override */
.wpaw-tabs-minimal {
display: flex;
background: #1d2227;
border-bottom: 1px solid #3c3c3c;
}
.wpaw-tabs-minimal .wpaw-tab-btn {
background: transparent;
color: #a7aaad;
border: none;
border-bottom: 2px solid transparent;
padding: 10px 16px;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.wpaw-tabs-minimal .wpaw-tab-btn:hover {
color: #fff;
}
.wpaw-tabs-minimal .wpaw-tab-btn.active {
color: #fff;
border-bottom-color: #2271b1;
}
/* ===========================
UI REVAMP - PHASE 2
=========================== */
/* Status Bar Actions (Top Right) */
.wpaw-status-actions {
display: flex;
align-items: center;
gap: 12px;
}
.wpaw-status-icon-btn {
background: transparent;
border: none;
color: #a7aaad;
cursor: pointer;
font-size: 14px;
padding: 2px;
line-height: 1;
transition: color 0.1s ease, transform 0.1s ease;
}
.wpaw-status-icon-btn:hover {
color: #fff;
transform: scale(1.1);
}
.wpaw-status-icon-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
.wpaw-undo-btn {
background: rgba(34, 113, 177, 0.15);
border-radius: 4px;
padding: 4px 8px;
font-size: 12px;
}
.wpaw-undo-btn:hover:not(:disabled) {
background: rgba(34, 113, 177, 0.3);
color: #60a5fa;
}
/* Bottom Toolbar (Inline with Execute) */
.wpaw-command-actions {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 10px;
padding-top: 8px;
border-top: 1px solid #252830;
}
.wpaw-command-actions-group {
display: flex;
align-items: center;
}
.wpaw-command-mode-wrapper {
display: flex;
align-items: center;
gap: 6px;
}
.wpaw-command-label {
font-family: ui-monospace, monospace;
font-size: 11px;
color: #6c6c6c;
letter-spacing: 0.05em;
}
.wpaw-command-mode-select {
background: transparent;
border: none;
color: #2271b1;
font-family: ui-monospace, monospace;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
cursor: pointer;
padding: 0;
margin: 0;
box-shadow: none;
}
.wpaw-command-mode-select:focus {
box-shadow: none;
outline: none;
text-decoration: underline;
}
/* Web Search Toggle */
.wpaw-web-search-toggle {
display: flex!important;
margin-bottom: 0!important;
align-items: center;
gap: 4px;
cursor: pointer;
padding: 4px 8px;
border-radius: 4px;
transition: background 0.15s ease;
}
.wpaw-web-search-toggle:hover {
background: rgba(255, 255, 255, 0.1);
}
.wpaw-web-search-toggle input[type="checkbox"] {
display: none;
}
.wpaw-web-search-icon {
font-size: 12px;
opacity: 0.5;
transition: opacity 0.15s ease;
}
.wpaw-web-search-toggle input:checked + .wpaw-web-search-icon {
opacity: 1;
}
.wpaw-web-search-toggle input:checked + .wpaw-web-search-icon * {
stroke: #4caf50;
}
.wpaw-web-search-label {
font-family: ui-monospace, monospace;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #6c6c6c;
transition: color 0.15s ease;
}
.wpaw-web-search-toggle input:checked ~ .wpaw-web-search-label {
color: #4caf50;
}
.wpaw-command-text-btn {
background: transparent;
border: none;
color: #6c6c6c;
font-family: ui-monospace, monospace;
font-size: 10px;
text-transform: uppercase;
cursor: pointer;
letter-spacing: 0.05em;
padding: 4px 8px;
transition: color 0.1s ease;
}
.wpaw-command-text-btn:hover {
color: #d63638; /* Red on hover for clear */
}
.wpaw-command-stop-btn {
background: #d63638;
color: #fff;
border: none;
font-family: ui-monospace, monospace;
font-size: 11px;
font-weight: 600;
cursor: pointer;
padding: 6px 12px;
border-radius: 4px;
transition: background 0.1s ease;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.wpaw-command-stop-btn:hover {
background: #b32d2e;
}
.wpaw-resume-actions {
display: flex;
gap: 8px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid #3c3c3c;
}
/* Circle Icon Buttons */
.wpaw-command-circle-btn {
width: 40px!important;
height: 40px!important;
border-radius: 50%;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
padding: 0;
}
.wpaw-send-circle-btn {
background: #2271b1;
color: #fff;
}
.wpaw-send-circle-btn:hover:not(:disabled) {
background: #135e96;
transform: scale(1.05);
}
.wpaw-send-circle-btn:disabled {
background: #3c3c3c;
color: #6c6c6c;
cursor: not-allowed;
opacity: 0.5;
}
.wpaw-stop-circle-btn {
background: #d63638;
color: #fff;
}
.wpaw-stop-circle-btn:hover {
background: #b32d2e;
transform: scale(1.05);
}
.wpaw-command-circle-btn svg {
width: 20px!important;
height: 20px!important;
margin-bottom: unset!important;
}
/* Dark Theme Tabs (Config & Cost) */
.wpaw-tab-content.dark-theme {
background: #1d2227; /* Match status bar / command area */
color: #fff;
overflow-y: auto;
padding: 0;
}
/* Tab Header with Back Button */
.wpaw-tab-header {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border-bottom: 1px solid #3c3c3c;
background: #252525;
}
.wpaw-tab-header h3 {
margin: 0;
font-family: ui-monospace, monospace;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #fff;
}
.wpaw-back-btn {
background: transparent;
border: 1px solid #3c3c3c;
color: #a7aaad;
font-family: ui-monospace, monospace;
font-size: 11px;
padding: 4px 10px;
border-radius: 2px;
cursor: pointer;
transition: all 0.1s ease;
}
.wpaw-back-btn:hover {
border-color: #6c6c6c;
color: #fff;
}
/* Dark Theme Config Sections */
.wpaw-tab-content.dark-theme .wpaw-config-section {
padding: 16px;
border-top: unset;
border-right: unset;
border-left: unset;
border-bottom: 1px solid #6c6c6c;
background-color: #252830;
}
.wpaw-tab-content.dark-theme label {
display: block;
font-family: ui-monospace, monospace;
font-size: 11px;
color: #a7aaad;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 8px;
}
.wpaw-select,
.wpaw-tab-content.dark-theme input[type="text"],
.wpaw-tab-content.dark-theme select {
background: #252830 !important;
border: 1px solid #3c3c3c !important;
color: #fff !important;
border-radius: 2px !important;
padding: 6px 10px !important;
width: 100%;
}
.wpaw-tab-content.dark-theme input[type="text"]::placeholder {
color: #4c4c4c;
}
.wpaw-tab-content.dark-theme .description,
.wpaw-tab-content.dark-theme .components-checkbox-control__help {
color: #6c6c6c;
font-family: ui-monospace, monospace;
font-size: 11px;
margin-top: 6px;
}
/* Dark Theme Cost Card overrides */
.wpaw-tab-content.dark-theme .wpaw-cost-card {
background: transparent;
border: none;
box-shadow: none;
}
.wpaw-tab-content.dark-theme .wpaw-cost-stat {
border-top: unset;
border-right: unset;
border-left: unset;
border-bottom-color: #6c6c6c;
}
.wpaw-tab-content.dark-theme .wpaw-cost-stat label {
color: #6c6c6c;
}
.wpaw-tab-content.dark-theme .wpaw-cost-value {
font-family: ui-monospace, monospace;
color: #fff;
font-size: 18px;
}
/* Ensure no white flash on dark tabs */
.wpaw-tab-content.dark-theme .components-panel__body {
background: #1d2227;
}
/* ===========================
SEO SECTION STYLES
=========================== */
.wpaw-config-divider {
display: flex;
align-items: center;
margin: 16px 0 8px;
padding: 16px 16px 5px;
border-top: 1px solid #3c3c3c;
}
.wpaw-config-divider span {
font-size: 11px;
font-weight: 600;
color: #a7aaad;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.wpaw-meta-info {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 8px;
gap: 8px;
}
.wpaw-meta-info span {
font-size: 11px;
font-family: ui-monospace, monospace;
}
.wpaw-meta-info span.good {
color: #4ade80;
}
.wpaw-meta-info span.warning {
color: #fbbf24;
}
.wpaw-meta-info .components-button {
font-size: 11px;
padding: 4px 8px;
}
.wpaw-tab-content.dark-theme textarea {
background: #252830 !important;
/* border: 1px solid #3c3c3c !important; */
color: #fff !important;
/* border-radius: 2px !important; */
/* padding: 8px 10px !important; */
width: 100%;
min-height: 60px;
resize: vertical;
}
.wpaw-tab-content.dark-theme textarea::placeholder {
color: #4c4c4c;
}
/* SEO Audit Styles */
.wpaw-seo-audit-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.wpaw-seo-audit-header label {
font-size: 11px;
font-weight: 600;
color: #a7aaad;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.wpaw-seo-audit-results {
background: #252830;
border-radius: 4px;
padding: 12px;
}
.wpaw-seo-score {
display: flex;
align-items: baseline;
justify-content: center;
margin-bottom: 12px;
padding: 8px;
border-radius: 4px;
}
.wpaw-seo-score.good {
background: rgba(74, 222, 128, 0.1);
}
.wpaw-seo-score.warning {
background: rgba(251, 191, 36, 0.1);
}
.wpaw-seo-score.poor {
background: rgba(248, 113, 113, 0.1);
}
.wpaw-seo-score .score-value {
font-size: 28px;
font-weight: 700;
font-family: ui-monospace, monospace;
}
.wpaw-seo-score.good .score-value {
color: #4ade80;
}
.wpaw-seo-score.warning .score-value {
color: #fbbf24;
}
.wpaw-seo-score.poor .score-value {
color: #f87171;
}
.wpaw-seo-score .score-label {
font-size: 14px;
color: #6c6c6c;
margin-left: 2px;
}
.wpaw-seo-stats {
display: flex;
gap: 16px;
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: 1px solid #3c3c3c;
}
.wpaw-seo-stat {
flex: 1;
text-align: center;
}
.wpaw-seo-stat .stat-label {
display: block;
font-size: 10px;
color: #6c6c6c;
text-transform: uppercase;
margin-bottom: 4px;
}
.wpaw-seo-stat .stat-value {
display: block;
font-size: 16px;
font-weight: 600;
color: #fff;
font-family: ui-monospace, monospace;
}
.wpaw-seo-checks {
display: flex;
flex-direction: column;
gap: 6px;
}
.wpaw-seo-check {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
}
.wpaw-seo-check .check-icon {
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 10px;
}
.wpaw-seo-check.passed .check-icon {
background: rgba(74, 222, 128, 0.2);
color: #4ade80;
}
.wpaw-seo-check.failed .check-icon {
background: rgba(248, 113, 113, 0.2);
color: #f87171;
}
.wpaw-seo-check .check-label {
color: #a7aaad;
}
.wpaw-meta-info > button.components-button.is-secondary.is-small {
outline: unset!important;
color: #fbbf24;
border: 1px solid #fbbf24;
box-shadow: unset!important;
}
.wpaw-seo-audit-header .components-button.is-secondary.is-small {
outline: unset!important;
color: #4ade80;
border: 1px solid #4ade80;
box-shadow: unset!important;
}
.wpaw-spinning-icon svg {
animation: wpaw-spin 1s linear infinite;
}
@keyframes wpaw-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* ===========================
WRITING MODE EMPTY STATE
=========================== */
.wpaw-writing-empty-state {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
padding: 2rem;
margin: 1rem 0;
font-family: ui-monospace, monospace;
}
.wpaw-empty-state-content {
text-align: center;
max-width: 400px;
}
.wpaw-empty-state-icon {
font-size: 3rem;
display: block;
margin-bottom: 1rem;
opacity: 0.8;
}
.wpaw-empty-state-content h3 {
margin: 2rem 0 0.5rem 0;
font-size: 1.5rem;
color: #135e96;
font-weight: 600;
}
.wpaw-empty-state-content p {
color: #666;
margin: 0.5rem 0;
line-height: 1.5;
font-size: 0.95rem;
}
.wpaw-empty-state-button {
margin: 1.5rem 0 1rem 0 !important;
font-size: 1rem !important;
}
.wpaw-empty-state-hint {
font-size: 0.9rem !important;
margin-top: 1rem !important;
color: #888 !important;
}
.wpaw-link-button {
background: none;
border: none;
color: #2271b1;
text-decoration: underline;
cursor: pointer;
padding: 0;
font: inherit;
font-size: inherit;
}
.wpaw-link-button:hover {
color: #135e96;
}
/* ===========================
CONTEXT INDICATOR
=========================== */
.wpaw-context-indicator {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.25rem 1rem;
font-family: ui-monospace, monospace;
font-size: 11px;
background: rgba(0, 0, 0, 0.1);
}
.wpaw-context-info {
display: flex;
gap: 1rem;
align-items: center;
}
.wpaw-context-count {
color: #0066cc;
font-weight: 500;
}
.wpaw-context-tokens {
color: #666;
}
.wpaw-context-cost {
color: #28a745;
font-weight: 600;
}
.wpaw-context-toggle {
background: none;
border: none;
color: #0066cc;
cursor: pointer;
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.85rem;
transition: background-color 0.2s;
}
.wpaw-context-toggle:hover {
background: rgba(0, 102, 204, 0.1);
}
.wpaw-command-input-wrapper.expanded {
transition: min-height 0.3s ease;
}
.wpaw-command-input-wrapper.expanded textarea {
transition: min-height 0.3s ease;
}
/* ===========================
CONTEXTUAL ACTION CARDS
=========================== */
.wpaw-contextual-action {
display: flex;
gap: 1rem;
padding: 1rem;
background: rgb(255 255 255 / 10%);
border: 2px dashed rgba(255 255 255 / 25%);
border-radius: 8px;
margin: 1rem 0;
color: white;
}
.wpaw-action-icon {
font-size: 2rem;
line-height: 1;
flex-shrink: 0;
}
.wpaw-action-content {
flex: 1;
}
.wpaw-action-content h4 {
margin: 0 0 0.25rem 0;
font-weight: 600;
color: white;
}
.wpaw-action-content p {
margin: 0 0 0.75rem 0;
color: rgba(255, 255, 255, 0.9);
line-height: 1.4;
}
.wpaw-action-content .components-button {
background: white !important;
color: #667eea !important;
border: none !important;
font-weight: 600 !important;
padding: 0.5rem 1rem !important;
}
.wpaw-action-content .components-button:hover {
background: #f0f0f0 !important;
color: #5568d3 !important;
}
/* Variant for different intent types */
.wpaw-contextual-action.intent-create-outline {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.wpaw-contextual-action.intent-start-writing {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.wpaw-contextual-action.intent-refine-content {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
/* ===========================
INFO MESSAGE STYLES
=========================== */
.wpaw-ai-item[data-type="info"] {
background: #e7f3ff;
border-left: 4px solid #2271b1;
padding: 0.75rem 1rem;
margin: 0.5rem 0;
border-radius: 4px;
}
.wpaw-ai-item[data-type="info"] .wpaw-ai-content {
color: #1e1e1e;
font-size: 0.9rem;
line-height: 1.5;
}
/* ===========================
SMOOTH TRANSITIONS
=========================== */
.wpaw-writing-empty-state,
.wpaw-context-indicator,
.wpaw-contextual-action {
animation: fadeInUp 0.3s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}