/**
 * Workspace Main Layout Styles
 * 워크스페이스 메인 레이아웃 및 UI 컴포넌트 스타일
 */

/* ============================================
   메인 컨테이너 레이아웃
   ============================================ */

.workspace-container {
    height: calc(100vh - 80px); /* 120px → 80px (더 많은 공간 확보) */
    min-height: 1000px; /* 최소 높이 보장 */
    display: flex;
    flex-direction: column;
}

.workspace-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
    margin-bottom: 0;
}

.workspace-body {
    flex: 1;
    display: flex;
    min-height: 0;
}

/* ============================================
   사이드바 스타일
   ============================================ */

.sidebar {
    width: 300px;
    background: #fff;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    flex-shrink: 0;
    /* 🚀 Performance: paint containment만 사용 (스크롤바 유지) */
    contain: paint;
}

.sidebar-section {
    border-bottom: 1px solid #e9ecef;
}

.sidebar-section-header {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-section-content {
    padding: 1rem;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.sidebar-section.active .sidebar-section-content {
    display: block;
}

.sidebar-section.active .sidebar-section-header i {
    transform: rotate(90deg);
}

.sidebar-section-content::-webkit-scrollbar {
    width: 4px;
}

.sidebar-section-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sidebar-section-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.sidebar-section-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ============================================
   메인 에디터 영역
   ============================================ */

.main-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.editor-toolbar {
    background: #fff;
    /* border-bottom 제거: unified-search-controls 보더와 겹침 방지 */
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding-right: 0.75rem;
    border-right: 1px solid #dee2e6;
    margin-right: 0.75rem;
}

.toolbar-group:last-child {
    border-right: none;
    margin-right: 0;
}

.btn-toolbar {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* 툴바 언어 선택기 스타일 */
.toolbar-group .form-select-sm {
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.toolbar-group .form-select-sm:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 스타일 가이드 버튼 그룹 (Modern Minimal Style) */
.style-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.style-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-right: 1px solid #dee2e6;
    margin-right: 0.25rem;
}

.style-action-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: #495057;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
    border-radius: 4px;
}

.style-action-btn:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.08);
}

.style-action-btn:active {
    background-color: rgba(13, 110, 253, 0.15);
}

/* 상세 번역 버튼 스타일 보완 */
#advanced-translate {
    font-weight: 500;
}

#advanced-translate:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* ============================================
   스프레드시트 컨테이너
   ============================================ */

.spreadsheet-container {
    flex: 1;
    overflow: auto;
    padding: 0 1rem 1rem 1rem;  /* 🔧 padding-top 제거: sticky header 스크롤 문제 해결 */
    background: #fafafa;
    min-height: 800px; /* 스프레드시트 컨테이너 최소 높이 보장 */
    /* 🚀 Performance: paint containment만 사용 (layout 제외 - 스크롤바 유지) */
    contain: paint;
}

#jexcel-container {
    width: 100%;
    height: 100%;
    min-height: 1200px; /* 500px → 1200px (140% 증가) */
    /* 🚀 Performance: style containment만 사용 (layout 제외 - 스크롤 유지) */
    contain: style;
}

/* ============================================
   시트 탭 스타일
   ============================================ */

.sheet-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem;
    background: #f8f9fa;
    border-radius: 0.375rem;
    min-height: 2.5rem;
}

.sheet-tabs:empty {
    display: none;
}

.sheet-tab {
    padding: 0.375rem 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.75rem;
    transition: background-color 0.2s, border-color 0.2s;
    position: relative;
    min-width: fit-content;
}

.sheet-tab:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sheet-tab.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: 500;
}

