.back-link-bar {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 20px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

header h1 {
    margin: 0 0 8px;
    font-size: 2rem;
}

header p {
    margin: 0;
    color: #4b5563;
}

.seo-content {
    margin: 20px 0;
    padding: 16px 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tool-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

button, .file-label {
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    background: #2563eb;
    color: #fff;
}

button.secondary {
    background: #6b7280;
}

.file-label {
    display: inline-block;
    background: #111827;
}

input[type="file"] {
    max-width: 220px;
}

.preview-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.preview-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #f9fafb;
}

.preview-card img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    margin-top: 8px;
    background: #fff;
    border-radius: 8px;
}

.favicon-list {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.favicon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.status {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
}

.status.success {
    background: #ecfdf3;
    color: #047857;
}

.status.error {
    background: #fef2f2;
    color: #b91c1c;
}

.site-footer {
    margin-top: 24px;
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

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