/* ============================================
   충북대학교병원 상향평가시스템 - 공통 스타일
   ============================================ */

/* 색상 변수 */
:root {
  /* Primary Colors */
  --primary-blue: #155DFC;
  --primary-blue-hover: #0D4FD8;
  --primary-blue-active: #0A3FB0;
  
  /* Background Colors */
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-blue-light: #EFF6FF;
  --bg-blue-lighter: #BEDBFF;
  --bg-success-light: #DCFCE7;
  
  /* Text Colors */
  --text-primary: #101828;
  --text-secondary: #364153;
  --text-tertiary: #4A5565;
  --text-placeholder: rgba(10, 10, 10, 0.5);
  --text-meta: #99A1AF;
  --text-success: #008236;
  
  /* Border Colors */
  --border-primary: #E5E7EB;
  --border-secondary: #D1D5DC;
  
  /* Shadow */
  --shadow-sm: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  --shadow-md: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 40px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 14px;
  
  /* Font Sizes */
  --font-xs: 12px;
  --font-sm: 14px;
  --font-base: 16px;
  --font-lg: 18px;
  --font-xl: 20px;
  --font-2xl: 24px;
  --font-3xl: 30px;
  --font-4xl: 48px;
}

/* Gmarket Sans Font */
@font-face {
  font-family: 'Gmarket Sans';
  src: url('/fonts/GmarketSansLight.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gmarket Sans';
  src: url('/fonts/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gmarket Sans';
  src: url('/fonts/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'GmarketSans', 'Segoe UI', 'Noto Sans KR', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.5;
}

 html, body {
    height: 100%;
    margin: 0;
}

html {
    scrollbar-gutter: stable;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #F9FAFB;
}

.main-content {
    flex: 1;
    width: 100%;
}

.main-content > div:nth-of-type(1) {
    min-height: calc(100vh - 135px);
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
}

@media (max-width: 991.98px) {
    .content-wrapper {
        padding: 24px 16px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', 'GmarketSans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}

/* 공통 버튼 스타일 */
.btn-primary {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: var(--bg-white) !important;
  font-weight: 400;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover) !important;
  border-color: var(--primary-blue-hover) !important;
}

.btn-primary:active,
.btn-primary:focus {
  background-color: var(--primary-blue-active) !important;
  border-color: var(--primary-blue-active) !important;
  box-shadow: 0 0 0 0.2rem rgba(21, 93, 252, 0.15) !important;
}

/* 공통 카드 스타일 */
.card-custom {
  background: var(--bg-white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-card {
  background: var(--bg-white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md) var(--spacing-md) 0;
}

.step-card-title {
  font-size: var(--font-lg);
  font-weight: 700;
  line-height: 1.56;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.step-card-desc {
  font-size: var(--font-base);
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.notice-card {
  background: var(--bg-white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg) var(--spacing-lg) 0;
}

.notice-card h3 {
  font-size: var(--font-xl);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

/* 공통 폼 컨트롤 */
.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(21, 93, 252, 0.15);
}

.form-label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

/* Input Group 스타일 */
.input-group-text {
  background-color: var(--bg-white);
  border-color: var(--border-secondary);
  color: var(--text-meta);
}

.input-group:focus-within .input-group-text {
  border-color: var(--primary-blue);
}

.input-group .form-control {
  border-color: var(--border-secondary);
}

.input-group .form-control:focus {
  border-color: var(--primary-blue);
}

/* 브레드크럼 공통 스타일 */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-sm);
  margin-bottom: var(--spacing-md);
}

.breadcrumb-custom a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-custom a:hover {
  color: var(--primary-blue);
}

.breadcrumb-custom .active {
  color: var(--text-primary);
}

/* 페이지 타이틀 공통 스타일 */
.page-title {
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

@media (max-width: 991.98px) {
  .page-title {
    font-size: var(--font-2xl);
  }
}

/* 리스트 스타일 */
.list-danger {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-danger li {
  position: relative;
  padding-left: 18.5px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.list-danger li:last-child {
  margin-bottom: 0;
}

.list-danger li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 4px;
  color: #E7000B;
  font-size: var(--font-base);
}

.list-danger .text-danger-emphasis {
  color: #E7000B !important;
}

/* 정보 박스 공통 스타일 */
.info-box {
  background-color: var(--bg-blue-light);
  border: 1px solid var(--bg-blue-lighter);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
}

.info-box-blue {
  background-color: var(--bg-blue-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
}

.info-box-blue p {
  margin-bottom: var(--spacing-sm);
}

.info-box-blue p:last-child {
  margin-bottom: 0;
}

/* 배지 공통 스타일 */
.badge-progress {
  background-color: var(--bg-success-light);
  color: var(--text-success);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: var(--font-xs);
  font-weight: 400;
}

/* 단계 배지 */
.step-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: var(--font-sm);
  font-weight: 400;
  color: var(--bg-white);
  line-height: 1.43;
}

.step-badge-blue {
  background-color: var(--primary-blue);
}

.step-badge-green {
  background-color: #00A63E;
}

.step-badge-purple {
  background-color: #9810FA;
}

.btn-brand-primary:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--brand-light);
}

.btn-brand-danger {
  background-color: var(--brand-danger);
  border-color: var(--brand-danger-hover);
  color: var(--brand-light);
  font-size: 24px;
  font-weight: 700;
  padding: 14px 60px;
  border-radius: 30px;
}

.btn-brand-danger:hover {
  background-color: var(--brand-danger-hover);
  border-color: var(--brand-danger-hover);
  color: var(--brand-light);
}

/* Product Cards */
.product-card {
  background: var(--brand-light);
  border: none;
  border-radius: 8px;
  box-shadow: 3px 3px 3px 5px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img-box {
  height: 314px;
  background: rgba(204, 204, 204, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.product-title {
  font-family: 'Hedvig Letters Serif', 'Noto Sans KR', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--brand-secondary);
  line-height: 1.2;
  margin-bottom: 10px;
}

.product-price {
  font-family: 'Hedvig Letters Serif', 'Noto Sans KR', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--brand-blue);
}

.product-price.out-of-stock {
  color: var(--brand-red);
}

/* Service Features */
.service-features {
  padding: 100px 0;
  background: var(--brand-light);
}

.service-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--brand-secondary);
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--brand-border);
}

.service-item {
  text-align: center;
  padding: 20px;
}

.service-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-secondary);
}

/* Brand Logos */
.brand-section {
  padding: 50px 0;
  background: var(--brand-light);
}

.brand-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.brand-item {
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Forms */
.form-control {
  border: 1px solid var(--brand-border);
  border-radius: 4.8px;
  padding: 8px 16px;
  font-size: 20px;
  font-weight: 300;
  color: var(--brand-primary);
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.25);
}

.form-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

/* Cart & Checkout */
.cart-summary {
  background: var(--brand-gray);
  border-radius: 8px;
  padding: 20px;
}

.cart-item {
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid var(--brand-secondary);
  padding: 15px 0;
}

.cart-item:last-child {
  border-bottom: none;
}

.order-summary-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-secondary);
}

