/* 메타 태그 생성기 스타일 - json-csv-converter 디자인 언어 차용 (cyan/blue 테마) */
.meta-tag-generator-tool {
    --tool-primary: #0891b2;
    --tool-bg: #ecfeff;
    --tool-gradient: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
}

/* 히어로 */
.mtg-hero {
    background: var(--tool-gradient);
    border-radius: 16px;
    padding: 36px 32px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}
.mtg-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}
.mtg-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}
.mtg-hero h1 {
    font-size: 28px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin: 10px 0 6px;
}
.mtg-hero p {
    opacity: 0.85;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* 액션 버튼 */
.btn-action {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 9px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-action:hover {
    border-color: var(--tool-primary);
    color: var(--tool-primary);
    background: var(--tool-bg);
}
.btn-action-sm {
    padding: 5px 11px;
    font-size: 12.5px;
    border-radius: 8px;
}
.btn-action-primary {
    background: var(--tool-gradient);
    border: none;
    color: #fff;
}
.btn-action-primary:hover {
    background: var(--tool-gradient);
    border: none;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.3);
}

/* 에디터 카드 */
.editor-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.editor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
}
.editor-title {
    font-weight: 700;
    font-size: 14px;
    color: #343a40;
}
.editor-title i {
    color: var(--tool-primary);
}
.editor-body {
    padding: 16px;
    flex: 1;
}

/* 폼 포커스 (테마 컬러) */
.meta-tag-generator-tool .form-control:focus,
.meta-tag-generator-tool .form-select:focus {
    border-color: var(--tool-primary);
    box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.15);
}
.meta-tag-generator-tool textarea {
    line-height: 1.6;
    resize: none;
}
.meta-tag-generator-tool .btn-link {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--tool-primary);
    text-decoration: none;
    font-weight: 600;
}
.meta-tag-generator-tool .btn-link:hover {
    background: transparent;
    border: none;
    color: var(--tool-primary);
    text-decoration: underline;
}

/* 코드 출력 (catppuccin 다크 + 메타 신택스 하이라이팅) */
.meta-code-output {
    background-color: #1e1e2e !important;
    color: #cdd6f4;
    border-radius: 12px !important;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    line-height: 1.7;
    margin: 0;
}
.meta-code-output .meta-comment {
    color: #6c7086;
    font-style: italic;
}
.meta-code-output .meta-tag {
    color: #f38ba8;
}
.meta-code-output .meta-attr {
    color: #89b4fa;
}
.meta-code-output .meta-value {
    color: #a6e3a1;
}

/* Google 검색 미리보기 */
.google-preview {
    font-family: Arial, sans-serif;
}
.google-preview-title:hover {
    text-decoration: underline;
}

/* OG 미리보기 */
.og-preview {
    border-color: #dadde1 !important;
}

/* Twitter 미리보기 */
.twitter-preview {
    border-color: #cfd9de !important;
    border-radius: 16px !important;
}

/* 서포트 카드 */
.support-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
}
.support-card .card-hd {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid #f1f3f5;
}
.support-card .card-bd {
    padding: 18px;
}
.support-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #343a40;
    margin: 18px 0 10px;
}

/* 아코디언 */
.meta-tag-generator-tool .accordion-button:not(.collapsed) {
    background-color: var(--tool-bg);
    color: var(--tool-primary);
    box-shadow: none;
}
.meta-tag-generator-tool .accordion-button:focus {
    box-shadow: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .mtg-hero { padding: 28px 20px; border-radius: 12px; }
    .mtg-hero h1 { font-size: 22px; }
}
