@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
/* 깜빡임 방지 */
.nav-right .login-btn, .nav-right .user-menu { opacity: 0; transition: opacity 0.15s; }
html.is-logged-in .nav-right .login-btn { display: none !important; }
html.is-logged-in .nav-right .user-menu { display: flex !important; opacity: 1 !important; }
html.is-logged-out .nav-right .login-btn { opacity: 1; }
html.is-logged-out .nav-right .user-menu { display: none !important; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Paperlogy', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #0a0a0f;
  color: #e5e7eb;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
header {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-title {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu > a,
.nav-menu .dropdown-trigger {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > a:hover,
.nav-menu .dropdown-trigger:hover {
  color: #fff;
}
.dropdown {
  position: relative;
}
.dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.dropdown:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 12px;
  min-width: 280px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  margin-top: 12px;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  border-radius: 10px;
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
}
.dropdown-menu .menu-icon {
  width: 36px;
  height: 36px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
}
.dropdown-menu .menu-icon svg {
  width: 18px;
  height: 18px;
}
.dropdown-menu .menu-text {
  display: flex;
  flex-direction: column;
}
.dropdown-menu .menu-title {
  font-weight: 600;
  font-size: 14px;
}
.dropdown-menu .menu-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0a0f;
  z-index: 200;
  padding: 24px;
  flex-direction: column;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
}
.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-links a {
  padding: 16px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-links a:hover {
  background: rgba(99, 102, 241, 0.2);
}
.mobile-menu-cta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-cta .login-btn {
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 16px;
  display: block;
}
.login-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}
.user-menu {
  display: none;
  align-items: center;
  gap: 12px;
}
.user-menu.active {
  display: flex;
}
.user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-btn {
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.2);
  color: #a855f7;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.dashboard-btn:hover {
  background: rgba(99, 102, 241, 0.3);
}
.logout-btn {
  padding: 8px 12px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.logout-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Page Header */
.page-header {
  padding: 80px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}
.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
}

/* Report Form */
.report-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.report-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}
.form-group label span.required {
  color: #ef4444;
  margin-left: 4px;
}
.form-group label span.optional {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin-left: 8px;
}
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}
.form-group select option {
  background: #1a1a2e;
  color: #fff;
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.submit-btn svg {
  width: 20px;
  height: 20px;
}
.notice-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 32px;
}
.notice-box h4 {
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.notice-box p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.6;
}
.success-message {
  display: none;
  text-align: center;
  padding: 40px;
}
.success-message.show {
  display: block;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-icon svg {
  width: 40px;
  height: 40px;
  color: #22c55e;
}
.success-message h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}
.success-message p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.back-btn {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.back-btn:hover {
  background: rgba(255,255,255,0.15);
}
.form-content {
  display: block;
}
.form-content.hide {
  display: none;
}

/* Footer */
footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 24px 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-icon svg { width: 22px; height: 22px; color: #fff; }
.footer-brand-name { font-size: 24px; font-weight: 800; color: #fff; }
.footer-info {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  line-height: 1.8;
}
.footer-column h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 12px;
}
.footer-column a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-column a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copyright {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-btn { display: block; }
  .login-btn { display: none; }
  .user-menu { display: none !important; }
  .page-header { padding: 60px 16px 40px; }
  .page-header h1 { font-size: 32px; }
  .report-section { padding: 0 16px 60px; }
  .report-card { padding: 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
