/* GYWS SEO Compare v1.1 styles */

.gyws-seo-compare-wrap {
    max-width: 900px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

.gyws-seo-compare-header { text-align: center; margin-bottom: 18px; }
.gyws-seo-compare-header h2 { color: #09a492; margin: 0 0 6px; font-size: 1.6rem; font-weight: 700; }
.gyws-seo-compare-tagline { margin: 0; color: #4b5563; font-size: 1rem; }

.gyws-seo-compare-form { margin-top: 12px; }
.gyws-seo-compare-fields {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}
.gyws-seo-compare-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #1a1a1a;
}
.gyws-seo-compare-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
}
.gyws-seo-compare-vs {
    font-weight: 700;
    color: #09a492;
    padding-bottom: 10px;
    font-size: 1.1rem;
}
@media (max-width: 600px) {
    .gyws-seo-compare-fields { grid-template-columns: 1fr; }
    .gyws-seo-compare-vs { padding: 4px 0; text-align: center; }
}

.gyws-seo-compare-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #09a492;
    color: #fff;
    border: none;
    border-radius: 8px;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}
.gyws-seo-compare-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.gyws-seo-compare-status {
    margin-top: 14px;
    padding: 10px 14px;
    background: #f6fcfb;
    border: 1px solid #09a492;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1a1a1a;
}
.gyws-seo-compare-status.gyws-cmp-error {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}

.gyws-seo-compare-results { margin-top: 20px; }
.gyws-cmp-headline {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #09a492;
    padding: 14px;
    background: #f6fcfb;
    border-radius: 8px;
    margin-bottom: 14px;
}
.gyws-cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.gyws-cmp-table th, .gyws-cmp-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    word-break: break-word;
}
.gyws-cmp-table th {
    background: #f9fafb;
    font-weight: 700;
    color: #1a1a1a;
}
.gyws-cmp-label { font-weight: 600; color: #4b5563; }
.gyws-cmp-win  { background: #dcfce7; color: #166534; font-weight: 700; }
.gyws-cmp-lose { background: #fee2e2; color: #991b1b; }
.gyws-cmp-tie  { background: #fef3c7; color: #92400e; }
.gyws-cmp-cached {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #6b7280;
    text-align: right;
    font-style: italic;
}
