:root {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  --bg-dark: #0a0a0a;
  --bg-light: #1a1a1a;
  --text-white: #ffffff;
  --text-gray: #888888;
  --accent: #666666;
}

@font-face {
  font-family: 'IncheonEducation';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-2@1.0/iceJaram-Rg.woff2') format('woff2');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OngleipWFontList';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2501-1@1.1/Ownglyph_wiseelist-Rg.woff2') format('woff2');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HancomSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2406-1@1.0/HancomSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* 마우스 따라다니는 원 */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
  display: none; /* 기본적으로 숨김 */
  opacity: 0;
}

/* 데스크톱에서만 표시 */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    display: block;
  }
  
  .custom-cursor.visible {
    opacity: 1;
  }
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.5);
}

/* 홈 페이지 전용 배경 */
body.home-page {
  background: #000000;
}

/* IU 텍스트 스타일 */
.iu-container {
  position: fixed;
  top: 18rem;
  left: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

h5.iu {
  font-family: 'IncheonEducation';
  font-size: 40px;
  font-weight: 300;
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 1;
  position: relative;
  display: inline-block;
}

h1.iu-title {
  font-family: 'HancomSans';
  font-size: 100px;
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 1;
  position: relative;
  display: inline-block;
}

/* 홈 페이지 파도 SVG 스타일 */
.wave-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Flash 메시지 아이콘 */
.flash-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.flash-success-icon {
  color: #4ade80;
}

.flash-error-icon {
  color: #f87171;
}

/* 업로드 아이콘 */
.upload-icon {
  display: block;
  margin: 0 auto 16px;
  color: var(--text-gray);
}

/* 제출 버튼 아이콘 */
.submit-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

/* 프로필 아바타 아이콘 */
.profile-avatar-icon {
  display: block;
  color: var(--text-gray);
}

/* 빈 상태 아이콘 */
.empty-icon {
  display: block;
  margin: 0 auto 16px;
  color: var(--text-gray);
}

/* 관리자 승인/거절 아이콘 */
.approve-icon,
.reject-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}


/* 상단 중앙 메뉴 */
.floating-menu {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 8px;
}

.menu-item {
  color: var(--text-white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.menu-item.active {
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-white);
}

/* 우측 하단 프로필 버튼 */
.profile-button-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.profile-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.profile-button-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-button-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--text-white);
  font-size: 24px;
  font-weight: 600;
  border-radius: 50%;
}

.profile-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  min-width: 280px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.profile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.profile-menu-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.profile-menu-img-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--text-white);
  font-size: 20px;
  font-weight: 600;
  border: 2px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.profile-menu-info {
  flex: 1;
  min-width: 0;
}

.profile-menu-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-menu-email {
  font-size: 12px;
  color: var(--text-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-menu-item {
  display: block;
  padding: 12px 16px;
  color: var(--bg-dark);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.profile-menu-item.active {
  background: rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.profile-menu-item:last-child {
  border-bottom: none;
}

/* 로그인 버튼 (로그아웃 상태) */
.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 500;
  padding: 0;
}

.login-button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  color: var(--text-white);
}

.login-button span {
  padding: 0 8px;
}

/* 홈 화면 모자이크 섹션 */
.mosaic-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 40px 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  margin-top: 100vh; /* 파도 영역 다음에 시작 */
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 20%,
    rgba(10, 10, 10, 0.7) 50%,
    var(--bg-dark) 100%
  );
  z-index: 1;
}

.mosaic-section.visible {
  pointer-events: auto;
}

/* 스크롤에 따른 점진적 표시를 위한 클래스들 */
.mosaic-section[data-opacity="0"] {
  opacity: 0;
  transform: translateY(30px);
}

.mosaic-section[data-opacity="0.1"] {
  opacity: 0.1;
  transform: translateY(27px);
}

.mosaic-section[data-opacity="0.2"] {
  opacity: 0.2;
  transform: translateY(24px);
}

.mosaic-section[data-opacity="0.3"] {
  opacity: 0.3;
  transform: translateY(21px);
}

.mosaic-section[data-opacity="0.4"] {
  opacity: 0.4;
  transform: translateY(18px);
}

.mosaic-section[data-opacity="0.5"] {
  opacity: 0.5;
  transform: translateY(15px);
}

