/* CSS 변수 정의 */
:root {
    /* Primary Colors */
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    
    /* Border Colors */
    --border-color: #E9ECEF;
}

/* 기본 폰트 설정 */
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* 컨테이너 패딩 */
.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* 버튼 스타일 */
.btn {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* 강의 페이지 스타일 */
.lecture-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.lecture-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: relative;
}

.lecture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.lecture-card .card-body {
    padding: 1.5rem;
}

.lecture-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.lecture-card .section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-soft);
}

.lecture-card .card-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.lecture-card .curriculum {
    white-space: pre-line;
    font-size: 0.95rem;
    line-height: 1.6;
}

.admin-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.lecture-card:hover .admin-actions {
    opacity: 1;
}

.admin-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.admin-actions .btn i {
    font-size: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 0;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 모달 스타일 */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: var(--bg-light);
}

/* 섹션 헤더 스타일 */
.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.section-header .section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 관리자 컨트롤 스타일 */
.admin-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-controls .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* 강의 카드 스타일 개선 */
.lecture-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.lecture-card {
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.lecture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

.lecture-card .card-body {
    padding: 0;
}

.lecture-card .card-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(to right, rgba(46, 125, 50, 0.03), rgba(46, 125, 50, 0));
}

.lecture-card .card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.lecture-card .card-content {
    padding: 2rem;
}

.lecture-card .content-section {
    margin-bottom: 2rem;
}

.lecture-card .content-section:last-child {
    margin-bottom: 0;
}

.lecture-card .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lecture-card .section-title i {
    font-size: 1.2rem;
    color: var(--primary-soft);
}

.lecture-card .card-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.lecture-card .curriculum {
    white-space: pre-line;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* 관리자 버튼 스타일 개선 */
.admin-actions {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.lecture-card:hover .admin-actions {
    opacity: 1;
}

.admin-actions .btn {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
}

.admin-actions .btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.admin-actions .btn i {
    font-size: 1.1rem;
}

/* 빈 상태 스타일 개선 */
.empty-state {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(to bottom, rgba(46, 125, 50, 0.03), rgba(46, 125, 50, 0));
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
}

.empty-state i {
    font-size: 3.5rem;
    color: var(--primary-soft);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state p {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state .empty-description {
    color: var(--text-medium);
    font-size: 1rem;
    font-weight: normal;
}

/* 반응형 디자인 */
@media (min-width: 768px) {
    .lecture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 992px) {
    .lecture-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }

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

    .section-header .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .lecture-card .card-header {
        padding: 1.5rem;
    }

    .lecture-card .card-content {
        padding: 1.5rem;
    }

    .lecture-card .card-title {
        font-size: 1.25rem;
    }
}

/* Dropdown Menu Styles */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-top: 0;
  padding: 0.8rem 0;
  min-width: 200px;
  background-color: rgba(255, 255, 255, 0.98);
  display: none;  /* 기본적으로 숨김 처리 */
}

.dropdown-item {
  font-family: 'Pretendard', sans-serif;
  padding: 0.8rem 1.5rem;
  color: #43A047;  /* 서브메뉴 컬러도 밝게 변경 */
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 2.5rem;
  letter-spacing: -0.01em;
}

.dropdown-item:before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 50%;
  width: 4px;
  height: 4px;
  background-color: #388E3C;
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease;
  opacity: 0;
}

.dropdown-item:hover {
  background-color: #F1F8E9;
  color: #2E7D32;  /* 호버시 메인 메뉴와 동일한 컬러 */
  transform: translateX(5px);
  font-weight: 600;
}

.dropdown-item:hover:before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

/* Login/Logout Button */
.btn-outline-primary {
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid #E8F5E9;
  color: #2E7D32;
  padding: 0.45rem 1.2rem;
  transition: all 0.25s ease;
  border-radius: 6px;
  letter-spacing: -0.01em;
  background-color: #F1F8E9;
}

.btn-outline-primary:hover {
  background-color: #2E7D32;
  border-color: #2E7D32;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.15);
}

.btn-outline-secondary {
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid #ECEFF1;
  color: #546E7A;
  padding: 0.45rem 1.2rem;
  transition: all 0.25s ease;
  border-radius: 6px;
  letter-spacing: -0.01em;
  background-color: #F5F7F8;
}

.btn-outline-secondary:hover {
  background-color: #546E7A;
  border-color: #546E7A;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(84, 110, 122, 0.15);
}

/* Navbar Brand Image */
.navbar-brand img {
  height: 32px;
  width: auto;
  transition: transform 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* 드롭다운 메뉴 스타일 */
.navbar-nav .dropdown .nav-link {
  cursor: default;
}

/* 강사소개 페이지 스타일 */
.instructor-profile-image {
  position: relative;
  padding: 1rem;
}

.instructor-profile-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(46, 125, 50, 0.1), rgba(129, 199, 132, 0.1));
  border-radius: 1rem;
  transform: rotate(-3deg);
  z-index: -1;
}

