﻿
/*************************
    햄버거 메뉴
    *****************************/
.hamburger-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.hamburger-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.hamburger-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 16px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);

  animation: slideUp 0.2s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}


.hamburger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.hamburger-header button {
  background: #f3f4f6;
  border-radius: 50%;
  border: 1px solid darkgray;
  width: 32px;
  height: 32px;
  color: rgba(50, 50, 50, 1);
  font-weight: 900;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
}

.menu-item {
  padding: 10px 14px 8px 25px;
  text-align: left;
  border-radius: 12px;
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.menu-item:hover {
  background: #f3f4f6;
}

.menu-item.logout {
  color: #ef4444;
  font-weight: 600;
}
/*************************
    햄버거 끝
    *****************************/

/********************* 
    공지사항
*************************/
.notice-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 150;
  display: none;
}

.notice-backdrop.show {
  display: block;
}

.notice-wrap {
  position: relative;
  }

.notice-panel {
  z-index: 999;
  position: absolute;
  top: 80px;
  right: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 12px;
  display: none;
}

.notice-panel.show {
  display: block;
}

.notice-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 4px 4px 8px 4px;
  border-bottom: 1px solid #f1f5f9;
}

.notice-panel-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.notice-close-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 18px;
  cursor: pointer;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
}

.notice-card {
  display: block;
  text-decoration: none;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px;
  transition: 0.18s ease;
}

.notice-card:hover {
  background: #fff7ed;
  border-color: #fdba74;
}

.notice-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffedd5;
  color: #ea580c;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.notice-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.4;
}

.notice-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 8px;
}

.notice-date {
  font-size: 11px;
  color: var(--text-soft);
}

.notice-panel {
  animation: noticeFade 0.18s ease;
}

@keyframes noticeFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .notice-panel {
    left: 5%;
    width: 90%;
  }
}
/********************* 
    공지사항 끝
*************************/

/*********************
    비밀번호 변경
    *************************/

.pwdc-page * {
    box-sizing: border-box;
}

.pwdc-page .form-group {
    margin-bottom: 14px;
}

.pwdc-page .input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.pwdc-page .text-input {
    width: 100%;
    height: 54px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 16px;
    background: #ffffff;
    color: #111111;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pwdc-page .text-input::placeholder {
    color: #9ca3af;
}

.pwdc-page .text-input:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.12);
}

.pwdc-page .pwc-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.pwdc-page .pwc-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.pwdc-page .pwc-popup-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% - 32px);
    max-width: 420px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.pwdc-page .pwc-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.pwdc-page .pwc-popup-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    letter-spacing: -0.03em;
}

.pwdc-page .pwc-popup-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 16px;
    border: 0;
    cursor: pointer;
}

.pwdc-page .pwc-popup-body {
    padding: 18px 20px 8px;
}

.pwdc-page .pwc-popup-desc {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

.pwdc-page .pwc-find-message {
    min-height: 22px;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.pwdc-page .pwc-popup-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px 20px;
}

.pwdc-page .pwc-popup-cancel,
.pwdc-page .pwc-popup-confirm {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    font-weight: 700;
}

.pwdc-page .pwc-popup-cancel {
    background: #f3f4f6;
    color: #374151;
}

.pwdc-page .pwc-popup-confirm {
    background: linear-gradient(135deg, #ff7a1a 0%, #ff6b00 100%);
    color: #ffffff;
}

.pwdc-page .popup-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .pwdc-page .pwc-popup-panel {
        width: calc(100% - 24px);
        border-radius: 20px;
    }

    .pwdc-page .pwc-popup-header,
    .pwdc-page .pwc-popup-body,
    .pwdc-page .pwc-popup-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/*********************
    비밀번호 변경 끝
    *************************/