.mosaic-section[data-opacity="0.6"] {
  opacity: 0.6;
  transform: translateY(12px);
}

.mosaic-section[data-opacity="0.7"] {
  opacity: 0.7;
  transform: translateY(9px);
}

.mosaic-section[data-opacity="0.8"] {
  opacity: 0.8;
  transform: translateY(6px);
}

.mosaic-section[data-opacity="0.9"] {
  opacity: 0.9;
  transform: translateY(3px);
}

.mosaic-section[data-opacity="1"] {
  opacity: 1;
  transform: translateY(0);
}

.mosaic-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.mosaic-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.8);
  animation: mosaicFadeIn 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
  cursor: pointer;
  position: relative;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mosaic-item:hover img {
  transform: scale(1.1);
}

.mosaic-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.mosaic-item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

@keyframes mosaicFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* CTA 버튼 컨테이너 */
.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: var(--text-white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: var(--text-white);
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: rotate(90deg);
}

/* 컨테이너 */
.container {
  min-height: 100vh;
  padding: 40px;
  position: relative;
  z-index: 2;
}

/* 아카이브 날짜별 아코디언 */
.archive-container {
  max-width: 800px;
  margin: 5rem auto;
}

.date-accordion {
  margin-bottom: 8px;
}

.year-item, .month-item, .day-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 5px;
  overflow: hidden;
}

.year-header, .month-header, .day-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  user-select: none;
}

.year-header:hover, .month-header:hover, .day-header:hover {
  background: rgba(255, 255, 255, 0.1);
}

.year-title, .month-title, .day-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.expand-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: transform 0.3s ease;
}

.expanded .expand-icon {
  transform: rotate(90deg);
}

.year-content, .month-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.year-item.expanded .year-content,
.month-item.expanded .month-content {
  max-height: 5000px;
}

.month-list, .day-list {
  padding-left: 20px;
  padding-right: 5px;
}

.day-content {
  padding: 16px 20px;
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.day-item.expanded .day-content {
  display: grid;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: scale(1.05);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 12px;
  color: var(--text-white);
  font-size: 12px;
}

.empty-state {
  text-align: center;
  margin-top: 2rem;
  padding: 60px 20px;
  color: var(--text-gray);
}

/* 폼 스타일 */
.form {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-white);
  font-size: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-white);
  font-size: 14px;
  margin-bottom: 16px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--text-gray);
}

.form button {
  width: 100%;
  padding: 14px;
  background: var(--text-white);
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form button:hover {
  background: var(--text-gray);
}

/* 플래시 메시지 개선 */
.flash {
  list-style: none;
  padding: 0;
  margin: 0;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: 500px;
  width: 90%;
}

.flash li {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flash li.success {
  background: rgba(76, 175, 80, 0.95);
  color: white;
  border-color: rgba(76, 175, 80, 0.5);
}

.flash li.error {
  background: rgba(244, 67, 54, 0.95);
  color: white;
  border-color: rgba(244, 67, 54, 0.5);
}

.flash li.warning {
  background: rgba(255, 152, 0, 0.95);
  color: white;
  border-color: rgba(255, 152, 0, 0.5);
}

.flash li.info {
  background: rgba(33, 150, 243, 0.95);
  color: white;
  border-color: rgba(33, 150, 243, 0.5);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 업로드 페이지 스타일 */
.upload-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 40px 20px;
}

.upload-header {
  text-align: center;
  margin-bottom: 40px;
}

.upload-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.upload-subtitle {
  color: var(--text-gray);
  font-size: 16px;
}

.upload-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.stat-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.upload-form-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.form-group input {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-white);
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* 날짜 입력 필드 달력 아이콘 스타일 */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Firefox용 달력 아이콘 */
.form-group input[type="date"]::-moz-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
}

.form-group input[type="date"]::-moz-calendar-picker-indicator:hover {
  opacity: 1;
}

.form-group small {
  font-size: 12px;
  color: var(--text-gray);
}

/* 이미지 모달 */
.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.image-modal.show {
  display: flex;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.image-modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
}

.image-modal__content img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.image-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.file-upload-area {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.file-upload-area input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-gray);
}

/* .file-upload-placeholder svg는 .upload-icon으로 대체됨 */