.order-total {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-secondary);
  border-top: 1px solid var(--brand-secondary);
  padding-top: 10px;
  margin-top: 10px;
}

/* Utility Classes */
.text-brand-primary { color: var(--brand-primary) !important; }
.text-brand-secondary { color: var(--brand-secondary) !important; }
.text-brand-danger { color: var(--brand-danger) !important; }
.text-brand-blue { color: var(--brand-blue) !important; }
.text-brand-red { color: var(--brand-red) !important; }

.bg-brand-gray { background-color: var(--brand-gray) !important; }
.border-brand { border-color: var(--brand-border) !important; }

/* Responsive */
@media (max-width: 768px) {
  .brand-grid {
    flex-direction: column;
    gap: 30px;
  }
  
  .service-features {
    padding: 30px 0;
  }
  
  .service-title {
    font-size: 24px;
  }
  
  .service-text {
    font-size: 16px;
  }
}

/* Legacy support for existing components */
.p-img-box {
    display: flex;
    justify-content: center;
    align-content: center;
}

.p-img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.p-img-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    box-sizing: border-box;
    margin: 0 10px;
}

/* Pagination */
.page-item a {
    color: var(--brand-primary);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--brand-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-item a:hover {
    background-color: var(--brand-primary);
    color: var(--brand-light);
}

.page-item.active a {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-light);
}

/* Swiper */
.main-slide {
    height: 600px;
    max-height: 40vh;
}

@media (max-width: 768px) {
    .main-slide {
        height: 400px;
    }
}

.main-slide .swiper-wrapper {
    height: 100%;
}

.main-slide .swiper-slide {
    height: 100%;
}

.main-slide .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Currency */
.currency-gbp::before {
    content: "£";
}

/* Shipping Info */
.shipping-info {
    background: var(--brand-gray);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.shipping-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--brand-primary);
    text-align: center;
}

.shipping-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--brand-primary);
    text-align: center;
    line-height: 1.5;
}

/* Age Verification */
.age-verification {
    font-size: 16px;
    color: var(--brand-primary);
    text-align: right;
    margin-top: 20px;
    font-style: italic;
}

/* Reasons to Choose Section */
.reasons-section {
    background-color: var(--brand-light);
    padding: 50px 0;
}

.reasons-title {
    font-family: 'Helvetica Neue', 'Noto Sans KR', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--brand-secondary);
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
}

.title-underline {
    width: 800px;
    height: 1px;
    background-color: #CCCCCC;
    border: none;
    margin: 0 auto 40px;
}

