* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light;
  color: #213547;
  background-color: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

a {
  font-weight: 500;
  color: #667eea;
  text-decoration: inherit;
  transition: color 0.3s;
}

a:hover {
  color: #5568d3;
}

button {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

.app {
  width: 100%;
  min-height: 100vh;
  padding-top: 80px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.nav-actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #0a5c3a;
}

.lang-switch a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(10, 92, 58, 0.08);
  transition: background 0.2s, color 0.2s;
}

.lang-switch a:hover {
  background: rgba(10, 92, 58, 0.18);
}

.nav-menu a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #3498db;
}

@media (min-width: 992px) {
  .navbar {
    padding: 1rem 0;
  }

  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav-header .logo {
    flex-shrink: 0;
  }

  .nav-header .nav-right {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }

  .nav-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-menu {
    justify-content: center;
    gap: 2rem;
  }

  .app {
    padding-top: 0;
  }

  .hero {
    margin-top: 80px;
  }
}

/* Hero Section */
/* hero-bg.jpg 파일을 public/images/ 에 배치하면 배경으로 사용됩니다. */
.hero {
  position: relative;
  margin-top: 0;
  padding: 5rem 2rem;
  background:
    linear-gradient(120deg, rgba(10, 60, 35, 0.85), rgba(8, 38, 18, 0.6)),
    url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(180deg, transparent 60%, rgba(6, 45, 22, 0.45));
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(6, 27, 16, 0.45);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #f3fff8;
}