.instructor-profile-image img {
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.instructor-profile-image:hover img {
  transform: rotate(0deg);
}

/* 타임라인 스타일 */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--primary-soft);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 1.5rem;
  width: 2px;
  height: calc(100% - 1rem);
  background-color: rgba(46, 125, 50, 0.2);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-content {
  padding: 1rem 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
  color: var(--primary-soft);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/* 대표 강좌 슬라이더 */
.lecture-slider {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.lecture-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

.lecture-item {
  flex: 0 0 auto;
  width: calc(33.333% - 1.334rem);
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.lecture-item:hover {
  transform: translateY(-5px);
}

.lecture-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.lecture-item-content {
  padding: 1.5rem;
}

.lecture-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.lecture-item p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.lecture-item .btn {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .lecture-item {
    width: calc(100% - 2rem);
  }
  
  .timeline {
    padding-left: 1.5rem;
  }
  
  .timeline-item::before {
    left: -1.5rem;
  }
  
  .timeline-item::after {
    left: -1.1rem;
  }
}

/* 서브페이지 공통 스타일 */
.subpage-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4.5rem 0;  /* 4rem에서 4.5rem으로 증가 (15px 증가) */
  margin-top: -1px;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/main/images/pattern.png') repeat;
  opacity: 0.1;
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.subpage-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  font-family: 'Pretendard', sans-serif;
}

.subpage-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-family: 'Pretendard', sans-serif;
}

@media (max-width: 768px) {
  .subpage-title {
    font-size: 2rem;
  }
  
  .subpage-description {
    font-size: 1rem;
  }
}

/* 강사 프로필 섹션 */
.profile-section {
  padding: 5rem 0;
  background-color: white;
}

.profile-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-top: -100px;
}

.instructor-profile-image {
  position: relative;
  padding: 2rem;
}

.image-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(46, 125, 50, 0.1), rgba(129, 199, 132, 0.1));
  border-radius: 20px;
  transform: rotate(-3deg);
  z-index: 0;
}

.instructor-profile-image img {
  position: relative;
  z-index: 1;
  border-radius: 15px;
  transform: rotate(2deg);
  transition: all 0.3s ease;
}

.instructor-profile-image:hover img {
  transform: rotate(0deg);
}

.profile-subtitle {
  font-size: 1.1rem;
  color: var(--primary-soft);
  display: block;
  margin-bottom: 1rem;
}

.profile-name {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.profile-divider {
  width: 80px;
  height: 4px;
  background: var(--primary-soft);
  margin: 2rem 0;
}

.profile-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-soft);
  color: white;
  transform: translateY(-3px);
}

/* 약력 섹션 */
.history-section {
  padding: 5rem 0;
  background-color: #F8FAF8;
}

.history-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.history-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.title-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: white;
  border-radius: 12px;
  font-size: 1.2rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background-color: var(--primary-soft);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 1.5rem;
  width: 2px;
  height: calc(100% - 1rem);
  background-color: rgba(46, 125, 50, 0.2);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-content {
  background: #F8FAF8;
  border-radius: 15px;
  padding: 1.5rem;
}

.year {
  color: var(--primary-soft);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-medium);
  font-size: 1rem;
}

.timeline-list li:last-child {
  margin-bottom: 0;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: var(--primary-soft);
  border-radius: 50%;
}

/* 대표 강좌 섹션 */
.featured-lectures {
  padding: 5rem 0;
  background: white;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .subpage-title {
    font-size: 2.2rem;
  }
  
  .profile-card {
    padding: 2rem;
    margin-top: -50px;
  }
  
  .profile-name {
    font-size: 2.5rem;
  }
  
  .history-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .history-title {
    font-size: 1.5rem;
  }
  
  .timeline {
    padding-left: 1.5rem;
  }
  
  .timeline-item::before {
    left: -1.5rem;
  }
  
  .timeline-item::after {
    left: -1.15rem;
  }
}

/* Footer Styles */
.footer {
  background-color: #FAFAFA;
  padding: 3rem 0 2rem;
  border-top: 1px solid #EEEEEE;
  font-family: 'Pretendard', sans-serif;
}

/* 상단 메뉴 스타일 */
.footer-menu {
  border-bottom: 1px solid #EEEEEE;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
}

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

.footer-menu-list li a {
  color: #424242;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: all 0.2s ease;
  position: relative;
}

.footer-menu-list li a:hover {
  color: var(--primary-soft);
}

.footer-menu-list li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-soft);
  transition: width 0.2s ease;
}

.footer-menu-list li a:hover::after {
  width: 100%;
}

