
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --primary-light: #e7f1ff;
}

body {
    background-color: #f8f9fa;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tool-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tool-header {
    background: linear-gradient(135deg, var(--primary-color), #084298);
    color: white;
    padding: 1.5rem;
}

.form-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #333;
}

.preview-area {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 300px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.meta-tag {
    color: #d63384;
}

.meta-content {
    color: #0dcaf0;
}

.tag-type {
    background-color: #6c757d;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.tag-type-og {
    background-color: #fd7e14;
}

.tag-type-twitter {
    background-color: #0dcaf0;
}

.tag-item {
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.copy-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

.social-preview {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    margin: 1rem 0;
    background: white;
}

.social-preview-img {
    height: 260px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.social-preview-content {
    padding: 1rem;
}

.social-preview-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.social-preview-desc {
    color: #666;
    font-size: 0.9rem;
}

.social-preview-url {
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: lowercase;
}