.seo-analyzer-container {
    max-width: 100%;
    margin: 20px 0;
}

.seo-analyzer-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.seo-analyzer-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.seo-analyzer-button {
    padding: 12px 25px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.seo-analyzer-button:hover {
    background: #005a87;
}

.seo-analyzer-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.seo-analyzer-loading {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 5px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.seo-analyzer-results {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.seo-analyzer-error {
    background: #ffe6e6;
    border: 1px solid #ffcccc;
    border-radius: 5px;
    padding: 15px;
    color: #d63031;
    margin: 10px 0;
}

.seo-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fafafa;
}

.seo-section h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.seo-item {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 3px;
    border-left: 4px solid #007cba;
}

.seo-item.good {
    border-left-color: #27ae60;
}

.seo-item.warning {
    border-left-color: #f39c12;
}

.seo-item.error {
    border-left-color: #e74c3c;
}

.seo-label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.seo-value {
    color: #666;
}

.seo-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.seo-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.seo-list li:last-child {
    border-bottom: none;
}

.seo-suggestions {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
}

.seo-suggestions h4 {
    margin-top: 0;
    color: #856404;
}

.seo-suggestions ul {
    margin: 0;
    padding-left: 20px;
}

.seo-suggestions li {
    margin-bottom: 8px;
    color: #856404;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.metric-card {
    background: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.metric-value {
    font-size: 24px;
    font-weight: bold;
    color: #007cba;
    display: block;
}

.metric-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .seo-analyzer-form {
        flex-direction: column;
    }
    
    .seo-analyzer-input {
        min-width: 100%;
    }
    
    .metric-grid {
        grid-template-columns: 1fr;
    }
}