.reasons-item {
    padding: 10px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reasons-text {
    font-family: 'Helvetica Neue', 'Noto Sans KR', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--brand-secondary);
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.separator-line {
    width: 1px;
    height: 80px;
    background-color: #CCCCCC;
    margin: 0 auto;
}

/* All Products Button */
.all-products-btn {
    background-color: var(--brand-danger);
    border-color: var(--brand-danger-hover);
    color: var(--brand-light);
    font-family: 'Helvetica Neue', 'Noto Sans KR', sans-serif;
    font-size: 24px;
    font-weight: 700;
    padding: 14px 60px;
    border-radius: 30px;
    border: 1px solid var(--brand-danger-hover);
    transition: all 0.3s ease;
}

.all-products-btn:hover {
    background-color: var(--brand-danger-hover);
    border-color: var(--brand-danger-hover);
    color: var(--brand-light);
    transform: translateY(-2px);
}

/* Age Disclaimer */
.age-disclaimer {
    font-family: 'Helvetica Neue', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--brand-dark);
    line-height: 1.5;
    margin: 0;
    max-width: 625px;
    text-align: center;
    margin: 0 auto;
}

/* Brand Partners Updates */
.brand-item {
    padding: 10px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-img {
    max-width: 200px;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title-underline {
        width: 100%;
        max-width: 400px;
    }
    
    .reasons-title {
        font-size: 24px;
        letter-spacing: 0.1em;
    }
    
    .reasons-text {
        font-size: 16px;
    }
    
    .separator-line {
        display: none;
    }
    
    .age-disclaimer {
        text-align: center;
        margin: 0 auto;
    }
    
    .all-products-btn {
        font-size: 20px;
        padding: 12px 40px;
    }
}

/* ============================================
   유의사항 화면 공통 스타일
   ============================================ */

/* 평가원칙/배제요소 카드 */
.principle-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
}

.principle-card h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 체크 리스트 (평가원칙) */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.check-list-item {
    position: relative;
    padding-left: 28px;
}

.check-list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    color: #00A63E;
    font-size: var(--font-base);
    line-height: 1.5;
    font-weight: 400;
}

.check-list-item .item-title {
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.check-list-item .item-desc {
    font-size: var(--font-sm);
    line-height: 1.43;
    color: var(--text-tertiary);
    margin: 0;
}

/* X 리스트 (배제요소) */
.cross-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cross-list-item {
    position: relative;
    padding-left: 28px;
}

.cross-list-item::before {
    content: '✗';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    color: #E7000B;
    font-size: var(--font-base);
    line-height: 1.5;
    font-weight: 400;
}

.cross-list-item .item-title {
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cross-list-item .item-desc {
    font-size: var(--font-sm);
    line-height: 1.43;
    color: var(--text-tertiary);
    margin: 0;
}

/* 하이라이트 박스 (종합적인 판단) */
.highlight-box-blue {
    background: transparent;
    border: 2px solid #8EC5FF;
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.highlight-box-blue h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: 1.4;
    color: #2B7FFF;
    margin-bottom: var(--spacing-sm);
}

.highlight-box-blue p {
    font-size: var(--font-lg);
    line-height: 1.625;
    color: #2B7FFF;
    margin: 0;
}

/* 아이콘 스타일 */
.icon-check {
    width: 28px;
    height: 28px;
    color: #00A63E;
}

.icon-cross {
    width: 28px;
    height: 28px;
    color: #E7000B;
}

/* 반응형 */
@media (max-width: 991.98px) {
    .principle-card {
        padding: var(--spacing-sm);
    }
    
    .highlight-box-blue {
        padding: var(--spacing-md);
    }
}

/* ============================================
   요청사항 화면 공통 스타일
   ============================================ */

/* 가이드라인 카드 */
.guideline-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
}

.guideline-card h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    line-height: 1.56;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.guideline-card p {
    font-size: var(--font-base);
    line-height: 1.5;
    color: var(--text-tertiary);
    margin: 0;
}

/* 가이드라인 아이콘 */
.guideline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guideline-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.guideline-icon-blue {
    background: #DBEAFE;
}

.guideline-icon-blue svg {
    color: #155DFC;
}

.guideline-icon-green {
    background: #DCFCE7;
}

.guideline-icon-green svg {
    color: #00A63E;
}

.guideline-icon-yellow {
    background: #FEF9C2;
}

.guideline-icon-yellow svg {
    color: #D08700;
}

.guideline-icon-purple {
    background: #F3E8FF;
}

.guideline-icon-purple svg {
    color: #9810FA;
}

.guideline-icon-red {
    background: #FFE2E2;
}

.guideline-icon-red svg {
    color: #E7000B;
}

/* 알림 박스 (빨간색) */
.alert-box-red {
    background: transparent;
    border: 2px solid #FFA2A2;
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    gap: var(--spacing-sm);
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.alert-box-red h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: 1.4;
    color: #FB2C36;
    margin-bottom: 12px;
}

.alert-box-red p {
    font-size: var(--font-lg);
    line-height: 1.625;
    color: #FB2C36;
    margin: 0;
}

.alert-icon-red {
    width: 32px;
    height: 32px;
    color: #FB2C36;
    flex-shrink: 0;
}

/* 반응형 */
@media (max-width: 991.98px) {
    .guideline-card {
        padding: var(--spacing-sm);
    }
    
    .alert-box-red {
        padding: var(--spacing-md);
    }
}

/* ============================================
   로그인 화면 공통 스타일
   ============================================ */

/* 로그인 배경 */
.login-body {
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

/* 로그인 래퍼 */
.login-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 로그인 카드 */
.login-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 로그인 로고 (왼쪽 영역) */
.login-logo-desktop {
    width: 384px;
    height: 96px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.login-title-desktop {
    font-family: 'Segoe UI', 'GmarketSans', sans-serif;
    font-size: var(--font-4xl);
    font-weight: 700;
    line-height: 1;
    color: var(--bg-white);
    margin-top: var(--spacing-lg);
}

/* 로그인 카드 내부 로고 */
.login-card-logo {
    width: 320px;
    height: 80px;
    object-fit: contain;
}

/* 로그인 폼 */
.login-form {
    width: 472px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-label {
    font-size: var(--font-sm);
    line-height: 1.43;
    color: var(--text-secondary);
    font-weight: 400;
}

.login-input-wrapper {
    position: relative;
    height: 50px;
}

.login-input {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    line-height: 1.33;
    padding: 12px 16px 12px 40px;
    color: var(--text-primary);
}

.login-input::placeholder {
    color: var(--text-placeholder);
}

.login-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(21, 93, 252, 0.15);
}

.login-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-meta);
    pointer-events: none;
}

/* 로그인 버튼 */
.login-btn {
    width: 100%;
    height: 52px;
    background-color: var(--primary-blue);
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-white);
    font-size: var(--font-lg);
    font-weight: 400;
    line-height: 1.56;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-btn:hover {
    background-color: var(--primary-blue-hover);
}

.login-btn:active {
    background-color: var(--primary-blue-active);
}

/* 로그인 안내 정보 */
.login-info-section {
    border-top: 1px solid var(--border-primary);
    padding-top: 25px;
    margin-top: 24px;
}

.login-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-info-item {
    display: flex;
    gap: 8px;
    font-size: var(--font-sm);
    line-height: 1.43;
}

.login-info-label {
    color: var(--text-secondary);
    font-weight: 400;
    flex-shrink: 0;
}

.login-info-value {
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ================================================
   메인화면 (Main Page)
   ================================================ */

/* 페이지 타이틀 */
.main-page-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 32px;
}

/* 메인 그리드 */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* 카드 섹션 */
.main-card-section {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 24px 24px 0;
}

/* 섹션 헤더 */
.main-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.main-section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-section-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.main-section-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
}