.sheet-tab .sheet-name {
    display: block;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-info {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 0.25rem;
}

/* ============================================
   프로젝트 및 컨텐츠 스타일
   ============================================ */

.project-selector {
    margin-bottom: 1rem;
}

.terminology-list {
    max-height: 300px;
    overflow-y: auto;
}

.term-item {
    padding: 0.5rem;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.875rem;
}

.term-source {
    font-weight: 600;
    color: #495057;
}

.term-target {
    color: #6c757d;
    margin-top: 0.25rem;
}

.tm-match {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.tm-score {
    font-weight: 600;
    color: #28a745;
}

.style-rule {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-left: 3px solid #007bff;
    font-size: 0.875rem;
}

/* ============================================
   컨텍스트 패널
   ============================================ */

.context-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 400px;
    height: 100vh;
    background: #fff;
    border-left: 2px solid #007bff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.context-panel.show {
    transform: translateX(0);
}

.context-panel-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.context-panel-body {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
}

.context-section {
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.section-header h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

.section-controls {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.section-controls .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* ============================================
   TM Matches 스타일
   ============================================ */

.tm-matches-wrapper {
    max-height: 400px;
    overflow-y: auto;
}

.context-match-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    background: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.context-match-item:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.tm-match-hidden {
    display: none;
}

.match-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.match-score {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.match-score.perfect-match {
    background: #d4edda;
    color: #155724;
}

.match-score.context-match {
    background: #cce5ff;
    color: #004085;
}

.match-score.fuzzy-match {
    background: #fff3cd;
    color: #856404;
}

.match-type {
    font-size: 0.75rem;
    color: #6c757d;
}

.apply-btn {
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.match-content {
    font-size: 0.875rem;
}

.match-source,
.match-target {
    padding: 0.25rem 0;
    display: flex;
    gap: 0.5rem;
}

.match-source .label,
.match-target .label {
    font-weight: 600;
    min-width: 40px;
    color: #6c757d;
}

.match-source .text {
    color: #495057;
}

.match-target .text {
    color: #007bff;
    font-weight: 500;
}

.tm-expand-btn {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px dashed #dee2e6;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tm-expand-btn:hover {
    background: #e9ecef;
    border-color: #6c757d;
}

/* Termbase and Style Guide placeholders */
.termbase-list,
.style-violations-list {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.25rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.875rem;
}

.no-matches {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
}

/* ============================================
   로딩 및 상태 표시
   ============================================ */

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-ready { background-color: #28a745; }
.status-loading { background-color: #ffc107; }
.status-error { background-color: #dc3545; }

/* ============================================
   번역 하이라이트 애니메이션
   ============================================ */

.translated-cell-highlight {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    color: white !important;
    animation: translatePulse 0.6s ease-in-out;
    border: 2px solid #20c997 !important;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.4) !important;
    position: relative;
}

.translated-cell-highlight::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
    animation: checkMarkPop 0.3s ease-out 0.3s both;
}

@keyframes translatePulse {
    0% {
        background: #f8f9fa;
        transform: scale(1);
    }
    50% {
        background: linear-gradient(45deg, #28a745, #20c997);
        transform: scale(1.05);
    }
    100% {
        background: linear-gradient(45deg, #28a745, #20c997);
        transform: scale(1);
    }
}

@keyframes checkMarkPop {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   빠른 번역 스타일
   ============================================ */

.quick-translate-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    /* 공통 그룹 스타일 */
    background-color: rgba(13, 110, 253, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 6px;
    padding: 0.5rem;
}

.quick-translate-repeat {
    /* margin 제거 - gap으로 간격 처리 */
}

.quick-translate-repeat .input-group {
    width: auto;
}

.quick-translate-repeat .form-control {
    text-align: center;
    padding: 0.25rem 0.375rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.quick-translate-repeat .input-group-text {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.quick-translate-status {
    /* margin 제거 - gap으로 간격 처리 */
    font-size: 0.75rem;
    white-space: nowrap;
}

.quick-translate-status .text-muted {
    color: #6c757d !important;
}

.quick-translate-status .btn-link {
    color: #6c757d !important;
    text-decoration: none;
    border: 1px solid transparent;
    background: none;
    border-radius: 3px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quick-translate-status .btn-link:hover {
    color: #495057 !important;
    background-color: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
    transform: scale(1.05);
}

.quick-translate-status .btn-link:active {
    background-color: rgba(0, 123, 255, 0.2);
    transform: scale(0.95);
}

#custom-prompt-indicator {
    color: #007bff !important;
    font-weight: 500;
}

.quick-translate-settings {
    padding: 0.5rem;
}

.quick-translate-settings .form-label.small {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.quick-translate-settings .form-select-sm,
.quick-translate-settings .form-control-sm {
    font-size: 0.8rem;
}

.quick-translate-settings .text-muted {
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.prompt-preset {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

.prompt-preset:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* ============================================
   드롭다운 및 리스트 스타일
   ============================================ */

.dropdown-menu {
    min-width: 200px;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background-color: #007bff;
    color: white;
}

.list-group-item-action {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.list-group-item-action:last-child {
    border-bottom: none;
}

/* ============================================
   애니메이션
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* ============================================
   스타일 가이드 사이드바 섹션 (v2.2.0)
   ============================================ */

#style-sidebar-section .guide-info {
    border: 1px solid #e9ecef;
}

#style-sidebar-section .guide-name {
    font-weight: 500;
}

#style-sidebar-section .guide-meta {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

#style-sidebar-section .guide-name.has-guide {
    color: #212529;
}

#style-sidebar-section .guide-name.has-guide i {
    color: #28a745;
}

/* 검사 결과 배지 */
#style-sidebar-section .result-summary .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* 결과 버튼 */
#style-sidebar-section .result-actions .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* 하이라이트 토글 활성화 */
#style-sidebar-section #btn-toggle-highlight.active {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

/* 안내 메시지 — 2026-05-31: legacy `display: block` 제거.
   이전: 1.5rem giant icon 의 *block 배치* 의도. 현재: small inline icon + text 한 줄.
   default `<i>` 의 inline display 사용. */
#style-sidebar-section .style-no-result i {
    display: inline;
}

/* 위반 셀 하이라이트 */
.style-violation-highlight {
    position: relative;
}

.style-violation-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border: 2px solid transparent;
}

.style-violation-highlight.style-warning::after {
    background-color: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
}

.style-violation-highlight.style-error::after {
    background-color: rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
}

/* 2026-05-28 Phase 12: 적용된 행 하이라이트 — applied=true 의 *visual confirmation*.
   - 녹색 background + border (revert 가능 marker)
   - sprint docs README §9 의 *style-row-applied* visual rule 적용:
     fill rgba(40, 167, 69, 0.15), border rgba(40, 167, 69, 0.5)
   - ::after overlay 패턴으로 *cell 의 *기존 content 영향 0* */
.style-row-applied {
    position: relative;
}
.style-row-applied::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-color: rgba(40, 167, 69, 0.15);
    border: 2px solid rgba(40, 167, 69, 0.6);
}

/* 2026-05-28 Phase 12 enhancement: 사용자 수정 후 적용 — *AI 그대로 vs human edit 의 *visual 구분*.
   - 연한 파랑 background + border (human-edit signature)
   - 사용자가 *제안 비교 floating panel 에서 *textarea 편집* 후 적용 (item.user_edited=true) */
.style-row-applied-edited {
    position: relative;
}
.style-row-applied-edited::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-color: rgba(13, 110, 253, 0.15);
    border: 2px solid rgba(13, 110, 253, 0.6);
}

/* 2026-05-27 Phase 13: 검사 범위 외 checkbox 마스킹.
   setupCheckboxColumn(applyCol, validRowSet) 가 *범위 외 cell* 에 class 적용.
   - checkbox input 숨김 (display: none) — visual cell 자체는 *normal empty cell*
   - background 변경 0 — *시각 noise 차단*, 빈 cell 자체로 *out-of-range 인지*
   - pointer-events 차단 — click 안 됨 */
.style-check-out-of-range input[type="checkbox"] {
    display: none !important;
}
.style-check-out-of-range {
    cursor: not-allowed;
    pointer-events: none;
}

/* 검사 모달 스타일 */
#style-check-modal .guide-preview {
    font-size: 0.85rem;
    border: 1px solid #e9ecef;
}

#style-check-modal .form-label.fw-bold {
    margin-bottom: 0.5rem;
}

#style-check-modal .form-check {
    margin-bottom: 0.25rem;
}

/* ------------------------------------------
   전체 보기 (Full View) 모드
   ------------------------------------------ */

/* 사이드바 슬라이드 아웃 애니메이션 */
.sidebar {
    transition: width 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}

.workspace-body.full-view .sidebar {
    width: 0;
    min-width: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border-right: none;
}

/* 헤더 숨김 */
.workspace-container.full-view .workspace-header {
    display: none;
}

/* 툴바 숨김 */
.workspace-container.full-view .editor-toolbar {
    display: none;
}

/* workspace-container 높이 확장 (헤더 높이 회수) */
.workspace-container.full-view {
    height: 100vh;
    min-height: auto;
}

/* 전체 보기 토글 버튼 */
.full-view-toggle {
    flex-shrink: 0;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-color: #dee2e6;
    color: #6c757d;
    margin-right: 0.5rem;
}

.full-view-toggle:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.full-view-toggle.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* 전체 보기 모드: search-row flex-wrap 허용 (Advanced 모드에서 2줄 지원) */
.workspace-container.full-view .search-row {
    flex-wrap: wrap;
}

/* 전체 보기 전용 툴바 (빠른번역, 상세번역, 스타일 버튼) */
.fullview-tools {
    display: none !important;
}

.workspace-container.full-view .fullview-tools {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-left: 10px;  /* >> 버튼 뒤 간격 */
    flex-shrink: 0;
}

/* fullview-tools 내부 구분선 */
.fullview-tools .fv-divider {
    width: 1px;
    height: 24px;
    background-color: var(--bs-gray-400);
    margin: 0 4px 0 24px;  /* left: Column Search border와 세로 정렬 */
}

/* fullview-tools 버튼 스타일 (compact) */
.fullview-tools .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
}

/* fullview-tools 빠른 번역 컨테이너 */
.fullview-tools .fv-quick-translate {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(13, 110, 253, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
}

/* fullview-tools 반복 횟수 입력 */
.fullview-tools .fv-repeat-input {
    width: 40px;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.15rem 0.25rem;
}

/* fullview-tools 상태 텍스트 */
.fullview-tools .fv-status {
    font-size: 0.7rem;
    color: #6c757d;
    white-space: nowrap;
}

/* fullview-tools 스타일 버튼 그룹 */
.fullview-tools .fv-style-group {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.fullview-tools .fv-style-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0.2rem 0.4rem;
    border-right: 1px solid #dee2e6;
    margin-right: 0.2rem;
}

.fullview-tools .fv-style-btn {
    background: none;
    border: none;
    font-size: 0.7rem;
    font-weight: 500;
    color: #495057;
    padding: 0.2rem 0.4rem;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
    border-radius: 4px;
}

.fullview-tools .fv-style-btn:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.08);
}
