/* Meta Tag aracı stilleri */

.w4-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .w4-meta-grid {
        grid-template-columns: 1fr;
    }
}

.w4-meta-form .w4tool__label {
    margin-top: 14px;
}

.w4-meta-form .w4tool__label:first-child {
    margin-top: 0;
}

/* Karakter sayacı + progress */
.w4-meta-progress {
    margin: 6px 0 4px;
    font-size: 12px;
    color: var(--w4-ink-muted);
}

.w4-meta-progress strong {
    color: var(--w4-ink-soft);
    font-weight: 600;
}

.w4-meta-bar {
    height: 4px;
    background: var(--w4-border);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.w4-meta-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--w4-ink-muted);
    transition: width 0.2s, background 0.2s;
    border-radius: 2px;
}

.w4-meta-bar-fill.optimal { background: var(--w4-success); }
.w4-meta-bar-fill.warning { background: #D97706; }
.w4-meta-bar-fill.danger { background: var(--w4-danger); }

/* SERP önizleme */
.w4-serp-preview {
    background: white;
    border: 1px solid var(--w4-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.w4-serp-label {
    font-family: var(--w4-font-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--w4-ink-muted);
    margin-bottom: 14px;
}

.w4-serp-result {
    font-family: arial, sans-serif;
}

.w4-serp-favicon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.w4-serp-icon {
    width: 26px;
    height: 26px;
    background: var(--w4-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.w4-serp-site {
    font-size: 14px;
    color: #202124;
    line-height: 1.3;
}

.w4-serp-url {
    font-size: 12px;
    color: #4d5156;
    line-height: 1.3;
}

.w4-serp-title {
    font-size: 20px;
    color: #1a0dab;
    margin: 2px 0 4px;
    line-height: 1.3;
    cursor: pointer;
}

.w4-serp-title:hover {
    text-decoration: underline;
}

.w4-serp-desc {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.58;
}

/* Mobil önizleme */
.w4-serp-result--mobile {
    max-width: 380px;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--w4-border);
    border-radius: 8px;
    background: white;
}

.w4-serp-result--mobile .w4-serp-title {
    font-size: 18px;
}

.w4-serp-result--mobile .w4-serp-desc {
    font-size: 13px;
}

/* Output - HTML kod */
.w4-meta-output {
    white-space: pre-wrap;
    font-size: 13px !important;
    line-height: 1.6 !important;
}
