.wpgis-ai-progress {
display: flex;
gap: 20px;
padding: 30px 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 12px;
color: white;
position: relative;
overflow: hidden;
} .wpgis-ai-progress::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
animation: rotate-bg 20s linear infinite;
}
@keyframes rotate-bg {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} .wpgis-ai-avatar {
position: relative;
width: 80px;
height: 80px;
flex-shrink: 0;
z-index: 1;
}
.avatar-pulse {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
0% {
transform: scale(0.8);
opacity: 1;
}
100% {
transform: scale(1.5);
opacity: 0;
}
}
.avatar-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 40px;
z-index: 2;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
50% { transform: translate(-50%, -50%) translateY(-10px); }
} .wpgis-progress-content {
flex: 1;
position: relative;
z-index: 1;
} .progress-bar-modern {
position: relative;
width: 100%;
height: 8px;
background: rgba(255, 255, 255, 0.2);
border-radius: 10px;
overflow: hidden;
margin-bottom: 15px;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #00ff87 0%, #60efff 100%);
border-radius: 10px;
transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
box-shadow: 0 0 15px rgba(0, 255, 135, 0.5);
}
.progress-shimmer {
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.4),
transparent
);
animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
0% { left: -100%; }
100% { left: 100%; }
} .progress-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.progress-text {
font-size: 16px;
font-weight: 600;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.progress-percent {
font-size: 24px;
font-weight: 700;
font-family: 'Courier New', monospace;
} .thinking-animation {
display: flex;
gap: 5px;
margin-bottom: 20px;
}
.thinking-animation .dot {
width: 8px;
height: 8px;
background: rgba(255, 255, 255, 0.8);
border-radius: 50%;
animation: thinking 1.4s infinite;
}
.thinking-animation .dot:nth-child(2) {
animation-delay: 0.2s;
}
.thinking-animation .dot:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes thinking {
0%, 60%, 100% {
transform: scale(1);
opacity: 0.7;
}
30% {
transform: scale(1.3);
opacity: 1;
}
} .sub-tasks {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 200px;
overflow-y: auto;
padding-right: 10px;
}
.sub-tasks::-webkit-scrollbar {
width: 6px;
}
.sub-tasks::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
.sub-tasks::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 3px;
}
.sub-task {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.1);
border-radius: 6px;
transition: all 0.3s ease;
}
.sub-task.active {
background: rgba(255, 255, 255, 0.2);
transform: translateX(5px);
}
.task-status {
font-size: 16px;
min-width: 24px;
text-align: center;
transition: transform 0.3s ease;
}
.task-status.processing {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.task-status.completed {
animation: pop 0.3s ease-out;
}
@keyframes pop {
0% { transform: scale(0); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
.task-name {
font-size: 14px;
flex: 1;
} .retry-info {
margin-top: 15px;
padding: 10px 15px;
background: rgba(255, 165, 0, 0.2);
border: 1px solid rgba(255, 165, 0, 0.5);
border-radius: 6px;
display: flex;
align-items: center;
gap: 10px;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.retry-icon {
font-size: 18px;
animation: rotate 1s linear infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.retry-text {
font-size: 13px;
font-weight: 500;
} .wpgis-ai-error {
text-align: center;
padding: 40px 20px;
}
.error-icon {
font-size: 64px;
margin-bottom: 20px;
animation: shake 0.5s ease;
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-10px); }
75% { transform: translateX(10px); }
}
.wpgis-ai-error h3 {
color: #d32f2f;
margin-bottom: 15px;
}
.wpgis-ai-error p {
color: #666;
margin-bottom: 25px;
}
.retry-btn {
padding: 12px 30px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.retry-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.retry-btn:active {
transform: translateY(0);
} .wpgis-restore-notification {
position: fixed;
bottom: 20px;
right: 20px;
max-width: 400px;
padding: 20px;
background: white;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
z-index: 10000;
animation: slideIn 0.3s ease;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.restore-notification-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.restore-notification-header h4 {
margin: 0;
color: #333;
}
.restore-notification-close {
background: none;
border: none;
font-size: 20px;
cursor: pointer;
color: #999;
}
.restore-notification-body {
margin-bottom: 15px;
color: #666;
}
.restore-notification-actions {
display: flex;
gap: 10px;
}
.restore-notification-actions button {
flex: 1;
padding: 10px;
border: none;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.restore-btn-primary {
background: #667eea;
color: white;
}
.restore-btn-primary:hover {
background: #5568d3;
}
.restore-btn-secondary {
background: #e0e0e0;
color: #333;
}
.restore-btn-secondary:hover {
background: #d0d0d0;
} @media (max-width: 768px) {
.wpgis-ai-progress {
flex-direction: column;
gap: 15px;
}
.wpgis-ai-avatar {
align-self: center;
}
.progress-info {
flex-direction: column;
align-items: flex-start;
gap: 5px;
}
.sub-tasks {
max-height: 150px;
}
.wpgis-restore-notification {
bottom: 10px;
right: 10px;
left: 10px;
max-width: none;
}
} @media (prefers-color-scheme: dark) {
.wpgis-ai-error {
background: #1e1e1e;
color: #e0e0e0;
}
.wpgis-ai-error p {
color: #b0b0b0;
}
}