/* Website Summaries CSS */
.website-summary-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
    overflow: hidden;
}

.website-summary-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.website-summary-content {
    position: relative;
    z-index: 2;
}

.website-summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.website-summary-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.website-summary-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.website-summary-subtitle {
    font-size: 14px;
    opacity: 0.8;
    margin: 5px 0 0 0;
}

.website-summary {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    color: #333;
    line-height: 1.6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.website-summary h2 {
    color: #667eea;
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.website-summary h3 {
    color: #764ba2;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px 0;
}

.website-summary h4 {
    color: #555;
    font-size: 16px;
    font-weight: 600;
    margin: 18px 0 10px 0;
}

.website-summary p {
    margin: 12px 0;
    color: #444;
}

.website-summary ul {
    margin: 15px 0;
    padding-left: 20px;
}

.website-summary li {
    margin: 8px 0;
    color: #555;
}

.website-summary strong {
    color: #667eea;
    font-weight: 600;
}

/* Loading Animation */
.summary-loading {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    color: #333;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.loading-progress {
    background: #f0f0f0;
    border-radius: 10px;
    height: 6px;
    overflow: hidden;
    margin: 15px 0;
}

.loading-progress-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 10px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.loading-steps {
    text-align: left;
    margin-top: 20px;
}

.loading-step {
    display: flex;
    align-items: center;
    margin: 10px 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.loading-step.active {
    opacity: 1;
    color: #667eea;
    font-weight: 600;
}

.loading-step.completed {
    opacity: 0.8;
    color: #28a745;
}

.loading-step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #f0f0f0;
    color: #666;
}

.loading-step.active .loading-step-icon {
    background: #667eea;
    color: white;
}

.loading-step.completed .loading-step-icon {
    background: #28a745;
    color: white;
}

/* Error State */
.summary-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    padding: 20px;
    color: #721c24;
    text-align: center;
}

.summary-error-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .website-summary-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .website-summary {
        padding: 20px;
    }
    
    .website-summary-title {
        font-size: 20px;
    }
    
    .website-summary h2 {
        font-size: 18px;
    }
    
    .website-summary h3 {
        font-size: 16px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .website-summary {
        background: rgba(30, 30, 30, 0.95);
        color: #e0e0e0;
    }
    
    .website-summary h2 {
        color: #8b9dc3;
    }
    
    .website-summary h3 {
        color: #a78bb3;
    }
    
    .website-summary h4 {
        color: #ccc;
    }
    
    .website-summary p, .website-summary li {
        color: #d0d0d0;
    }
    
    .website-summary strong {
        color: #8b9dc3;
    }
    
    .summary-loading {
        background: rgba(30, 30, 30, 0.95);
        color: #e0e0e0;
    }
    
    .loading-text {
        color: #ccc;
    }
} 