.main-view-all-btn {
    font-size: var(--font-sm);
    line-height: 1.4286;
    color: var(--primary-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}

.main-view-all-btn:hover {
    opacity: 0.8;
    color: var(--primary-blue);
}

/* 공지사항 리스트 */
.main-notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
}

.main-notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    min-height: 92px;
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.main-notice-item:hover {
    background-color: var(--bg-light);
}

.main-notice-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.main-notice-title {
    font-size: var(--font-base);
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
}

.main-notice-date {
    font-size: var(--font-sm);
    line-height: 1.4286;
    color: var(--text-meta);
    margin: 0;
}

.main-notice-arrow {
    width: 20px;
    height: 20px;
    color: #99A1AF;
    flex-shrink: 0;
}

/* 일정 리스트 */
.main-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
}

.main-schedule-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 17px;
    min-height: 92px;
    border: 1px solid var(--border-primary);
    border-radius: 10px;
}

.main-schedule-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.main-schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.main-schedule-title {
    font-size: var(--font-base);
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.main-badge-progress {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #DCFCE7;
    border-radius: 9999px;
    font-size: var(--font-sm);
    line-height: 1.4286;
    color: #008236;
    flex-shrink: 0;
}

.main-schedule-period {
    font-size: var(--font-sm);
    line-height: 1.4286;
    color: var(--text-tertiary);
    margin: 0;
}

/* 가이드 섹션 */
.main-guide-section {
    margin-top: 32px;
}

.main-guide-section .main-section-title {
    margin-bottom: 16px;
    display: block;
}

.main-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.main-guide-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 24px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.main-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.1), 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
}

.main-guide-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
}

.main-guide-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.main-guide-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5556;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