.hero-title strong {
  font-size: 4rem;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  color: #d4f7df;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.hero-buttons .primary-cta {
  min-width: 260px;
  text-align: center;
  font-size: 1.1rem;
  padding: 1.1rem 2.5rem;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #ffffff;
  color: #0d3053;
  box-shadow: 0 15px 35px rgba(13, 48, 83, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(13, 48, 83, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Features Section */
.features {
  background: #f8f9fa;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

.stats-section {
  margin-top: 4rem;
}

.stats-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.stat-item p {
  color: #666;
  line-height: 1.8;
}

.stats-note {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-top: 2rem;
}

/* Screenshots Section */
.screenshots {
  background: white;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.screenshot-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Pricing Section */
.pricing {
  background: #f8f9fa;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 3px solid #667eea;
  transform: scale(1.05);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.badge {
  background: #667eea;
  color: white;
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.price-sub {
  color: #666;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: #666;
  border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.btn-pricing {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-pricing:hover {
  background: #5568d3;
}

.pricing-note {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Contact Section */
.contact {
  background: white;
}

.contact-info {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #2c3e50;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
}

.contact-form button {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-footer {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.btn-footer:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-business-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-business-info p {
  margin: 0.25rem 0;
  display: inline-block;
  margin: 0 0.75rem;
}

.footer-business-email {
  margin-top: 0.5rem;
}

.footer-business-name,
.footer-business-registration,
.footer-business-owner,
.footer-business-address {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Error Section */
.error-section {
  margin-top: 100px;
  text-align: center;
  padding: 4rem 2rem;
}

.error-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.error-section p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0;
  }

  .nav-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-right {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
  }

  .lang-switch {
    font-size: 0.85rem;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-title strong {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .app {
    padding-top: 100px;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-grid,
  .stats-content,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .stats-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   로그인 관련 스타일
   ============================================ */

/* 네비게이션 인증 버튼 */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-greeting {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-greeting-text {
  margin: 0;
  font-weight: 600;
  color: #333;
}

.user-name,
.user-email {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.btn-dashboard {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #893027 0%, #e0822d 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-dashboard:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(137, 48, 39, 0.3);
}

.btn-logout {
  padding: 0.5rem 1rem;
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background: #e8e8e8;
  color: #333;
}

.user-email-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
}

/* 알림 토스트 */
.notification-root {
  position: fixed;
  top: 5.5rem; /* 헤더 높이(80px) + 여백(8px) */
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1100;
  pointer-events: none;
}

.notification {
  min-width: 280px;
  max-width: 360px;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  border-left: 4px solid #667eea;
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.notification.visible {
  opacity: 1;
  transform: translateY(0);
}

.notification.success {
  border-left-color: #22c55e;
}

.notification.error {
  border-left-color: #f43f5e;
}

.notification.warning {
  border-left-color: #f97316;
}

.notification.info {
  border-left-color: #3b82f6;
}

.notification-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
}

.notification-close:hover {
  color: #475569;
}

.notification-content {
  padding-right: 1.5rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .notification-root {
    left: 1rem;
    right: 1rem;
    top: 5.5rem; /* 모바일에서도 헤더 아래에 배치 */
  }

  .notification {
    width: 100%;
    max-width: none;
  }
}

/* 로그인 모달 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 440px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  font-weight: 300;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #333;
}

.modal-content h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  color: #333;
  font-weight: 700;
}

.modal-description {
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.login-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-kakao-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.5rem;
  background-color: #FEE500;
  color: #000000;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  letter-spacing: -0.01em;
}

.btn-kakao-login:hover {
  background-color: #FDD835;
  box-shadow: 0 2px 8px rgba(254, 229, 0, 0.3);
}

.btn-kakao-login svg {
  flex-shrink: 0;
}

.btn-email-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background-color: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-email-login:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-email-login svg {
  flex-shrink: 0;
}

.login-view {
  width: 100%;
}

.email-login-form {
  width: 100%;
}

.email-login-form .form-group {
  margin-bottom: 1.5rem;
}

.email-login-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

/* CJ ONSTYLE 스타일 */
.welcome-section {
  margin-bottom: 2.5rem;
}

.welcome-message {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.welcome-subtitle {
  font-size: 1.1rem;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

.welcome-subtitle .brand-name {
  color: #7B2CBF;
  font-weight: 600;
}

.cj-login-form {
  width: 100%;
  margin-bottom: 1.5rem;
}

.form-group-cj {
  margin-bottom: 1.75rem;
}

.form-group-cj label {
  display: block;
  margin-bottom: 0.625rem;
  font-weight: 500;
  color: #1f2937;
  font-size: 0.875rem;
}

.cj-input {
  width: 100%;
  padding: 0.625rem 0;
  border: none;
  border-bottom: 1px solid #d1d5db;
  border-radius: 0;
  background: transparent;
  font-size: 0.9375rem;
  color: #1f2937;
  transition: border-color 0.3s;
}

.cj-input:focus {
  outline: none;
  border-bottom-color: #7B2CBF;
  border-bottom-width: 2px;
}

.cj-input::placeholder {
  color: #9ca3af;
  font-size: 0.875rem;
}

.login-options-cj {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #7B2CBF;
}

.btn-login-cj {
  width: 100%;
  padding: 0.9375rem 1rem;
  background-color: #7B2CBF;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.btn-login-cj:hover {
  background-color: #6A1B9A;
  box-shadow: 0 2px 8px rgba(123, 44, 191, 0.3);
}

.account-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
}

.account-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s;
}

.account-links a:hover {
  color: #7B2CBF;
}

.link-divider {
  color: #d1d5db;
  font-size: 0.75rem;
}

.social-login-section {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e5e7eb;
}

.social-login-hint {
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* 비밀번호 재설정 스타일 */
.reset-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.reset-description {
  font-size: 0.9375rem;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.reset-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn-reset-submit {
  width: 100%;
  padding: 0.9375rem 1rem;
  background-color: #7B2CBF;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.btn-reset-submit:hover {
  background-color: #6A1B9A;
  box-shadow: 0 2px 8px rgba(123, 44, 191, 0.3);
}

.btn-reset-back {
  width: 100%;
  padding: 0.9375rem 1rem;
  background-color: #ffffff;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.btn-reset-back:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.reset-hint {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.4;
  text-align: center;
}

.email-login-form .form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.email-login-form .form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.email-login-form .form-error {
  background-color: #fee2e2;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.email-login-form .form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.email-login-form .form-actions .btn-primary {
  flex: 1;
  padding: 0.75rem 1rem;
  background-color: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-login-form .form-actions .btn-primary:hover {
  background-color: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.email-login-form .form-actions .btn-secondary {
  flex: 1;
  padding: 0.75rem 1rem;
  background-color: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-login-form .form-actions .btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.modal-footer-text {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.modal-footer-text a {
  color: #667eea;
  text-decoration: underline;
}

.modal-footer-text a:hover {
  color: #5568d3;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .auth-buttons {
    margin-left: 1rem;
  }

  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .user-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
  }

  .modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .btn-kakao-login {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* 사이드바 레이아웃 */
.app-layout {
  display: block;
  min-height: 100vh;
  background: #f8f9fa;
  position: relative;
}

.app-main {
  width: calc(100% - 256px);
  margin-left: 256px;
  min-height: 100vh;
  padding: 2rem;
  transition: margin-left 0.3s ease, width 0.3s ease;
  box-sizing: border-box;
}

/* 사이드바 축소 모드일 때 */
body.sidebar-collapsed .app-main {
  width: calc(100% - 104px);
  margin-left: 104px;
}

/* 모바일 대응 - 사이드바 최소 크기 유지 */
@media (max-width: 991px) {
  .app-main {
    margin-left: 104px; /* 사이드바 최소 크기만큼 여백 */
    padding: 1rem;
  }
  
  body.sidebar-collapsed .app-main {
    margin-left: 104px; /* 모바일에서도 최소 크기 유지 */
  }
  
  .sidebar {
    width: 104px; /* 최소 크기 유지 */
    min-width: 104px; /* 최소 너비 보장 */
  }
  
  .sidebar.collapsed {
    width: 104px; /* 축소 모드도 최소 크기 유지 */
  }
}