.file-upload-placeholder p {
  font-size: 16px;
  color: var(--text-white);
  margin: 0;
}

.file-upload-placeholder small {
  font-size: 12px;
}

.file-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
}

.file-info span {
  font-size: 14px;
}

/* 다중 파일 업로드 스타일 */
.file-list {
  width: 100%;
  margin-top: 16px;
}

.file-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.file-list-header span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
}

.clear-files-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-gray);
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.clear-files-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-white);
}

#fileItems {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.file-item-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item-size {
  font-size: 12px;
  color: var(--text-gray);
  white-space: nowrap;
}

.file-item-remove {
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.file-item-remove:hover {
  background: rgba(255, 0, 0, 0.2);
  color: #ff5555;
}

/* 업로드 진행 상황 표시 */
#uploadProgress {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-progress-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upload-progress-header span:first-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
}

.upload-progress-header span:last-child {
  font-size: 12px;
  color: var(--text-gray);
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5));
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.upload-progress-text {
  font-size: 12px;
  color: var(--text-gray);
  margin: 0;
  font-style: italic;
}

.submit-btn {
  padding: 16px 32px;
  background: var(--text-white);
  color: var(--bg-dark);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--text-gray);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.form-note {
  text-align: center;
  margin-top: 16px;
}

.form-note p {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0;
}

/* 프로필 페이지 스타일 */
.profile-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 40px 20px;
}

.profile-header {
  margin-bottom: 32px;
}

.profile-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.profile-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.2);
  color: var(--text-gray);
}

.profile-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.profile-badge.admin {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.profile-badge.user {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

.info-value {
  font-size: 15px;
  color: var(--text-white);
  font-weight: 600;
}

.upload-history-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.photo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo-list-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.3s ease;
}

.photo-list-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.photo-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.photo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.photo-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.photo-meta {
  font-size: 13px;
  color: var(--text-gray);
  display: flex;
  gap: 8px;
  align-items: center;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.approved {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
}

.status-badge.pending {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
}

.status-badge.rejected {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
}

.empty-action-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.empty-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 관리자 페이지 스타일 */
.admin-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 40px 20px;
}

.admin-header {
  margin-bottom: 32px;
  text-align: center;
}

.admin-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.admin-header p {
  color: var(--text-gray);
  font-size: 16px;
}

.pending-count {
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-white);
}

.pending-count strong {
  color: #ff9800;
  font-size: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.admin-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.admin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-card-content {
  padding: 20px;
}

.admin-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.admin-info-item .info-label {
  font-size: 12px;
  color: var(--text-gray);
  min-width: 80px;
}

.admin-info-item .info-value {
  font-size: 13px;
  color: var(--text-white);
  text-align: right;
  word-break: break-word;
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.approve-btn {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.approve-btn:hover {
  background: rgba(76, 175, 80, 0.3);
  transform: translateY(-2px);
}

.reject-btn {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.reject-btn:hover {
  background: rgba(244, 67, 54, 0.3);
  transform: translateY(-2px);
}

/* 반응형 */
@media (max-width: 768px) {
  h1.iu-title {
    font-size: 60px;
  }

  .iu-container {
    top: 8rem;
  }

  .floating-menu {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    max-width: 90%;
    padding: 6px;
  }

  .menu-item {
    padding: 8px 16px;
    font-size: 13px;
  }

  .container {
    padding: 20px;
    margin-top: 5rem;
  }

  .day-content {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }

  .upload-stats {
    grid-template-columns: 1fr;
  }

  .upload-form-container {
    margin-top: 2rem;
    padding: 24px;
  }

  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .photo-list-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-thumbnail {
    width: 100%;
    height: 200px;
  }

  .profile-button-container {
    bottom: 16px;
    right: 16px;
  }

  .profile-button {
    width: 48px;
    height: 48px;
  }

  .profile-menu {
    bottom: 64px;
    min-width: 260px;
  }

  .login-button {
    width: 48px;
    height: 48px;
    font-size: 12px;
  }

  .login-button span {
    padding: 0 4px;
  }

  .mosaic-section {
    padding: 100px 20px 60px;
  }

  .mosaic-container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
    padding: 0 10px;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 16px;
  }
}
