/* Meta SEO Kontrol Aracı - Stilleri */

.meta-seo-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: inherit;
}

.meta-seo-wrapper {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.meta-seo-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    color: white !important;
    padding: 30px !important;
    text-align: center !important;
}

.meta-seo-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.meta-seo-header p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
    margin: 0;
}

/* SVG İkonları */
.meta-seo-icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.meta-seo-icon-seo {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-title {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M5 4v3h5.5v12h3V7H19V4H5z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-description {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-url {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-check {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-eye {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-chart {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-lightbulb {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm-1 15.5v-2.5h2v2.5h-2zm0-3.5h2V9h-2v5z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-info {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-icon-keywords {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233b82f6' viewBox='0 0 24 24'%3E%3Cpath d='M17.63 5.84C17.27 5.33 16.67 5 16 5L8 5.01C6.9 5.01 6 5.9 6 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H8V7h8l3.55 5L16 17z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.meta-seo-main {
    padding: 30px;
}

.meta-seo-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.meta-seo-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-seo-input-group label {
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.meta-seo-input-help {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 5px;
    font-style: italic;
}

.meta-seo-input-with-counter {
    position: relative;
}

.meta-seo-input-with-counter input,
.meta-seo-input-with-counter textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    font-family: inherit;
    box-sizing: border-box;
}

.meta-seo-input-with-counter input:focus,
.meta-seo-input-with-counter textarea:focus {
    outline: none;
    border-color: #3b82f6 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.meta-seo-counter {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.meta-seo-validation {
    margin-top: 5px;
}

.meta-seo-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.meta-seo-status.valid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.meta-seo-status.invalid {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.meta-seo-status.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.meta-seo-check-btn {
    background: #3b82f6 !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.meta-seo-check-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.meta-seo-check-btn:hover {
    background: #1e40af !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3) !important;
    color: white !important;
}

.meta-seo-check-btn:hover::before {
    left: 100%;
}

.meta-seo-check-btn:active {
    transform: translateY(0);
}

.meta-seo-check-btn .meta-seo-icon {
    width: 20px !important;
    height: 20px !important;
}

.meta-seo-preview-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.meta-seo-preview-section,
.meta-seo-analysis-section {
    margin-bottom: 30px;
}

.meta-seo-preview-section h3,
.meta-seo-analysis-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.meta-seo-serp-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
}

.meta-seo-serp-title {
    color: #1a0dab;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 5px;
    cursor: pointer;
    text-decoration: none;
}

.meta-seo-serp-title:hover {
    text-decoration: underline;
}

.meta-seo-serp-url {
    color: #006621;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-seo-serp-url::before {
    content: "🔗";
    font-size: 0.8rem;
}

.meta-seo-serp-description {
    color: #545454;
    font-size: 0.9rem;
    line-height: 1.4;
}

.meta-seo-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.meta-seo-analysis-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.meta-seo-analysis-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-seo-analysis-icon::before {
    content: "";
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.meta-seo-analysis-icon.meta-seo-icon-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M5 4v3h5.5v12h3V7H19V4H5z'/%3E%3C/svg%3E");
}

.meta-seo-analysis-icon.meta-seo-icon-description::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z'/%3E%3C/svg%3E");
}

.meta-seo-analysis-icon.meta-seo-icon-keywords::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M17.63 5.84C17.27 5.33 16.67 5 16 5L8 5.01C6.9 5.01 6 5.9 6 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H8V7h8l3.55 5L16 17z'/%3E%3C/svg%3E");
}

.meta-seo-analysis-content h4 {
    margin: 0 0 8px 0;
    color: #2d3748;
    font-size: 1rem;
}

.meta-seo-analysis-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: pre-line;
}


.meta-seo-footer {
    background: #f8fafc;
    padding: 20px 30px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

.meta-seo-footer .meta-seo-icon {
    width: 16px !important;
    height: 16px !important;
    margin-right: 5px !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .meta-seo-header {
        padding: 20px;
    }
    
    .meta-seo-header h2 {
        font-size: 1.5rem;
    }
    
    .meta-seo-main {
        padding: 20px;
    }
    
    .meta-seo-check-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .meta-seo-analysis-grid {
        grid-template-columns: 1fr;
    }

    .meta-seo-serp-preview {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .meta-seo-header h2 {
        font-size: 1.3rem;
    }
    
    .meta-seo-main {
        padding: 15px;
    }
    
    .meta-seo-form {
        gap: 20px;
    }
}

/* Animasyonlar */
@keyframes metaSeoFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meta-seo-preview-container {
    animation: metaSeoFadeInUp 0.5s ease-out;
}