/* 반응형 - PC */
@media (min-width: 992px) {
    .main-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-guide-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 반응형 - 모바일 */
@media (max-width: 991.98px) {
    .main-page-title {
        font-size: 24px;
        line-height: 1.3333;
        margin-bottom: 24px;
    }

    .main-card-section {
        padding: 16px 16px 0;
    }

    .main-section-header {
        margin-bottom: 16px;
    }

    .main-section-title {
        font-size: 18px;
        line-height: 1.5556;
    }

    .main-view-all-btn {
        font-size: 12px;
        line-height: 1.3333;
    }

    .main-notice-list {
        gap: 8px;
        padding-bottom: 16px;
    }

    .main-notice-item {
        padding: 0 12px;
    }

    .main-notice-title {
        font-size: var(--font-sm);
        line-height: 1.4286;
    }

    .main-notice-date {
        font-size: 12px;
        line-height: 1.3333;
    }

    .main-schedule-list {
        gap: 8px;
        padding-bottom: 16px;
    }

    .main-schedule-item {
        padding: 13px;
        gap: 8px;
    }

    .main-schedule-title {
        font-size: var(--font-sm);
        line-height: 1.4286;
    }

    .main-badge-progress {
        padding: 5px 8px;
        font-size: 12px;
        line-height: 1.3333;
    }

    .main-schedule-period {
        font-size: 12px;
        line-height: 1.3333;
    }

    .main-guide-section {
        margin-top: 24px;
    }

    .main-guide-grid {
        gap: 16px;
    }

    .main-guide-card {
        padding: 24px 24px 24px;
        gap: 16px;
    }

    .main-guide-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .main-guide-icon {
        width: 64px;
        height: 64px;
    }

    .main-guide-title {
        font-size: var(--font-base);
        line-height: 1.5;
    }
}

/* 모바일 로그인 */
.login-mobile-logo {
    width: 256px;
    height: 64px;
    object-fit: contain;
}

.login-mobile-title {
    font-family: 'Segoe UI', 'GmarketSans', sans-serif;
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

/* 반응형 */
@media (min-width: 992px) {
    .login-card-wrapper {
        padding-left: 48px;
    }
}

@media (max-width: 991.98px) {
    .login-body {
        padding: 0 15.99px;
    }
    
    .login-form {
        width: 100%;
    }
    
    .login-card {
        max-width: 361px;
        width: 100%;
        padding: 24px 24px 0;
    }
    
    .login-card > * + * {
        margin-top: 24px;
    }
    
    .login-mobile-header {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 0;
    }
}

/* ================================================
   평가하기 메인 페이지 (Evaluation Main Page)
   ================================================ */

/* 브레드크럼 */
.eval-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    list-style: none;
    padding: 0;
}

.eval-breadcrumb-item {
    font-size: var(--font-sm);
    line-height: 1.43;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
}

.eval-breadcrumb-item a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}

.eval-breadcrumb-item a:hover {
    color: var(--primary-blue);
}

.eval-breadcrumb-separator {
    width: 16px;
    height: 16px;
    color: #6A7282;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eval-breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 400;
}

/* 페이지 타이틀 */
.eval-page-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 32px;
}

/* 정보 박스 */
.eval-info-box {
    background: #EFF6FF;
    border: 1px solid #BEDBFF;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 32px;
}

.eval-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eval-info-item {
    display: flex;
    gap: 8px;
    font-size: var(--font-base);
    line-height: 1.5;
    color: #364153;
}

.eval-info-bullet {
    color: #155DFC;
    font-weight: 700;
    flex-shrink: 0;
}

/* 평가현황 카드 */
.eval-status-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 24px 24px 32px;
    margin-bottom: 32px;
}

.eval-status-title {
    font-size: var(--font-xl);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* 평가현황 플로우 */
.eval-status-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.eval-status-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.eval-status-circle-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eval-status-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #CBD5E1 0%, #94A3B8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.eval-status-circle.active {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    box-shadow: 0px 0px 16px 0px rgba(59, 130, 246, 0.4);
    animation: status-breathe 3s ease-in-out infinite;
}

@keyframes status-breathe {
    0%, 100% {
        background: linear-gradient(135deg, #3B82F6 0%, #135dd3 100%);
        box-shadow: 0px 0px 16px 0px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
    50% {
        background: linear-gradient(135deg, #135dd3 0%, #3B82F6 100%);
        box-shadow: 0px 0px 28px 0px rgba(59, 130, 246, 0.7);
        transform: scale(1.1);
    }
}

.eval-status-label {
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1.43;
    color: var(--bg-white);
    text-align: center;
}

.eval-status-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #DC2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.33;
    color: var(--bg-white);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.eval-status-arrow {
    width: 20px;
    height: 20px;
    color: #CBD5E1;
    flex-shrink: 0;
}

/* 평가대상 리스트 카드 */
.eval-list-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.eval-list-header {
    padding: 24px 24px 0;
    border-bottom: 1px solid var(--border-primary);
}

.eval-list-title {
    font-size: var(--font-xl);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* 테이블 스타일 */
.eval-table {
    width: 100%;
    margin: 0;
}

.eval-table thead {
    background: var(--bg-light);
}

.eval-table th {
    padding: 24px;
    font-size: var(--font-sm);
    font-weight: 400;
    line-height: 1.43;
    color: var(--text-secondary);
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
}

.eval-table th.text-center {
    text-align: center;
}

.eval-table td {
    padding: 24px;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-primary);
    vertical-align: middle;
}

.eval-table td.text-center {
    text-align: center;
}

.eval-table tbody tr:last-child td {
    border-bottom: none;
}

.eval-table tbody tr:hover {
    background: var(--bg-light);
}

/* 배지 스타일 */
.eval-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: var(--font-sm);
    font-weight: 400;
    line-height: 1.43;
}

.eval-badge-secondary {
    background: #F3F4F6;
    color: #4B5563;
}

.eval-badge-primary {
    background: #DBEAFE;
    color: #1D4ED8;
}

.eval-badge-success {
    background: #DCFCE7;
    color: #15803D;
}

/* 버튼 스타일 */
.eval-btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #D1D5DC;
    border-radius: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.5;
    color: #6A7282;
    text-decoration: none;
    transition: all 0.2s;
}

.eval-btn-outline-primary:hover {
    background: var(--bg-light);
    border-color: #D1D5DC;
    color: #6A7282;
}

.eval-btn-outline-primary i {
    width: 20px;
    height: 20px;
}

.eval-btn-outline-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #D1D5DC;
    border-radius: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.5;
    color: #6A7282;
    text-decoration: none;
    transition: all 0.2s;
}

