/* SEO Analyzer Styles */

.url-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.url-input-group .input-field {
    padding: 14px 18px;
}

.url-input-group .btn {
    white-space: nowrap;
    padding: 14px 28px;
}

.error-message {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fff5f5;
    border: 1px solid #fc8181;
    border-radius: 8px;
    color: #c53030;
    font-size: 0.9rem;
}

/* Score Card */
.score-card {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.score-circle.good {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.score-circle.warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.score-circle.bad {
    background: linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.score-info {
    flex: 1;
}

/* Issues Grid */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.issue-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #cbd5e0;
}

.issue-card.pass {
    border-left-color: #48bb78;
}

.issue-card.warning {
    border-left-color: #ed8936;
}

.issue-card.fail {
    border-left-color: #e53e3e;
}

.issue-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.issue-icon {
    font-size: 1.2rem;
}

.issue-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.issue-value {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 8px;
    word-break: break-word;
}

.issue-recommendation {
    font-size: 0.85rem;
    color: #4a5568;
    padding: 10px 12px;
    background: #f7fafc;
    border-radius: 6px;
    margin-top: 10px;
}

/* Loading Spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #FF6B6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .url-input-group {
        flex-direction: column;
    }

    .url-input-group .btn {
        width: 100%;
    }

    .score-card {
        flex-direction: column;
        text-align: center;
    }
}