/**
 * 뉴로메트릭 - 모바일 관리자 CSS
 * 메인 색상: 밝은 파랑 (#2196F3) - 사용자 페이지와 동일
 */

/* ===== 전역 스타일 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2196F3;
  --primary-dark: #1565C0;
  --primary-light: #E3F2FD;
  --primary-mid: #90CAF9;
  --accent: #1976D2;
  --secondary: #6c757d;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg: #f9fafb;
  --bg-card: #ffffff;
  --border: #e5e7eb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== 로그인 화면 (PC 버전과 동일) ===== */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px 16px;
}

.admin-login-card {
  background: white;
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.admin-login-logo img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.admin-login-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.admin-login-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.pw-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pw-input-wrap input {
  padding-right: 44px;
}

.pw-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.pw-toggle-btn:hover {
  opacity: 1;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert.hidden {
  display: none;
}

/* 기존 모바일 로그인 스타일 제거 예정 */
.mobile-screen {
  min-height: 100vh;
}

/* ===== 메인 화면 ===== */
.mobile-screen {
  min-height: 100vh;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.error-message {
  color: var(--danger);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.error-message.show {
  display: block;
}

/* ===== 메인 화면 ===== */
#main-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ===== 상단 헤더 ===== */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 16px 20px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
}

.btn-logout {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:active {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== 콘텐츠 영역 ===== */
.mobile-content {
  flex: 1;
  overflow-y: auto;
  padding-top: 60px;
  padding-bottom: 80px;
  -webkit-overflow-scrolling: touch;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-header {
  padding: 20px 20px 16px;
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: -80px;
  z-index: 10;
}

.tab-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tab-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 텍스트 링크 스타일 필터 (공간 효율적) */
.text-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.text-filter-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  padding: 4px 0;
}

.text-filter-btn.active {
  color: var(--primary);
  font-weight: 700;
}

.text-filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.text-filter-btn:active {
  color: var(--primary-dark);
}

/* 승인 대기 배지 */
.pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px !important;
  background: var(--danger);
  color: white;
  font-size: 12px !important;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  min-width: auto !important;
  max-width: 120px;
}

.pending-badge:active {
  background: #dc2626;
  transform: scale(0.95);
}

/* 예약 추가 버튼 50% 축소 */
.btn-compact {
  padding: 6px 12px !important;
  font-size: 12px !important;
  white-space: nowrap;
  min-width: auto !important;
  max-width: 120px;
}

/* 기존 둥근 버튼 스타일 (사용 안 함) */
.filter-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-secondary);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 검색 박스 ===== */
.search-box {
  padding: 12px 20px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== 카드 리스트 ===== */
.card-list {
  padding: 12px 20px;
}

/* ===== 세로 리스트 스타일 ===== */
.member-list-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.2s;
}

.member-list-item:active {
  background: var(--bg);
}

/* 1줄 압축 리스트 (일반 회원용) */
.member-list-item-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 8px;
  margin-bottom: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.member-list-item-compact:active {
  background: var(--bg);
}

.compact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
}

.compact-name {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.compact-type {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.compact-phone {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 승인 대기 리스트 (서브페이지용) */
.pending-item {
  border-left: 4px solid var(--danger);
  background: linear-gradient(to right, rgba(239, 68, 68, 0.02) 0%, white 20%);
}

.list-item-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
}

.list-item-info {
  flex: 1;
  min-width: 0;
}

.list-item-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.list-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.meta-text {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.list-item-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  margin-left: 8px;
}

.list-item-actions {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.btn-list {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-list.btn-success {
  background: var(--success);
  color: white;
}

.btn-list.btn-success:active {
  background: #16a34a;
}

.btn-list.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-list.btn-primary:active {
  background: var(--primary-dark);
}

.btn-list.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-list.btn-danger:active {
  background: #dc2626;
}

/* 기존 카드 스타일 (예약관리용) */
.member-card,
.reservation-card,
.pending-member-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pending-member-card {
  border-left: 4px solid var(--danger);
  background: linear-gradient(to right, rgba(239, 68, 68, 0.03) 0%, white 10%);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 12px;
}

.card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-badge {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.badge-approved {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.badge-confirmed {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.badge-cancelled {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-muted);
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.info-icon {
  font-size: 16px;
}

.info-text {
  flex: 1;
}

.info-link {
  color: var(--primary);
  text-decoration: none !important;
  font-weight: 600;
}

.info-link:hover,
.info-link:active,
.info-link:visited {
  text-decoration: none !important;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  min-width: fit-content;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-secondary {
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn:active {
  transform: scale(0.97);
}

/* ===== 하단 탭바 ===== */
.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  height: 64px;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.tab-item.active {
  color: var(--primary);
}

.tab-icon {
  font-size: 24px;
}

.tab-label {
  font-size: 11px;
  font-weight: 600;
}

/* ===== 토스트 메시지 ===== */
.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1000;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
}

/* ===== 로딩 오버레이 ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-overlay.show {
  display: flex;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-message,
.empty-message {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== 모달 ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: flex-end;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  width: 100%;
  max-height: 90vh;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.detail-section {
  margin-bottom: 24px;
}

.detail-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 기본정보 그리드 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: var(--bg);
  padding: 14px;
  border-radius: 8px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-item-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.info-item-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.detail-item {
  background: var(--bg);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.detail-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

/* ===== 아코디언 리스트 ===== */
.accordion-item {
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.accordion-header {
  padding: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-header:active {
  background: rgba(0, 0, 0, 0.03);
}

.accordion-title {
  flex: 1;
}

.accordion-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.accordion-name {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.accordion-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

.accordion-body {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: white;
}

.file-item {
  margin-bottom: 16px;
}

.file-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.file-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.file-actions .btn {
  flex: 1;
  min-width: fit-content;
  font-size: 13px;
  padding: 8px 12px;
}

.file-empty {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
}

.file-upload-group {
  margin-top: 8px;
}

.file-upload-input {
  display: none;
}

.btn-upload {
  background: var(--bg);
  color: var(--text-primary);
  border: 1px dashed var(--border);
}

.btn-upload:hover {
  background: rgba(0, 0, 0, 0.05);
}

audio {
  width: 100%;
  margin-top: 8px;
}

.content-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
  white-space: pre-wrap;
  padding: 12px;
  background: var(--bg);
  border-radius: 6px;
  margin-bottom: 12px;
  max-height: 300px;
  overflow-y: auto;
  word-wrap: break-word;
}

.edit-mode .content-text {
  display: none;
}

.edit-mode textarea {
  display: block;
}

textarea.content-editor {
  display: none;
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
}

.action-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* ===== 회원 검색 결과 ===== */
.search-results {
  display: none;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  margin-top: -8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-results.show {
  display: block;
}

.search-result-item {
  padding: 12px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:active {
  background: var(--bg);
}

.search-result-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.search-result-info {
  font-size: 12px;
  color: var(--text-muted);
}

.selected-member-box {
  display: none;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.selected-member-box.show {
  display: block;
}

.selected-member-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.selected-member-info {
  font-size: 14px;
  color: var(--text-primary);
}

.selected-member-info strong {
  font-size: 15px;
}

.selected-member-info span {
  color: var(--text-muted);
  font-size: 13px;
}

.info-box {
  background: #E0F2FE;
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #0284C7;
  font-size: 13px;
  color: #0C4A6E;
  margin-top: 16px;
}

.info-box strong {
  font-weight: 700;
}

/* ===== 서브페이지 ===== */
.sub-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

.sub-page.show {
  transform: translateX(0);
}

.sub-page-header {
  position: sticky;
  top: 0;
  background: var(--primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.btn-back {
  padding: 8px 12px;
  font-size: 20px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}

.btn-back:active {
  background: rgba(255, 255, 255, 0.3);
}

.sub-page-title {
  flex: 1;
  font-size: 18px;
  font-weight: 800;
  color: white;
  text-align: left;
}

.sub-page-body {
  padding: 20px;
  overflow-y: auto;
  height: calc(100vh - 60px);
  -webkit-overflow-scrolling: touch;
}

/* ===== 버튼 밑줄 제거 ===== */
.btn, .btn-primary, .btn-secondary, .btn-success, .btn-danger,
.filter-btn, .btn-logout, .btn-back, .btn-upload,
a.btn, a.btn-primary, a.btn-secondary {
  text-decoration: none !important;
}

.btn:hover, .btn:active, .btn:focus,
a.btn:hover, a.btn:active, a.btn:focus {
  text-decoration: none !important;
}

/* ===== 반응형 (태블릿 이상) ===== */
@media (min-width: 768px) {
  .login-container {
    padding: 48px;
  }
  
  .mobile-content {
    max-width: 768px;
    margin: 0 auto;
  }
}

/* ===== 활동로그 기간 버튼 ===== */
.period-btn {
  transition: all 0.2s;
}

.period-btn.active {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.period-btn:not(.active):hover {
  background: var(--primary-light) !important;
  border-color: var(--primary) !important;
}