.eval-btn-outline-success:hover {
    background: var(--bg-light);
    border-color: #D1D5DC;
    color: #6A7282;
}

.eval-btn-outline-success i {
    width: 20px;
    height: 20px;
}

/* 모바일 카드 뷰 */
.eval-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.eval-mobile-card {
    background: var(--bg-white);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 16px;
}

.eval-mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.eval-mobile-card-title {
    font-size: var(--font-base);
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.eval-mobile-card-type {
    font-size: var(--font-sm);
    line-height: 1.43;
    color: var(--text-meta);
    margin: 0;
}

.eval-mobile-card-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
    line-height: 1.43;
    color: var(--text-meta);
    margin-bottom: 16px;
}

.eval-mobile-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.eval-mobile-card-actions .eval-btn-outline-primary,
.eval-mobile-card-actions .eval-btn-outline-success {
    width: 100%;
}

/* 하단 액션 버튼 */
.eval-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.eval-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #E5E7EB;
    border: 1px solid #D1D5DC;
    border-radius: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.5;
    color: #6A7282;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.eval-btn-secondary:hover {
    background: #D1D5DC;
    color: #6A7282;
}

.eval-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--primary-blue);
    border: none;
    border-radius: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.5;
    color: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s;
}

.eval-btn-submit:hover:not(:disabled) {
    background: var(--primary-blue-hover);
}

.eval-btn-submit:disabled {
    background: #E5E7EB;
    color: #99A1AF;
    cursor: not-allowed;
}

.eval-btn-submit i {
    width: 20px;
    height: 20px;
}

/* 반응형 - PC (992px 이상) */
@media (min-width: 992px) {
    .eval-mobile-cards {
        display: none;
    }
}

/* 반응형 - 태블릿 (768px ~ 991px) */
@media (max-width: 991.98px) {
    .eval-page-title {
        font-size: 24px;
        line-height: 1.33;
        margin-bottom: 24px;
    }

    .eval-info-box {
        padding: 16px;
        margin-bottom: 24px;
    }

    .eval-info-item {
        font-size: var(--font-sm);
        line-height: 1.43;
    }

    .eval-status-card {
        padding: 16px 16px 24px;
        margin-bottom: 24px;
    }

    .eval-status-title {
        font-size: var(--font-lg);
        line-height: 1.56;
        margin-bottom: 16px;
    }

    .eval-status-circle {
        width: 80px;
        height: 80px;
    }

    .eval-status-label {
        font-size: 12px;
        line-height: 1.33;
    }

    .eval-list-card {
        margin-bottom: 24px;
    }

    .eval-list-header {
        padding: 16px 16px 0;
    }

    .eval-list-title {
        font-size: var(--font-lg);
        line-height: 1.56;
        margin-bottom: 16px;
    }

    .eval-table {
        display: none;
    }

    .eval-mobile-cards {
        display: flex;
        padding: 16px;
    }
}

/* 반응형 - 모바일 (767px 이하) */
@media (max-width: 767px) {
    .eval-breadcrumb {
        margin-bottom: 16px;
        gap: 6px;
    }

    .eval-breadcrumb-item {
        font-size: 12px;
    }

    .eval-breadcrumb-separator {
        width: 14px;
        height: 14px;
    }

    .eval-page-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .eval-info-box {
        padding: 12px;
        margin-bottom: 16px;
    }

    .eval-info-item {
        font-size: 12px;
        line-height: 1.33;
    }

    .eval-status-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .eval-status-title {
        font-size: var(--font-base);
        margin-bottom: 16px;
    }

    .eval-status-flow {
        gap: 8px;
    }

    .eval-status-circle {
        width: 56px;
        height: 56px;
    }

    .eval-status-label {
        font-size: 10px;
    }

    .eval-status-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -2px;
        right: -2px;
    }

    .eval-status-arrow {
        width: 16px;
        height: 16px;
    }

    .eval-list-card {
        margin-bottom: 16px;
    }

    .eval-mobile-cards {
        padding: 12px;
        gap: 12px;
    }

    .eval-mobile-card {
        padding: 12px;
    }

    .eval-mobile-card-title {
        font-size: var(--font-sm);
    }

    .eval-mobile-card-type,
    .eval-mobile-card-info {
        font-size: 12px;
        line-height: 1.33;
    }

    .eval-action-buttons {
        grid-template-columns: 1fr;
    }

    .eval-btn-secondary,
    .eval-btn-submit {
        padding: 12px 24px;
        font-size: var(--font-sm);
    }
}

