/* ============================
   메타마스크 버튼
============================= */
.we-btn--verify:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none; 
}

.we-btn--send:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;  
}

.land-nav-actions{
  margin-left: 20px !important;
}
.land-btn--metamask {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.land-btn--metamask:hover {
  background: #e9eaec;
}

.land-btn-metamask-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 모바일 사이드바 내 메타마스크 버튼 영역 */
.land-menu-btns {
  background: rgba(60, 60, 60, 0.95);
  padding: 16px 15px;
}

.land-menu-btn--metamask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 750;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 40px;
}

.land-menu-btn--metamask:hover {
  background: #e9eaec;
}

/* ============================
   언어 드롭다운
============================= */
.dao-lang-wrap {
  position: relative;
}

.dao-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 6px;
  z-index: 9999;
}

.dao-lang-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.dao-lang-option:hover {
  background: #f3f4f6;
}

.dao-lang-option.active {
  background: #eef2ff;
  font-weight: 600;
}

/* ============================
   의장 운영 현황
============================= */

.dao-header-logo {
  display: flex;
  align-items: center;
}

.dao-header-logo > button{
  margin-left: 25px;
  width: 190px;
  padding: 8px 0;
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
  background-color: #b7cd47;
}

.dao-header-logo > button:hover{
  background-color: #a4b840;
}

/* 복사 성공 토스트 */
.ws-toast {
  position: absolute;
  bottom: 73px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 8px;
  padding: 8px 20px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  animation: ws-toast-in 0.2s ease;
}

.we-sent {
  font-size: 10px;
  font-weight: 400;
  color: #22b573;
  line-height: 17px;
  margin: 0;
  padding-left: 12px;
}

/* ============================
   세션 만료 자동 로그아웃 모달
============================= */
.slm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.slm-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 32px;
  width: 360px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.slm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slm-close img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.slm-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 14px;
}

.slm-desc-top {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 20px;
}

.slm-icon {
  margin: 0 0 20px;
}

.slm-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.slm-desc-bottom {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 24px;
}

.slm-login-btn {
  width: 100%;
  padding: 13px 0;
  background: #b7cd47;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.slm-login-btn:hover {
  background: #a4b840;
}

/* ============================================================
   모바일 관리자 메뉴 Offcanvas (mtt-) — mobile_tooltab.html
   Figma 623:2008 / 패널 230×554, 헤더 56 아래 우측 슬라이드
============================================================ */

/* 오버레이 (백드롭) — 헤더(56px) 아래 전체 dim */
.mtt-overlay {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(39, 39, 41, 0.8);
  z-index: 1040;
  display: none;
}

.mtt-menu-btns {
  padding: 16px 15px 0;
}

/* 패널 — 우측 고정 230px, 높이 554px(Figma) */
.mtt-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  max-height: 700px;
  background: #505364;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.1);
  padding: 23px 0 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* 메뉴 래퍼 */
.mtt-menu {
  display: flex;
  flex-direction: column;
}

/* 최상위 메뉴 항목 공통 (CoReset 거버넌스 / 참여) */
/* Figma: 아이콘 x=16+18=34, text x=58+18=76, 아이콘 28px, gap 14 */
.mtt-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 18px 0 34px;
  color: #ffffff;
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}

.mtt-menu-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.mtt-menu-label {
  flex: 1;
  min-width: 0;
}

/* 거버넌스 → 참여: Figma gap 33px */
.mtt-menu > .mtt-menu-item + .mtt-menu-item {
  margin-top: 23px;
}

/* 참여 → 시스템관리 box: Figma gap 23px */
.mtt-menu > .mtt-menu-item + .mtt-menu-group,
.mtt-menu > .mtt-menu-group {
  margin-top: 23px;
}

/* 활성 그룹 — 기본 */
.mtt-menu-group {
  padding: 12px 0 15px;
  position: relative;
}

/* 활성 그룹 — open 상태일 때만 흰색 박스 + 좌측 파란 인디케이터 바 */
.mtt-menu-group[open] {
  background: #ffffff;
}
.mtt-menu-group[open]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 67px;
  background: #4779ae;
  border-radius: 0 3px 3px 0;
}

/* summary 기본 마커 제거 */
.mtt-menu-group > summary {
  list-style: none;
  cursor: pointer;
}
.mtt-menu-group > summary::-webkit-details-marker {
  display: none;
}

/* open 상태일 때 summary 텍스트/아이콘을 어두운 색으로 */
.mtt-menu-group[open] > summary {
  color: #505364;
}
.mtt-menu-group[open] > summary .mtt-menu-icon {
  filter: brightness(0);
}

/* 시스템 관리 summary — 흰 박스 위에 어두운 텍스트 */
.mtt-menu-item--active {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 18px 0 34px;
  color: #505364;
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}
.mtt-menu-item--active .mtt-menu-icon {
  filter: none;
}
.mtt-menu-item--participation.mtt-menu-item--active .mtt-menu-icon {
  filter: brightness(0);
}

/* 일반 메뉴 항목 액티브 — 흰색 박스 + 좌측 파란 인디케이터 바 */
a.mtt-menu-item--active {
  background: #ffffff;
  position: relative;
  height: 70px;
}
a.mtt-menu-item--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: #4779ae;
  border-radius: 0 3px 3px 0;
}

/* 서브메뉴 — summary 끝에서 22px gap 후 시작, 아이템 간 29px */
.mtt-submenu {
  list-style: disc outside;
  margin: 22px 0 ;
  padding: 0 0 0 80px;
}

.mtt-submenu-item {
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #272729;
  cursor: pointer;
}

.mtt-submenu-item + .mtt-submenu-item {
  margin-top: 29px;
}

.mtt-submenu-item::marker {
  color: inherit;
}

.mtt-submenu-item--active {
  color: #4779ae;
}
.mtt-submenu-item--active::marker {
  color: #4779ae;
}

/* 로그아웃 — 활성 박스와 25px gap, 좌우 margin 15 */
.mtt-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 15px 0;
  width: calc(100% - 30px);
  height: 40px;
  background: #ffffff;
  border: none;
  border-radius: 7px;
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #505364;
  cursor: pointer;
}

/* 모바일에서만 표시 */
@media (max-width: 1200px) {
  .mtt-overlay {
    display: block;
  }
}