/* 기업 정보 스타일 */
.footer-content {
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.company-info p {
  font-size: 0.925rem;
  color: #757575;
  line-height: 1.8;
  margin: 0;
  letter-spacing: -0.01em;
}

/* 고객센터 스타일 */
.footer-contact {
  padding-left: 2rem;
}

.contact-title {
  font-size: 1rem;
  color: #424242;
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-phone {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-soft);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.contact-time {
  font-size: 0.925rem;
  color: #757575;
  line-height: 1.8;
  margin: 0;
  letter-spacing: -0.01em;
}

/* 하단 저작권 */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #EEEEEE;
}

.copyright {
  font-size: 0.875rem;
  color: #9E9E9E;
  text-align: center;
  margin: 0;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1.5rem;
  }

  .footer-menu {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }

  .footer-menu-list {
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: center;
  }

  .footer-brand {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .company-info {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-contact {
    padding-left: 0;
    text-align: center;
  }
}

/* 로그인 페이지 스타일 */
.login-section {
  padding: 5rem 0;
  background-color: white;
}

.login-container {
  max-width: 460px;
  margin: 0 auto;
}

.login-box {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-top: -100px;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social img {
  width: 24px;
  height: 24px;
}

.btn-kakao {
  background-color: #FEE500;
  color: #000000;
}

.btn-kakao:hover {
  background-color: #F6DC00;
  transform: translateY(-2px);
}

.btn-google {
  background-color: white;
  color: #424242;
  border: 1px solid #E0E0E0;
}

.btn-google:hover {
  background-color: #F5F5F5;
  transform: translateY(-2px);
}

.login-option {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #EEEEEE;
}

.keep-login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  color: #757575;
  font-size: 0.95rem;
}

.keep-login input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #F5F5F5;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.keep-login:hover input ~ .checkmark {
  background-color: #EEEEEE;
}

.keep-login input:checked ~ .checkmark {
  background-color: var(--primary-soft);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.keep-login input:checked ~ .checkmark:after {
  display: block;
}

@media (max-width: 768px) {
  .login-section {
    padding: 3rem 0;
  }

  .login-box {
    padding: 2rem;
    margin-top: -50px;
    border-radius: 15px;
  }

  .btn-social {
    font-size: 0.95rem;
    padding: 0.875rem;
  }
}

/* 정책 페이지 스타일 */
.policy-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.policy-item {
  margin-bottom: 3.5rem;
}

.policy-item:last-child {
  margin-bottom: 0;
}

.policy-item h2 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'Pretendard', sans-serif;
}

.policy-item p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-family: 'Pretendard', sans-serif;
}

.policy-item ul {
  list-style: none;
  padding-left: 1.25rem;
  margin: 1.25rem 0;
}

.policy-item ul li {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  position: relative;
  font-family: 'Pretendard', sans-serif;
}

.policy-item ul li::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background-color: var(--primary-soft);
  border-radius: 50%;
}

.contact-info {
  background-color: var(--bg-light);
  padding: 1.75rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* 서브페이지 히어로 섹션 스타일 개선 */
.subpage-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4.5rem 0;
  margin-top: -1px;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/main/images/pattern.png') repeat;
  opacity: 0.1;
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.subpage-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  font-family: 'Pretendard', sans-serif;
}

.subpage-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-family: 'Pretendard', sans-serif;
}

@media (max-width: 768px) {
  .policy-section {
    padding: 3rem 0;
  }

  .policy-content {
    padding: 2rem;
    border-radius: 8px;
  }

  .policy-item {
    margin-bottom: 2.5rem;
  }

  .policy-item h2 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }

  .policy-item p,
  .policy-item ul li {
    font-size: 0.95rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

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

  .subpage-description {
    font-size: 1rem;
  }
}

/* 정책 페이지 히어로 섹션 커스텀 스타일 */
.policy-section .subpage-hero {
  background: linear-gradient(135deg, #2E7D32 0%, #388E3C 100%);
  padding: 5rem 0;
}

.policy-section .subpage-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section .subpage-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.policy-section .subpage-description {
  font-size: 1.25rem;
  opacity: 0.9;
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .policy-section {
    padding: 4rem 0;
  }

  .policy-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .policy-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }

  .policy-item h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .policy-item p,
  .policy-item ul li {
    font-size: 1rem;
    line-height: 1.75;
  }

  .contact-info {
    padding: 1.5rem;
  }

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

  .policy-section .subpage-description {
    font-size: 1.1rem;
  }
}

/* 문의/불편신고 페이지의 CSS 스타일 추가 */
.subpage-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    padding: 4rem 0;
    margin-bottom: 3rem;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/main/images/pattern.png') repeat;
    opacity: 0.1;
}

.subpage-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.subpage-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subpage-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.inquiry-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.inquiry-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.inquiry-content .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.inquiry-content .form-control,
.inquiry-content .form-select {
    border-color: var(--border-color);
    padding: 0.75rem 1rem;
}

.inquiry-content .form-control:focus,
.inquiry-content .form-select:focus {
    border-color: var(--primary-soft);
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

.inquiry-content .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.inquiry-content .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.inquiry-content .btn-outline-secondary {
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.inquiry-content .text-danger {
    color: #dc3545;
}

.inquiry-content .form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 3rem 0;
    }
    
    .subpage-title {
        font-size: 2rem;
    }
    
    .inquiry-content {
        padding: 1.5rem;
    }
}