/* SEO Checker Styles */
.seo-checker-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.seo-checker-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    padding: 40px;
    margin: 0;
    position: relative;
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
}

.seo-checker-title {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.seo-checker-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.seo-checker-form {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.seo-checker-form .form-group {
    margin-bottom: 25px;
}

.seo-checker-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.seo-checker-form input[type="url"],
#seo-checker-url {
    width: 100%;
    padding-top: 12px;
    padding-right: 15px;
    padding-bottom: 12px;
    padding-left: 20px !important;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.seo-checker-form input[type="url"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.seo-checker-form input[type="url"]::placeholder {
    color: #999;
    opacity: 1;
}

.seo-checker-btn {
    padding: 12px 30px;
    background: #1356E3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    width: auto;
    min-width: 200px;
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.seo-checker-btn:hover:not(:disabled) {
    background: #0f45b8;
    border-radius: 8px;
}

.seo-checker-btn:active:not(:disabled) {
    background: #0f45b8;
    border-radius: 8px;
}

.seo-checker-btn:focus:not(:disabled) {
    background: #0f45b8;
    border-radius: 8px;
    outline: none;
}

.seo-checker-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #1356E3;
}

/* Loading */
.seo-checker-loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1356E3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.seo-checker-loading p {
    color: #666;
    font-size: 16px;
}

/* Results */
.seo-checker-results {
    margin-top: 30px;
}

.seo-results-container {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Score Header */
.seo-score-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.seo-score-header h3 {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.seo-score-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    font-weight: bold;
    margin: 0 auto;
    border: 8px solid;
    transition: all 0.3s ease;
}

.seo-score-circle.score-excellent {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.seo-score-circle.score-good {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

.seo-score-circle.score-fair {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.seo-score-circle.score-poor {
    background: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

.score-number {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 5px;
}

.score-label {
    font-size: 16px;
    opacity: 0.8;
}

/* Sections */
.seo-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.seo-section h4 {
    color: #1a1a1a;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

.seo-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seo-info-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #1356E3;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid #f0f0f0;
}

.seo-info-row strong {
    color: #333;
    font-size: 14px;
    min-width: 180px;
    flex-shrink: 0;
    font-weight: 500;
}

.seo-info-row span {
    color: #666;
    font-size: 14px;
    word-break: break-word;
    flex: 1;
}

.seo-info-row small {
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}

.seo-info-row.error {
    border-left-color: #f44336;
    background: #ffebee;
}

.seo-info-row.error strong {
    color: #c62828;
}

.seo-info-row.warning {
    border-left-color: #ffc107;
    background: #fffbf0;
}

.seo-info-row.warning strong {
    color: #f57c00;
}

.seo-info-row .error {
    color: #f44336;
    font-weight: 500;
}

.seo-info-row .status-ok {
    color: #4caf50;
    font-weight: 500;
}

.seo-info-row .status-error {
    color: #f44336;
    font-weight: 500;
}

/* Errors and Warnings */
.seo-issues {
    border-radius: 8px;
}

.seo-issues h4 {
    color: #1a1a1a;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-weight: 600;
}

/* Errors (Red - Critical) */
.seo-errors-section {
    margin-bottom: 25px;
}

.seo-errors-title {
    color: #c62828;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.seo-errors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-errors-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: #ffebee;
    border-radius: 6px;
    border-left: 4px solid #f44336;
    color: #c62828;
}

/* Warnings (Yellow - Minor) */
.seo-warnings-section {
    margin-bottom: 0;
}

.seo-warnings-title {
    color: #f57c00;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.seo-warnings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-warnings-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: #fffbf0;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    color: #f57c00;
}

.seo-checker-error {
    padding: 20px;
    background: #ffebee;
    border: 2px solid #f44336;
    border-radius: 8px;
    text-align: center;
}

.seo-checker-error p {
    color: #c62828;
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-checker-container {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
    }

    .seo-checker-title {
        font-size: 24px;
    }

    .seo-score-header h3 {
        font-size: 24px;
    }

    .seo-score-circle {
        width: 120px;
        height: 120px;
    }

    .score-number {
        font-size: 36px;
    }

    .seo-info-row {
        flex-direction: column;
        gap: 5px;
    }

    .seo-info-row strong {
        min-width: auto;
    }

    .seo-section {
        padding: 15px;
    }
}