/* ================================================
   평가 폼 페이지 스타일 (basic, slide, table)
   ================================================ */

/* 사이드바 스타일 */
.eval-form-sidebar {
    position: relative;
}

.eval-form-sidebar-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

/* 평가현황 카드 */
.eval-status-summary {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.eval-status-summary-title {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.eval-status-summary-table {
    width: 100%;
}

.eval-status-summary-table th,
.eval-status-summary-table td {
    text-align: center;
    padding: 12px 8px !important;
    font-size: var(--font-sm);
}

.eval-status-summary-table th {
    background: var(--bg-light);
    color: var(--text-secondary);
    font-weight: 400;
}

.eval-status-summary-table td {
    color: var(--text-primary);
    font-weight: 600;
}

/* 평가대상자 카드 */
.eval-targets-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.eval-targets-title {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.eval-targets-list {
    width: 100%;
}

.eval-targets-list thead {
    border-bottom: 1px solid var(--border-primary);
}

.eval-targets-list th {
    padding: 8px;
    font-size: var(--font-sm);
    font-weight: 400;
    color: var(--text-secondary);
}

.eval-targets-list tbody tr {
    cursor: pointer;
    transition: background 0.2s;
}

.eval-targets-list tbody tr:hover {
    background: #E7F3FF;
}

.eval-targets-list tbody tr.active {
    background: #DBEAFE;
}

.eval-targets-list td {
    padding: 12px 8px !important;
    font-size: var(--font-sm);
    color: var(--text-primary);
}

/* 모드 선택 카드 */
.eval-mode-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
}

.eval-mode-title {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.eval-mode-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.eval-mode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: var(--bg-white);
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.eval-mode-btn:hover {
    border-color: var(--primary-blue);
}

.eval-mode-btn.active {
    border-color: var(--primary-blue);
    background: #E7F3FF;
    color: var(--primary-blue);
}

.eval-mode-btn i {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.eval-mode-label {
    font-size: 12px;
    font-weight: 600;
}

/* 평가 대상자 정보 카드 */
.eval-target-info-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.eval-target-info-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-primary);
}

.eval-target-info-title {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.eval-target-info-table {
    width: 100%;
}

.eval-target-info-table thead {
    background: var(--bg-light);
}

.eval-target-info-table th {
    padding: 16px 24px;
    font-size: var(--font-sm);
    font-weight: 400;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.eval-target-info-table td {
    padding: 16px 24px;
    font-size: var(--font-base);
    color: var(--text-primary);
}

/* 평가 질문 카드 */
.eval-question-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.eval-question-indicator {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.eval-question-item {
    margin-bottom: 32px;
}

.eval-question-item:last-child {
    margin-bottom: 0;
}

.eval-question-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #DBEAFE;
    color: #1D4ED8;
    border-radius: 9999px;
    font-size: var(--font-sm);
    font-weight: 400;
    margin-bottom: 8px;
}

.eval-question-text-box {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.eval-question-text {
    font-size: var(--font-base);
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
}

/* 평가 옵션 선택 */
.eval-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.eval-option {
    position: relative;
}

.eval-option-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.eval-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: var(--bg-white);
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
}

.eval-option-label:hover {
    border-color: var(--primary-blue);
}

.eval-option-input.active + .eval-option-label,
.eval-option-input:checked + .eval-option-label {
    border-color: var(--primary-blue);
    background: #E7F3FF;
}

.eval-option-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}


.eval-option-input.active + .eval-option-label .eval-option-value,
.eval-option-input:checked + .eval-option-label .eval-option-value {
    color: var(--primary-blue);
}

.eval-option-label-text {
    font-size: 12px;
    color: var(--text-meta);
}

.eval-option-input.active + .eval-option-label .eval-option-label-text,
.eval-option-input:checked + .eval-option-label .eval-option-label-text {
    color: var(--primary-blue);
}

/* 표 모드 스타일 */
.eval-table-mode {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.eval-table-mode table {
    width: 100%;
    border-collapse: collapse;
}

.eval-table-mode th {
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-primary);
    font-size: var(--font-sm);
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
}

.eval-table-mode td {
    padding: 12px;
    border: 1px solid var(--border-primary);
    font-size: var(--font-sm);
    color: var(--text-primary);
}

.eval-table-mode td.question-col {
    text-align: left;
    max-width: 400px;
}

.eval-table-mode td.option-col {
    text-align: center;
    width: 60px;
}

.eval-table-mode input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

/* 하나씩 모드 스타일 */
.eval-slide-mode {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.eval-slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.eval-slide-progress {
    font-size: var(--font-sm);
    color: var(--text-meta);
}

.eval-slide-nav {
    display: flex;
    gap: 8px;
}

.eval-slide-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.eval-slide-nav-btn:hover:not(:disabled) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.eval-slide-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.eval-slide-nav-btn i {
    width: 20px;
    height: 20px;
}

.eval-slide-content {
    min-height: 400px;
}

.eval-question-slide {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 평가 섹션 카드 (슬라이드 모드) */
.eval-sections-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eval-section-card {
    background: var(--bg-white);
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.eval-section-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.eval-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.eval-section-title {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.eval-section-body {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-meta);
    font-size: var(--font-sm);
}

/* 액션 버튼 그룹 */
.eval-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.eval-btn-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: #E5E7EB;
    border: 1px solid #D1D5DC;
    border-radius: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    color: #6A7282;
    text-decoration: none;
    transition: all 0.2s;
}

.eval-btn-prev:hover {
    background: #D1D5DC;
    color: #6A7282;
}

.eval-btn-save {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--bg-white);
    border: 1px solid var(--primary-blue);
    border-radius: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.2s;
}

.eval-btn-save:hover {
    background: #E7F3FF;
}

.eval-btn-save i {
    width: 20px;
    height: 20px;
}

.eval-btn-complete {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: #008236;
    border: none;
    border-radius: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    color: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s;
}

.eval-btn-complete:hover {
    background: #006B2D;
}

.eval-btn-complete i {
    width: 20px;
    height: 20px;
}

/* 플로팅 사이드바 토글 버튼 */
.eval-sidebar-toggle {
    position: fixed;
    bottom: 32px;
    left: 16px;
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.2s;
}

.eval-sidebar-toggle:hover {
    background: var(--primary-blue-hover);
    transform: scale(1.05);
}

.eval-sidebar-toggle i {
    width: 24px;
    height: 24px;
}

/* 반응형 - 모바일 (991px 이하) */
@media (max-width: 991.98px) {
    .eval-options {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .eval-option-label {
        padding: 12px 8px;
    }

    .eval-option-value {
        font-size: 20px;
    }

    .eval-option-label-text {
        font-size: 10px;
    }

    .eval-form-actions {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

    .eval-btn-prev, 
    .eval-btn-save, 
    .eval-btn-complete {
        padding: 12px 16px;
        font-size: var(--font-sm);
    }

    .eval-table-mode {
        overflow-x: auto;
    }

    .eval-table {
        font-size: var(--font-sm);
    }

    .eval-table thead th {
        font-size: 12px;
    }
}

/* ===== Evaluation Table Mode Styles ===== */
.eval-table-mode {
    width: 100%;
}

.eval-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: var(--font-sm);
    color: var(--text-primary);
}

.eval-table thead th {
    background: #F9FAFB;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 12px;
    border: 1px solid #E5E7EB;
    vertical-align: middle;
    text-align: left;
    font-size: var(--font-sm);
    line-height: 1.43;
}

.eval-table thead th.text-center {
    text-align: center;
}

.eval-table tbody td {
    padding: 16px 12px;
    border: 1px solid #E5E7EB;
    vertical-align: middle;
    line-height: 1.43;
}

.eval-table tbody td.text-center {
    text-align: center;
}

.eval-table tbody td.fw-bold {
    font-weight: 600;
    background: #F9FAFB;
}

.eval-table tbody td.align-middle {
    vertical-align: middle;
}

/* Radio button styling for table mode */
.eval-table .form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 2px solid #D1D5DB;
    margin: 0;
}

.eval-table .form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.eval-table .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(21, 93, 252, 0.25);
}

/* Hover effect for table rows */
.eval-table tbody tr:hover {
    background-color: #F9FAFB;
}

/* 반응형 - 모바일 (767px 이하) */
@media (max-width: 767px) {
    .eval-section-card {
        padding: 16px;
    }

    .eval-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .eval-section-title {
        font-size: var(--font-base);
    }

    .eval-question-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .eval-question-indicator {
        font-size: var(--font-base);
        margin-bottom: 16px;
    }

    .eval-question-item {
        margin-bottom: 24px;
    }

    .eval-options {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }

    .eval-option-label {
        padding: 8px 4px;
    }

    .eval-option-value {
        font-size: 16px;
    }

    .eval-option-label-text {
        font-size: 9px;
    }

    .eval-form-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .eval-slide-mode {
        padding: 16px;
    }

    /* Table mode mobile styles */
    .eval-table-mode {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .eval-table {
        font-size: 12px;
        min-width: 800px; /* Ensure table scrolls horizontally on mobile */
    }

    .eval-table thead th {
        padding: 12px 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    .eval-table tbody td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .eval-table .form-check-input {
        width: 18px;
        height: 18px;
    }

    .eval-sidebar-toggle {
        width: 48px;
        height: 48px;
        bottom: 24px;
    }
}