/* Networking & Live Session Styles */

.networking-container {
    background: #ffffff;
    position: relative;
    padding-bottom: 0;
}

/* Hero section 아래 배경을 hero와 동일하게 */
.networking-container > .hero-section {
    background: radial-gradient(circle at 40% 70%, #0b2242 0%, #15161b 100%);
}

/* === Hero Section (research.html 스타일 참고) === */
.hero-section.start {
    background: radial-gradient(circle at 40% 70%, #0b2242 0%, #15161b 100%);
    color: var(--color-text-light);
    min-height: 45vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding: 2rem 0 80px 0;
    text-align: left;
    z-index: 1;
    overflow: hidden;
    margin-top: calc(-1 * var(--navbar-height));
    padding-top: calc(var(--navbar-height) + 1rem);
    padding-bottom: 80px;
    margin-bottom: 0;
}

.cc-svg-overlay {
    position: absolute;
    top: calc(-1 * var(--navbar-height));
    left: 0;
    width: 100%;
    height: calc(100% + 80px);
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cc-svg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(1.0);
}

.hero-section .container {
    position: relative;
    z-index: 50 !important;
    margin-left: 8.75rem !important;
    text-align: left !important;
}

.hero-section .headline-big {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 50 !important;
    line-height: 1.2;
}

.hero-section .small_words h4 {
    font-family: var(--font-korean);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-light);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6), 0 0 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 50 !important;
}

.hero-section .small_words {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 50 !important;
}

/* 신청하기 버튼 스타일 */
.hero-section .btn.start_b {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    background-color: #ffffff !important;
    border: 2px solid #87CEEB !important;
    border-radius: 30px !important;
    color: #0b2242 !important;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 50 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.hero-section .btn.start_b i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-section .btn.start_b:hover {
    background-color: #4da6ff !important;
    color: #ffffff !important;
    border-color: #4da6ff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 166, 255, 0.4);
}

.hero-section .btn.start_b:hover i {
    transform: translateY(-2px) scale(1.1);
}

.hero-section .btn.start_b:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.3);
}

.fade-in-delay {
    animation: fadeIn 0.8s ease-in-out;
}

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

.networking-main-content {
    margin-top: -50px !important;
    padding-bottom: 2rem;
}

/* Filter Section */
.filter-section {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(31, 78, 121, 0.1);
    border: 1px solid rgba(31, 78, 121, 0.15);
    margin-bottom: 2rem;
}

/* Filter Controls Wrapper */
.filter-controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Language Filter Tabs */
.language-filter-tabs {
    display: flex;
    gap: 8px;
    flex: 1;
}

.language-filter-tab {
    padding: 10px 20px;
    border: 2px solid rgba(31, 78, 121, 0.3);
    border-radius: 25px;
    background: #ffffff;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.9rem;
}

.language-filter-tab:hover {
    background: rgba(31, 78, 121, 0.1);
    border-color: rgba(31, 78, 121, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.2);
}

.language-filter-tab.active {
    background: rgba(31, 78, 121, 0.15);
    border-color: rgba(31, 78, 121, 0.6);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 16px rgba(31, 78, 121, 0.3);
}

.language-filter-tab .flag-icon {
    margin-right: 6px;
    font-size: 1.1rem;
}

/* Timezone Filter Tabs */
.timezone-filter-tabs {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.timezone-filter-tab {
    padding: 10px 20px;
    border: 2px solid rgba(31, 78, 121, 0.3);
    border-radius: 25px;
    background: #ffffff;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.9rem;
}

.timezone-filter-tab:hover {
    background: rgba(31, 78, 121, 0.1);
    border-color: rgba(31, 78, 121, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.2);
}

.timezone-filter-tab.active {
    background: rgba(31, 78, 121, 0.15);
    border-color: rgba(31, 78, 121, 0.6);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 16px rgba(31, 78, 121, 0.3);
}

/* Calendar Section */
.calendar-section {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(10, 35, 66, 0.15);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(31, 78, 121, 0.1);
}

.calendar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0A2342, #1F4E79, #0A2342);
    z-index: 1;
}

/* FullCalendar Customization - 금융적이고 현대적인 스타일 */
.fc {
    font-family: var(--font-primary);
    color: var(--color-primary-dark);
}

.fc-theme-standard td,
.fc-theme-standard th {
    border-color: rgba(31, 78, 121, 0.15);
}

.fc-theme-standard .fc-scrollgrid {
    border-color: rgba(31, 78, 121, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

/* 캘린더 헤더 */
.fc-header-toolbar {
    margin-bottom: 2rem !important;
    padding: 1rem;
    background: rgba(31, 78, 121, 0.05);
    border-radius: 12px;
}

.fc-toolbar-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--color-primary-dark) !important;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.fc-button {
    background: rgba(31, 78, 121, 0.1) !important;
    border: 1px solid rgba(31, 78, 121, 0.3) !important;
    color: var(--color-primary-dark) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: none !important;
    font-size: 0.9rem !important;
}

.fc-button:hover {
    background: rgba(31, 78, 121, 0.2) !important;
    border-color: rgba(31, 78, 121, 0.5) !important;
    color: var(--color-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.2);
}

.fc-button:active {
    transform: translateY(0);
}

.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
    background: rgba(31, 78, 121, 0.3) !important;
    border-color: rgba(31, 78, 121, 0.6) !important;
    color: var(--color-primary-dark) !important;
}

/* 요일 헤더 */
.fc-col-header-cell {
    background: rgba(31, 78, 121, 0.1) !important;
    padding: 1rem 0.5rem !important;
    font-weight: 600 !important;
    color: var(--color-primary-dark) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.fc-col-header-cell:hover {
    background: rgba(31, 78, 121, 0.2) !important;
}

.fc-col-header-cell-cushion {
    color: var(--color-primary-dark) !important;
}

/* 날짜 셀 */
.fc-daygrid-day {
    background: #ffffff !important;
    transition: all 0.2s ease;
}

.fc-daygrid-day:hover {
    background: rgba(31, 78, 121, 0.1) !important;
}

.fc-daygrid-day:active,
.fc-daygrid-day.fc-day-selected {
    background: rgba(31, 78, 121, 0.15) !important;
}

.fc-day-today {
    background: rgba(31, 78, 121, 0.1) !important;
    border: 2px solid rgba(31, 78, 121, 0.4) !important;
}

.fc-daygrid-day-number {
    color: var(--color-primary-dark) !important;
    font-weight: 500 !important;
    padding: 0.5rem !important;
    font-size: 0.95rem;
}

.fc-day-today .fc-daygrid-day-number {
    color: var(--color-primary-dark) !important;
    font-weight: 700 !important;
}

/* 이벤트 스타일 */
.fc-event {
    cursor: pointer;
    border-radius: 6px;
    padding: 6px 8px;
    margin: 2px 0;
    border: 1px solid transparent !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.fc-event::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.8);
}

.fc-event:hover {
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 4px 16px rgba(31, 78, 121, 0.5);
    z-index: 10;
    filter: brightness(1.1);
}

.fc-event:active {
    filter: brightness(0.95);
}

.fc-event-title {
    padding: 0 !important;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 종료된 세션 스타일 */
.fc-event.session-ended {
    border: 3px solid #dc3545 !important;
    opacity: 0.7;
    position: relative;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3) !important;
}

.fc-event.session-ended::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dc3545;
    transform: translateY(-50%);
    z-index: 1;
}

.fc-event.session-ended .fc-event-title {
    text-decoration: line-through;
    text-decoration-color: #dc3545;
    text-decoration-thickness: 2px;
    opacity: 0.8;
}

/* 세션 툴팁 스타일 */
.session-tooltip {
    display: none;
    position: absolute;
    background: #1f4e79;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 250px;
    line-height: 1.4;
}

.session-tooltip div {
    margin-bottom: 4px;
}

.session-tooltip div:last-child {
    margin-bottom: 0;
}

.session-tooltip i {
    margin-right: 4px;
    width: 12px;
    text-align: center;
}

.fc-event-time {
    font-weight: 500;
    opacity: 0.9;
    margin-right: 4px;
}

.fc-event .session-check-icon {
    position: absolute;
    top: 2px;
    left: 2px;
    color: #28a745;
    font-size: 14px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.fc-event .event-language-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 내 세션 버튼 배지 */
.fc-mySessions-button {
    position: relative !important;
}

.my-sessions-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.4);
    border: 2px solid white;
    z-index: 10;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(220, 53, 69, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 3px 8px rgba(220, 53, 69, 0.6);
    }
}

.my-sessions-badge i {
    font-size: 9px;
}

/* 리스트 뷰 스타일 */
.fc-listMonth-view .fc-list-event {
    background: rgba(31, 78, 121, 0.05) !important;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.fc-listMonth-view .fc-list-event:hover {
    background: rgba(31, 78, 121, 0.15) !important;
    transform: translateX(4px);
    border-left: 3px solid rgba(31, 78, 121, 0.6);
}

.fc-list-event-title {
    color: var(--color-primary-dark) !important;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.fc-list-event-time {
    color: rgba(31, 78, 121, 0.7) !important;
    flex-shrink: 0;
    min-width: 80px;
    text-align: left;
}

/* 리스트 뷰 시간 세로 배치 */
.fc-list-event-time-vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    line-height: 1.3 !important;
}

.fc-list-event-time-start,
.fc-list-event-time-end {
    white-space: nowrap;
    font-size: inherit;
    color: inherit;
}

/* 리스트 뷰에서 제목에 포함된 시간 숨기기 (중복 방지) */
.fc-listMonth-view .fc-list-event-title .fc-event-time {
    display: none !important;
}

/* 리스트 뷰에서 중복 시간 표시 숨기기 */
.fc-listMonth-view .fc-list-event .fc-event-time:not(.fc-list-event-time) {
    display: none !important;
}

/* 리스트 뷰에서 제목 앞에 시간이 포함된 경우 숨기기 */
.fc-listMonth-view .fc-list-event-title::before {
    display: none !important;
}

/* 리스트 뷰에서 시간이 제목과 함께 표시되는 경우 처리 */
.fc-listMonth-view .fc-list-event-main .fc-event-time:not(.fc-list-event-time) {
    display: none !important;
}

/* 리스트 뷰에서 details 영역의 시간 숨기기 */
.fc-listMonth-view .fc-list-event-details .fc-event-time:not(.fc-list-event-time) {
    display: none !important;
}

/* 리스트 뷰에서 모든 중복 시간 요소 숨기기 */
.fc-listMonth-view .fc-list-event .fc-event-time:not(.fc-list-event-time) {
    display: none !important;
}

/* 리스트 뷰에서 .fc-list-event-time만 표시 */
.fc-listMonth-view .fc-list-event .fc-list-event-time {
    display: flex !important;
}

/* 주간/일간 뷰 스타일 */
.fc-timeGridDay-view .fc-timegrid-slot {
    border-color: rgba(31, 78, 121, 0.1);
}

.fc-timeGridDay-view .fc-timegrid-col {
    background: rgba(31, 78, 121, 0.02);
}

.fc-timegrid-event {
    border-radius: 6px;
    border: none !important;
}

/* 스크롤바 스타일링 */
.calendar-section::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.calendar-section::-webkit-scrollbar-track {
    background: rgba(31, 78, 121, 0.05);
    border-radius: 10px;
}

.calendar-section::-webkit-scrollbar-thumb {
    background: rgba(31, 78, 121, 0.3);
    border-radius: 10px;
}

.calendar-section::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 78, 121, 0.5);
}

/* 카테고리별 색상 - 금융적이고 현대적인 그라데이션 */
.session-category-lecture { 
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.session-category-lecture::before {
    background: rgba(76, 175, 80, 0.6);
}

.session-category-networking { 
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
}

.session-category-networking::before {
    background: rgba(33, 150, 243, 0.6);
}

.session-category-office-hour { 
    background: linear-gradient(135deg, #E65100 0%, #BF360C 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.3);
}

.session-category-office-hour::before {
    background: rgba(255, 152, 0, 0.6);
}

/* 언어별 배지 */
.session-language-ko {
    background: linear-gradient(135deg, #CD2E3A, #0047A0);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.session-language-en {
    background: linear-gradient(135deg, #002868, #BF0A30);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 상태별 배지 */
.session-status-upcoming { 
    background: var(--color-accent-gold); 
    color: white; 
}

.session-status-live { 
    background: #e74c3c; 
    color: white; 
    animation: pulse 1.5s infinite; 
}

.session-status-ended { 
    background: #6c757d; 
    color: white; 
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 신청 상태별 버튼 */
.btn-apply { 
    background: var(--color-accent-gold); 
    color: white;
}

.btn-apply:hover {
    background: var(--color-accent-light-gold);
}

.btn-pending { 
    background: #6c757d; 
    cursor: not-allowed; 
}

.btn-approved { 
    background: #4CAF50; 
    color: white;
}

.btn-approved:hover {
    background: #388E3C;
}

.btn-watch { 
    background: #FF0000; /* YouTube Red */
    color: white;
}

.btn-watch:hover {
    background: #CC0000;
}

/* Session Detail Modal - Legacy styles removed, see modern styles below */

/* Application Form Modal */
#applicationSessionInfo {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Admin Styles */
.networking-admin-container {
    padding: 2rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    margin: 0;
}

.session-list-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.session-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.session-list-filters {
    display: flex;
    gap: 1rem;
}

.session-list-filters .form-select {
    width: auto;
    min-width: 150px;
}

/* Applications Management */
.applications-actions {
    display: flex;
    gap: 0.5rem;
}

.application-item {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.application-item.selected {
    background: #e3f2fd;
    border-color: var(--color-primary-medium);
}

.application-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.application-item-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.application-item-status.pending {
    background: #ffc107;
    color: #000;
}

.application-item-status.approved {
    background: #4CAF50;
    color: white;
}

.application-item-status.rejected {
    background: #f44336;
    color: white;
}

/* 세션 신청 모달 현대적 디자인 (데스크탑 기본) */
.application-modal-dialog {
    max-width: 540px;
}

.application-modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.application-modal-header {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.application-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.application-modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    margin: 0;
}

.application-modal-header .modal-title i {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
}

.application-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.application-modal-header .btn-close:hover {
    opacity: 1;
}

.application-modal-body {
    background: #ffffff;
    padding: 2rem;
}

.application-session-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.application-session-info p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.application-session-info p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f4e79;
    margin-bottom: 0.75rem;
}

.application-session-info p:last-child {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-form-section {
    margin-top: 1.5rem;
}

.application-form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1f4e79;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.application-form-label i {
    color: #1f4e79;
    font-size: 0.9rem;
}

.application-textarea {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.application-textarea:focus {
    border-color: #1f4e79;
    box-shadow: 0 0 0 0.2rem rgba(31, 78, 121, 0.1);
    outline: none;
}

.application-form-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.application-form-hint i {
    color: #1f4e79;
    font-size: 0.8rem;
}

.application-char-count {
    font-weight: 500;
    color: #1f4e79;
}

.application-modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.application-btn-cancel {
    background: #ffffff;
    color: #6c757d;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.application-btn-cancel:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.application-btn-submit {
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.3);
}

.application-btn-submit:hover {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 78, 121, 0.4);
}

.application-btn-submit:active {
    transform: translateY(0);
}

.application-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.application-btn-submit i {
    font-size: 0.9rem;
}

/* 스크롤바 스타일 */
.application-modal-body::-webkit-scrollbar {
    width: 8px;
}

.application-modal-body::-webkit-scrollbar-track {
    background: rgba(31, 78, 121, 0.05);
    border-radius: 10px;
}

.application-modal-body::-webkit-scrollbar-thumb {
    background: rgba(31, 78, 121, 0.3);
    border-radius: 10px;
}

.application-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 78, 121, 0.5);
}

/* Responsive - Modern Mobile Design */
@media (max-width: 768px) {
    /* Hero Section - Mobile Optimized */
    .hero-section.start {
        min-height: 40vh;
        padding: 1.5rem 0 60px 0;
        padding-top: calc(var(--navbar-height) + 1rem);
    }
    
    .hero-section .container {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        padding: 0;
    }
    
    .hero-section .headline-big {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-section .small_words h4 {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    
    .hero-section .small_words {
        margin-bottom: 1.25rem !important;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0.75rem;
        width: 100%;
    }
    
    .hero-section .btn.start_b {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
        min-height: 48px; /* 터치 친화적 크기 */
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    }
    
    /* Main Content - Mobile */
    .networking-main-content .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        overflow-x: hidden;
    }
    
    /* Filter Section - Modern Card Style */
    .filter-section {
        padding: 1rem;
        border-radius: 12px;
        margin: 1rem 0 1.5rem 0;
        box-shadow: 0 2px 12px rgba(31, 78, 121, 0.08);
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .filter-controls-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
    }
    
    .language-filter-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    
    .language-filter-tab {
        padding: 0.875rem 0.5rem;
        border-radius: 10px;
        font-size: 0.8rem;
        font-weight: 600;
        min-height: 44px; /* 터치 친화적 크기 */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        border-width: 1.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    
    .language-filter-tab .flag-icon {
        font-size: 0.9rem;
        margin-right: 3px;
        flex-shrink: 0;
    }
    
    .timezone-filter-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }
    
    .timezone-filter-tab {
        padding: 0.875rem 0.5rem;
        border-radius: 10px;
        font-size: 0.8rem;
        font-weight: 600;
        min-height: 44px; /* 터치 친화적 크기 */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        border-width: 1.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    
    /* Calendar Section - Mobile Optimized */
    .calendar-section {
        padding: 1rem;
        border-radius: 12px;
        margin: 0 0 1.5rem 0;
        box-shadow: 0 2px 12px rgba(10, 35, 66, 0.08);
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .fc-header-toolbar {
        margin-bottom: 1rem !important;
        padding: 0.5rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .fc-toolbar-title {
        font-size: 1rem !important;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .fc-button {
        padding: 0.625rem 1rem !important;
        font-size: 0.8rem !important;
        min-height: 40px;
        border-radius: 8px !important;
    }
    
    .fc-button-group {
        display: flex;
        gap: 0.5rem;
    }
    
    .fc-col-header-cell {
        padding: 0.75rem 0.25rem !important;
        font-size: 0.75rem;
    }
    
    .fc-daygrid-day-number {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.875rem;
    }
    
    .fc-event {
        padding: 6px 8px;
        font-size: 0.8rem;
        border-radius: 6px;
        margin: 2px 0;
        min-height: 32px;
        display: flex;
        align-items: center;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(31, 78, 121, 0.2);
    }
    
    .fc-event-title {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* List View - Mobile */
    .fc-listMonth-view .fc-list-event {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        min-height: auto;
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }
    
    .fc-list-event-title {
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 0;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
        flex: 1;
        min-width: 0;
        margin-left: 0;
    }
    
    .fc-list-event-time {
        font-size: 0.75rem !important;
        line-height: 1.3;
        flex-shrink: 0;
        min-width: 70px;
        text-align: left;
        margin-right: 0;
    }
    
    .fc-list-event-time-vertical {
        gap: 0.2rem !important;
    }
    
    .fc-list-event-time-start,
    .fc-list-event-time-end {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }
    
    /* List View Date Header - Mobile */
    .fc-listMonth-view .fc-list-day-cushion {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .fc-list-day-text,
    .fc-list-day-side-text {
        font-size: 0.85rem !important;
        font-weight: 600;
    }
    
    .fc-list-event-graphic {
        display: none !important;
    }
    
    .fc-list-event-dot {
        display: none !important;
    }
    
    /* List View - Prevent text overflow */
    .fc-list-event-title,
    .fc-list-event-time {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .fc-list-event {
        overflow: visible !important;
    }
    
    .fc-list-event-title {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        flex: 1;
        min-width: 0;
    }
    
    /* List Event Layout - Ensure proper spacing */
    .fc-list-event-main {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    
    .fc-list-event-time {
        order: -1 !important;
        flex-shrink: 0 !important;
        min-width: 70px !important;
        white-space: nowrap !important;
        margin-right: 0 !important;
    }
    
    .fc-list-event-title {
        order: 1 !important;
        flex: 1 !important;
        min-width: 0 !important;
        margin-left: 0 !important;
    }
    
    .fc-list-event-details {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    /* List View - Prevent text overflow */
    .fc-list-event-title,
    .fc-list-event-time {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .fc-list-event {
        overflow: visible !important;
    }
    
    /* Main Content Spacing */
    .networking-main-content {
        margin-top: -40px !important;
        padding-bottom: 2rem;
    }
    
    .networking-main-content .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .main-content.networking-main-content .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Smooth Scrolling */
    .networking-container {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Touch Target Improvements */
    .fc-button,
    .language-filter-tab,
    .timezone-filter-tab,
    .btn {
        -webkit-tap-highlight-color: rgba(31, 78, 121, 0.2);
        touch-action: manipulation;
    }
    
    /* Better Spacing for Mobile */
    .cc-svg-overlay {
        height: calc(100% + 60px);
    }
    
    .cc-svg-image {
        opacity: 0.5;
    }
    
    /* Admin Styles - Mobile */
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .session-list-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .session-list-filters {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .session-list-filters .form-select {
        width: 100%;
        min-height: 44px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Modal Styles - Mobile Optimized */
    .create-session-modal .modal-dialog,
    .session-detail-modal .modal-dialog,
    .modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100vh;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    /* 내 세션 모달 높이 제한 */
    #mySessionsModal .modal-dialog {
        height: auto;
        max-height: 85vh;
        margin: auto;
        border-radius: 12px;
    }
    
    #mySessionsModal .modal-content {
        max-height: 85vh;
        height: auto;
        border-radius: 12px;
    }
    
    /* 세션 신청 모달 높이 제한 (모바일) */
    #applicationModal .modal-dialog {
        height: auto;
        max-height: 70vh;
        margin: auto;
        border-radius: 12px;
    }
    
    #applicationModal .modal-content {
        max-height: 70vh;
        height: auto;
        border-radius: 12px;
    }
    
    #applicationModal .modal-body {
        max-height: calc(70vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 모바일 최적화 */
    @media (max-width: 576px) {
        .application-modal-dialog {
            max-width: 100%;
            margin: 0.5rem;
        }
        
        .application-modal-header {
            padding: 1.25rem 1.5rem;
        }
        
        .application-modal-header .modal-title {
            font-size: 1.25rem;
        }
        
        .application-modal-body {
            padding: 1.5rem;
        }
        
        .application-modal-footer {
            padding: 1rem 1.5rem;
            flex-direction: column;
        }
        
        .application-btn-cancel,
        .application-btn-submit {
            width: 100%;
            padding: 0.75rem 1.5rem;
        }
    }
    
    .create-session-modal-content,
    .session-detail-modal-content,
    .modal-content {
        max-height: 100vh;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 0;
    }
    
    .create-session-modal-header,
    .session-detail-modal-header,
    .modal-header {
        padding: 1rem;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .create-session-modal-header .modal-title,
    .session-detail-modal-header .modal-title,
    .modal-header .modal-title {
        font-size: 1.1rem;
    }
    
    .create-session-modal-body,
    .session-detail-modal-body,
    .modal-body {
        padding: 1rem;
        flex: 1;
        overflow-y: auto;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 내 세션 모달 body 스크롤 최적화 */
    #mySessionsModal .modal-body {
        max-height: calc(85vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .create-session-modal-footer,
    .modal-footer {
        padding: 1rem;
        flex-shrink: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .create-session-form {
        gap: 1rem;
    }
    
    .form-section {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .section-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .form-control-modern,
    .form-select.form-control-modern {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
        border-radius: 8px;
    }
    
    .create-session-form .form-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .btn-secondary-modern,
    .btn-primary-modern {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        min-height: 48px;
        border-radius: 10px;
        font-weight: 600;
    }
    
    /* Table Responsive - Mobile */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    /* Nav Tabs - Mobile */
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-bottom: 2px solid rgba(31, 78, 121, 0.2);
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Button Groups - Mobile */
    .applications-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .applications-actions .btn {
        width: 100%;
        min-height: 44px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    /* List View - Extra Small Mobile */
    .fc-list-event-title {
        font-size: 0.7rem !important;
        line-height: 1.3;
    }
    
    .fc-list-event-time {
        font-size: 0.65rem !important;
        line-height: 1.2;
    }
    
    .fc-list-event-time-vertical {
        gap: 0.15rem !important;
    }
    
    .fc-list-event-time-start,
    .fc-list-event-time-end {
        font-size: 0.65rem !important;
        line-height: 1.1;
    }
    
    .fc-listMonth-view .fc-list-event {
        padding: 0.6rem !important;
        margin-bottom: 0.35rem;
    }
    
    .fc-listMonth-view .fc-list-day-cushion {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.75rem !important;
    }
    
    .fc-list-day-text,
    .fc-list-day-side-text {
        font-size: 0.75rem !important;
    }
    
    .fc-list-event-time {
        min-width: 60px !important;
    }
    
    .fc-list-event-time-start,
    .fc-list-event-time-end {
        font-size: 0.65rem !important;
    }
    
    .fc-list-event-main,
    .fc-list-event-details {
        gap: 0.6rem !important;
    }
    
    .hero-section .headline-big {
        font-size: 1.5rem !important;
    }
    
    .hero-section .small_words h4 {
        font-size: 0.875rem !important;
    }
    
    .networking-main-content .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .filter-section {
        margin: 0.75rem 0 1rem 0;
        padding: 0.875rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calendar-section {
        margin: 0 0 1rem 0;
        padding: 0.875rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .language-filter-tab,
    .timezone-filter-tab {
        padding: 0.7rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .language-filter-tab .flag-icon {
        font-size: 0.85rem;
        margin-right: 2px;
    }
    
    .fc-toolbar-title {
        font-size: 1rem !important;
    }
    
    .fc-button {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.75rem !important;
    }
}

/* Create Session Modal Styles */
.create-session-modal .modal-dialog {
    max-width: 700px;
    margin: 1rem auto;
}

/* 세션 수정 모달이 내 세션 모달보다 앞에 오도록 z-index 설정 */
#createSessionModal {
    z-index: 1070 !important;
}

#createSessionModal.show {
    z-index: 1070 !important;
}

#createSessionModal .modal-dialog {
    z-index: 1071 !important;
}

#createSessionModal .modal-content {
    z-index: 1071 !important;
    position: relative;
}

/* createSessionModal이 열릴 때 backdrop도 높은 z-index 설정 */
#createSessionModal.show ~ .modal-backdrop,
body:has(#createSessionModal.show) .modal-backdrop:last-of-type {
    z-index: 1069 !important;
}

/* Link Error Modal - 세션 만들기 모달보다 위에 표시 */
#linkErrorModal {
    z-index: 1080 !important;
}

#linkErrorModal.show {
    z-index: 1080 !important;
}

#linkErrorModal .modal-dialog {
    z-index: 1081 !important;
}

#linkErrorModal .modal-content {
    z-index: 1081 !important;
    position: relative;
}

/* linkErrorModal이 열릴 때 backdrop도 높은 z-index 설정 */
#linkErrorModal.show ~ .modal-backdrop,
body:has(#linkErrorModal.show) .modal-backdrop:last-of-type {
    z-index: 1079 !important;
}

/* 세션 만들기 모달 내부 스피너가 위에 표시되도록 */
#createSessionModal .spinner-border {
    z-index: 1082 !important;
    position: relative;
}

#createSessionModal #submitCreateSessionBtn {
    position: relative;
    z-index: 1082 !important;
}

.create-session-modal-content {
    border: none;
    box-shadow: 0 10px 40px rgba(11, 34, 66, 0.15), 0 0 0 1px rgba(11, 34, 66, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.create-session-modal-header {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.create-session-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.create-session-modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.create-session-modal-header .modal-title i {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
}

.create-session-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.create-session-modal-header .btn-close:hover {
    opacity: 1;
}

.create-session-modal-body {
    background: #ffffff;
    padding: 2rem;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.create-session-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.08);
    border-color: #dee2e6;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2242;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #1f4e79;
    font-size: 1.1rem;
}

.form-control-modern,
.form-select.form-control-modern {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #495057;
}

.form-control-modern:focus,
.form-select.form-control-modern:focus {
    border-color: #0b2242;
    box-shadow: 0 0 0 0.2rem rgba(11, 34, 66, 0.15);
    outline: none;
    background: #ffffff;
}

.form-control-modern::placeholder {
    color: #adb5bd;
}

.create-session-form .form-label {
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

/* Bootstrap g-3 간격 줄이기 */
.create-session-form .row.g-3 {
    --bs-gutter-y: 0.5rem;
    --bs-gutter-x: 0.75rem;
}

.create-session-form .form-label .text-danger {
    color: #dc3545;
}

.create-session-form .form-text {
    color: rgba(31, 78, 121, 0.6);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.create-session-modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-secondary-modern {
    background: #ffffff;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-modern:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #0b2242;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary-modern {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border: none;
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.2);
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 34, 66, 0.3);
    color: #ffffff;
}

.btn-primary-modern:active {
    transform: translateY(0);
}

/* 스크롤바 스타일링 */
.create-session-modal-body::-webkit-scrollbar,
#mySessionsModal .tab-content::-webkit-scrollbar,
#sessionManagementModal .tab-content::-webkit-scrollbar {
    width: 8px;
}

.create-session-modal-body::-webkit-scrollbar-track,
#mySessionsModal .tab-content::-webkit-scrollbar-track,
#sessionManagementModal .tab-content::-webkit-scrollbar-track {
    background: rgba(11, 34, 66, 0.05);
    border-radius: 10px;
}

.create-session-modal-body::-webkit-scrollbar-thumb,
#mySessionsModal .tab-content::-webkit-scrollbar-thumb,
#sessionManagementModal .tab-content::-webkit-scrollbar-thumb {
    background: rgba(11, 34, 66, 0.3);
    border-radius: 10px;
}

.create-session-modal-body::-webkit-scrollbar-thumb:hover,
#mySessionsModal .tab-content::-webkit-scrollbar-thumb:hover,
#sessionManagementModal .tab-content::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 34, 66, 0.5);
}

/* 내 세션 모달 스타일 - 현대적이고 금융적인 디자인 */
#mySessionsModal .modal-content {
    border: none;
    box-shadow: 0 10px 40px rgba(11, 34, 66, 0.15), 0 0 0 1px rgba(11, 34, 66, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

#mySessionsModal .modal-header {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

#mySessionsModal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

#mySessionsModal .modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#mySessionsModal .modal-title i {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
}

#mySessionsModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

#mySessionsModal .btn-close:hover {
    opacity: 1;
}

#mySessionsModal .modal-body {
    background: #f8f9fa;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(85vh - 140px);
    overflow: hidden;
}

/* 탭 네비게이션 - 현대적인 스타일 */
#mySessionsModal .nav-tabs {
    border-bottom: none;
    background: #ffffff;
    padding: 0.5rem 2rem 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

#mySessionsModal .nav-item {
    margin-bottom: 0;
}

#mySessionsModal .nav-link {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
    margin-bottom: -1px;
    border-bottom: 3px solid transparent;
}

#mySessionsModal .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b2242, #1f4e79);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mySessionsModal .nav-link:hover {
    color: #0b2242;
    background: rgba(11, 34, 66, 0.04);
    border-bottom-color: transparent;
}

#mySessionsModal .nav-link:hover::before {
    transform: scaleX(0.5);
}

#mySessionsModal .nav-link.active {
    background: #ffffff;
    color: #0b2242;
    border-bottom-color: transparent;
    box-shadow: 0 -2px 8px rgba(11, 34, 66, 0.08);
}

#mySessionsModal .nav-link.active::before {
    transform: scaleX(1);
}

#mySessionsModal .nav-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* 탭 콘텐츠 */
#mySessionsModal .tab-content {
    background: #ffffff;
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

#mySessionsModal .tab-pane {
    animation: fadeIn 0.3s ease;
}

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

/* 새로고침 버튼 */
#mySessionsModal .btn-primary {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border: none;
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#mySessionsModal .btn-primary:hover {
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 34, 66, 0.3);
    color: #ffffff;
}

#mySessionsModal .btn-primary:active {
    transform: translateY(0);
}

#mySessionsModal .btn-primary i {
    transition: transform 0.3s ease;
}

#mySessionsModal .btn-primary:hover i {
    transform: rotate(180deg);
}

/* 테이블 스타일 - 금융적이고 깔끔한 디자인 */
#mySessionsModal .table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.06);
    margin-top: 1.5rem;
}

#mySessionsModal .table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

#mySessionsModal .table thead th {
    color: #0b2242;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

#mySessionsModal .table tbody {
    background: #ffffff;
}

#mySessionsModal .table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f3f5;
}

#mySessionsModal .table tbody tr:last-child {
    border-bottom: none;
}

#mySessionsModal .table tbody tr:hover {
    background: linear-gradient(90deg, rgba(11, 34, 66, 0.02) 0%, rgba(31, 78, 121, 0.04) 100%);
    transform: translateX(2px);
    box-shadow: -2px 0 0 0 #0b2242;
}

#mySessionsModal .table tbody td {
    padding: 1.125rem 1.25rem;
    vertical-align: middle;
    color: #495057;
    font-size: 0.9rem;
}

#mySessionsModal .table tbody td strong {
    color: #0b2242;
    font-weight: 600;
}

#mySessionsModal .table tbody td a {
    color: #0b2242;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

#mySessionsModal .table tbody td a:hover {
    color: #1f4e79;
    text-decoration: underline;
}

/* 배지 스타일 - 현대적이고 깔끔한 디자인 */
#mySessionsModal .badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#mySessionsModal .badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #ffffff;
}

#mySessionsModal .badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #ffffff;
}

#mySessionsModal .badge.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: #ffffff;
}

#mySessionsModal .badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    color: #ffffff;
}

/* 버튼 스타일 - 금융적이고 세련된 디자인 */
#mySessionsModal .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#mySessionsModal .btn-sm.btn-primary {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    color: #ffffff;
}

#mySessionsModal .btn-sm.btn-primary:hover {
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(11, 34, 66, 0.3);
}

#mySessionsModal .btn-sm.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
}

#mySessionsModal .btn-sm.btn-info:hover {
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
}

#mySessionsModal .btn-sm.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
}

#mySessionsModal .btn-sm.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

#mySessionsModal .btn-sm.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
}

#mySessionsModal .btn-sm.btn-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

#mySessionsModal .btn-sm.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #ffffff;
}

#mySessionsModal .btn-sm.btn-warning:hover {
    background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

#mySessionsModal .btn-sm:active {
    transform: translateY(0);
}

/* 모달 푸터 */
#mySessionsModal .modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem 2rem;
}

#mySessionsModal .btn-secondary-modern {
    background: #ffffff;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mySessionsModal .btn-secondary-modern:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #0b2242;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 빈 상태 메시지 */
#mySessionsModal .table tbody tr td.text-center {
    padding: 3rem 1rem;
    color: #6c757d;
    font-size: 0.95rem;
    font-style: italic;
}

/* 로딩 상태 */
#mySessionsModal .table tbody tr td.text-center:contains("로딩") {
    color: #0b2242;
    font-weight: 500;
}

/* 세션 관리 모달 스타일 - 현대적이고 금융적인 디자인 */
#sessionManagementModal .modal-content {
    border: none;
    box-shadow: 0 10px 40px rgba(11, 34, 66, 0.15), 0 0 0 1px rgba(11, 34, 66, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

#sessionManagementModal .modal-header {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

#sessionManagementModal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

#sessionManagementModal .modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#sessionManagementModal .modal-title i {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
}

#sessionManagementModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

#sessionManagementModal .btn-close:hover {
    opacity: 1;
}

#sessionManagementModal .modal-body {
    background: #f8f9fa;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(85vh - 140px);
    overflow: hidden;
}

/* 세션 관리 모달 탭 네비게이션 */
#sessionManagementModal .nav-tabs {
    border-bottom: none;
    background: #ffffff;
    padding: 0.5rem 2rem 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

#sessionManagementModal .nav-item {
    margin-bottom: 0;
}

#sessionManagementModal .nav-link {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
    margin-bottom: -1px;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#sessionManagementModal .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b2242, #1f4e79);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sessionManagementModal .nav-link:hover {
    color: #0b2242;
    background: rgba(11, 34, 66, 0.04);
    border-bottom-color: transparent;
}

#sessionManagementModal .nav-link:hover::before {
    transform: scaleX(0.5);
}

#sessionManagementModal .nav-link.active {
    background: #ffffff;
    color: #0b2242;
    border-bottom-color: transparent;
    box-shadow: 0 -2px 8px rgba(11, 34, 66, 0.08);
}

#sessionManagementModal .nav-link.active::before {
    transform: scaleX(1);
}

#sessionManagementModal .nav-link i {
    font-size: 1rem;
}

/* 세션 관리 모달 탭 콘텐츠 */
#sessionManagementModal .tab-content {
    background: #ffffff;
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

#sessionManagementModal .tab-pane {
    animation: fadeIn 0.3s ease;
}

/* 세션 관리 모달 필터 및 버튼 */
#sessionManagementModal .mb-3 {
    margin-bottom: 1.5rem !important;
}

#sessionManagementModal .form-select {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #495057;
}

#sessionManagementModal .form-select:focus {
    border-color: #0b2242;
    box-shadow: 0 0 0 0.2rem rgba(11, 34, 66, 0.15);
    outline: none;
}

#sessionManagementModal .btn-primary {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border: none;
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#sessionManagementModal .btn-primary:hover {
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 34, 66, 0.3);
    color: #ffffff;
}

#sessionManagementModal .btn-primary:active {
    transform: translateY(0);
}

#sessionManagementModal .btn-primary i {
    transition: transform 0.3s ease;
}

#sessionManagementModal .btn-primary:hover i {
    transform: rotate(180deg);
}

/* 세션 관리 모달 테이블 */
#sessionManagementModal .table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(11, 34, 66, 0.06);
    margin-top: 1.5rem;
}

#sessionManagementModal .table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

#sessionManagementModal .table thead th {
    color: #0b2242;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

#sessionManagementModal .table tbody {
    background: #ffffff;
}

#sessionManagementModal .table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f3f5;
}

#sessionManagementModal .table tbody tr:last-child {
    border-bottom: none;
}

#sessionManagementModal .table tbody tr:hover {
    background: linear-gradient(90deg, rgba(11, 34, 66, 0.02) 0%, rgba(31, 78, 121, 0.04) 100%);
    transform: translateX(2px);
    box-shadow: -2px 0 0 0 #0b2242;
}

#sessionManagementModal .table tbody td {
    padding: 1.125rem 1.25rem;
    vertical-align: middle;
    color: #495057;
    font-size: 0.9rem;
}

#sessionManagementModal .table tbody td strong {
    color: #0b2242;
    font-weight: 600;
}

#sessionManagementModal .table tbody td a {
    color: #0b2242;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

#sessionManagementModal .table tbody td a:hover {
    color: #1f4e79;
    text-decoration: underline;
}

/* 세션 관리 모달 배지 */
#sessionManagementModal .badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#sessionManagementModal .badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #ffffff;
}

#sessionManagementModal .badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #ffffff;
}

#sessionManagementModal .badge.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: #ffffff;
}

#sessionManagementModal .badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    color: #ffffff;
}

/* 세션 관리 모달 버튼 */
#sessionManagementModal .btn-sm {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

#sessionManagementModal .btn-sm i {
    font-size: 0.7rem;
}

#sessionManagementModal .btn-sm.btn-primary {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    color: #ffffff;
}

#sessionManagementModal .btn-sm.btn-primary:hover {
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(11, 34, 66, 0.3);
}

#sessionManagementModal .btn-sm.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
}

#sessionManagementModal .btn-sm.btn-info:hover {
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
}

#sessionManagementModal .btn-sm.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
}

#sessionManagementModal .btn-sm.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

#sessionManagementModal .btn-sm.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
}

#sessionManagementModal .btn-sm.btn-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

#sessionManagementModal .btn-sm.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #ffffff;
}

#sessionManagementModal .btn-sm.btn-warning:hover {
    background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

#sessionManagementModal .btn-sm:active {
    transform: translateY(0);
}

/* 세션 관리 모달 푸터 */
#sessionManagementModal .modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem 2rem;
}

#sessionManagementModal .btn-secondary {
    background: #ffffff;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sessionManagementModal .btn-secondary:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #0b2242;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 세션 관리 모달 빈 상태 메시지 */
#sessionManagementModal .table tbody tr td.text-center {
    padding: 3rem 1rem;
    color: #6c757d;
    font-size: 0.95rem;
    font-style: italic;
}

/* 세션 정보 모달 스타일 */
#sessionInfoModal .modal-content {
    border: none;
    box-shadow: 0 10px 40px rgba(11, 34, 66, 0.15), 0 0 0 1px rgba(11, 34, 66, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

#sessionInfoModal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

#sessionInfoModal .modal-body {
    background: #ffffff;
}

.session-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.session-info-container .info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.session-info-container .info-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2242;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-info-container .info-section-title i {
    color: #1f4e79;
    font-size: 1.1rem;
}

.session-info-container .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.session-info-container .info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.session-info-container .info-item.full-width {
    grid-column: 1 / -1;
}

.session-info-container .info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.session-info-container .info-item .info-value {
    font-size: 0.95rem;
    color: #0b2242;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.6;
}

.session-info-container .info-item .info-value a {
    color: #0b2242;
    text-decoration: none;
    transition: color 0.2s ease;
}

.session-info-container .info-item .info-value a:hover {
    color: #1f4e79;
    text-decoration: underline;
}

.session-info-container .info-item .info-value .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .session-info-container .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Session Detail Modal - Modern UI/UX */
.session-detail-modal .modal-dialog {
    max-width: 800px;
    margin: 1rem auto;
}

.session-detail-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.session-detail-modal-header {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    border-bottom: none;
    padding: 1rem 1.5rem;
    position: relative;
}

.session-detail-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.session-detail-modal-header .modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    margin: 0;
}

.session-detail-modal-header .modal-title i {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.session-detail-modal-header .session-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-detail-modal-header .btn-share-session {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    opacity: 0.9;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.session-detail-modal-header .btn-share-session:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transform: translateY(-1px);
}

.session-detail-modal-header .btn-share-session i {
    font-size: 0.9rem;
}

.session-detail-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.session-detail-modal-header .btn-close:hover {
    opacity: 1;
}

.session-detail-modal-body {
    padding: 0;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    background: #ffffff;
}

@media (max-width: 768px) {
    .session-detail-modal-body {
        max-height: calc(90vh - 100px);
    }
    
    .session-detail-modal-header .btn-share-session {
        width: 32px;
        height: 32px;
    }
    
    .session-detail-modal-header .btn-share-session i {
        font-size: 0.85rem;
    }
}

/* Share Toast */
.share-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(31, 78, 121, 0.95);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
}

.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .share-toast {
        bottom: 1.5rem;
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Session Detail Hero Section */
.session-detail-hero {
    padding: 1rem 1.5rem 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.05) 0%, rgba(11, 34, 66, 0.02) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.session-detail-hero::before {
    display: none;
}

.session-detail-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.session-detail-category-badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.session-detail-category-badge-modern:hover {
    transform: translateY(-1px);
}

.session-detail-language-badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #1f4e79;
    font-weight: 600;
    font-size: 0.75rem;
    border: 2px solid rgba(31, 78, 121, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.session-detail-title-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0b2242;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* Session Detail Content */
.session-detail-content {
    padding: 1rem 1.5rem;
}

.session-detail-section {
    margin-bottom: 1.25rem;
}

.session-detail-section:last-child {
    margin-bottom: 0;
}

.section-title-modern {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b2242;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(31, 78, 121, 0.15);
    letter-spacing: -0.01em;
}

.section-title-modern i {
    color: #1f4e79;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* Lecturer Section */
.session-detail-lecturer-modern {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 78, 121, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.session-detail-lecturer-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lecturer-avatar {
    flex-shrink: 0;
}

.lecturer-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lecturer-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lecturer-info-modern {
    flex: 1;
    min-width: 0;
}

.lecturer-name-modern {
    font-size: 1rem;
    font-weight: 700;
    color: #0b2242;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
}

.lecturer-title-modern {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
}

.lecturer-title-modern i {
    font-size: 0.65rem;
    margin-right: 0.25rem;
}

.lecturer-bio-modern {
    font-size: 0.8rem;
    color: #495057;
    line-height: 1.5;
    margin: 0;
}

/* Session Info Grid */
.session-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .session-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.info-card-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(31, 78, 121, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.info-card-modern:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(31, 78, 121, 0.2);
}

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(31, 78, 121, 0.1);
    color: #1f4e79;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.2px;
}

.info-value {
    font-size: 0.9rem;
    color: #0b2242;
    font-weight: 700;
    line-height: 1.3;
}

/* Session Description */
.session-description-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #1f4e79;
    color: #495057;
    line-height: 1.6;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Action Button */
.session-detail-action {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(31, 78, 121, 0.1);
}

.btn-action-modern {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    text-decoration: none;
    min-height: 44px;
}

.btn-apply-modern {
    background: linear-gradient(135deg, #1f4e79 0%, #0b2242 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(31, 78, 121, 0.3);
}

.btn-apply-modern:hover:not(:disabled) {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 78, 121, 0.4);
}

.btn-approved-modern {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.btn-approved-modern:hover:not(:disabled) {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-pending-modern {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #333;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
}

.btn-pending-modern:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-watch-modern {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.btn-watch-modern:hover:not(:disabled) {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-secondary-modern {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-action-modern:active:not(:disabled) {
    transform: translateY(0);
}

.btn-action-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-action-modern i {
    font-size: 0.9rem;
}

/* 스크롤바 스타일링 */
.session-detail-modal-body::-webkit-scrollbar {
    width: 8px;
}

.session-detail-modal-body::-webkit-scrollbar-track {
    background: rgba(31, 78, 121, 0.05);
    border-radius: 10px;
}

.session-detail-modal-body::-webkit-scrollbar-thumb {
    background: rgba(31, 78, 121, 0.3);
    border-radius: 10px;
}

.session-detail-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 78, 121, 0.5);
}

/* Session Pending Approval */
.session-pending-approval {
    text-align: center;
    padding: 3rem 2rem;
}

.pending-approval-icon {
    font-size: 4rem;
    color: rgba(31, 78, 121, 0.3);
    margin-bottom: 1.5rem;
}

.pending-approval-icon i {
    animation: pulse 2s infinite;
}

.pending-approval-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.pending-approval-message {
    font-size: 1.1rem;
    color: rgba(31, 78, 121, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.session-pending-info {
    background: rgba(31, 78, 121, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.session-pending-info .info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: var(--color-primary-dark);
    font-weight: 500;
}

.session-pending-info .info-item i {
    color: rgba(31, 78, 121, 0.6);
    font-size: 1.1rem;
}

/* Mobile Responsive - Session Detail */
@media (max-width: 768px) {
    .session-detail-modal .modal-dialog {
        max-width: 100%;
        margin: 0.5rem auto;
        max-height: 90vh;
        height: auto;
    }
    
    .session-detail-modal-content {
        max-height: 90vh;
        height: auto;
        border-radius: 16px;
    }
    
    .session-detail-hero {
        padding: 0.75rem 1rem 0.5rem 1rem;
    }
    
    .session-detail-title-modern {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .session-detail-badges {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .session-detail-category-badge-modern,
    .session-detail-language-badge-modern {
        padding: 0.3rem 0.65rem;
        font-size: 0.7rem;
    }
    
    .session-detail-content {
        padding: 0.75rem 1rem;
    }
    
    .session-detail-section {
        margin-bottom: 1rem;
    }
    
    .section-title-modern {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .session-detail-lecturer-modern {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .lecturer-avatar img,
    .lecturer-avatar-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .lecturer-name-modern {
        font-size: 0.9rem;
    }
    
    .lecturer-title-modern {
        font-size: 0.75rem;
    }
    
    .lecturer-bio-modern {
        font-size: 0.75rem;
    }
    
    .session-info-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .info-card-modern {
        flex-direction: row;
        text-align: left;
        padding: 0.65rem;
        min-height: 60px;
    }
    
    .info-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
    
    .session-description-modern {
        padding: 0.85rem;
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .session-detail-action {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .btn-action-modern {
        min-height: 42px;
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }
    
    .session-pending-approval {
        padding: 1.5rem 1rem;
    }
    
    .pending-approval-icon {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }
    
    .pending-approval-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .pending-approval-message {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .session-pending-info {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .session-pending-info .info-item {
        font-size: 0.9rem;
        margin: 0.875rem 0;
    }
    
    /* Modal Close Button - Mobile */
    .btn-close {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        opacity: 0.7;
        padding: 0.5rem;
    }
    
    .btn-close:hover {
        opacity: 1;
    }
}

/* ==================== Replay Section ==================== */
.replay-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.replay-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 34, 66, 0.2), transparent);
}

.replay-header {
    margin-bottom: 3rem;
    text-align: center;
}

.replay-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.replay-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    letter-spacing: -0.02em;
}

.replay-title i {
    color: #dc3545;
    font-size: 2.2rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.replay-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}

.replay-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.replay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* YouTube 채널 CTA (세션 다시보기 아래) */
.youtube-cta {
    margin-top: 4rem;
    margin-bottom: 0;
}

.youtube-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.youtube-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff0000, #ff3333, #ff0000, transparent);
    opacity: 0.9;
}

.youtube-cta-icon-wrap {
    flex-shrink: 0;
}

.youtube-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #ff0000;
    transition: transform 0.3s ease, color 0.3s ease;
}

.youtube-cta-icon svg {
    width: 32px;
    height: 32px;
}

.youtube-cta:hover .youtube-cta-icon {
    color: #ff3333;
    transform: scale(1.05);
}

.youtube-cta-text {
    text-align: center;
    min-width: 0;
}

.youtube-cta-headline {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.02em;
}

.youtube-cta-sub {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 500;
}

.youtube-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.youtube-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.youtube-cta-btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.youtube-cta-btn-icon.yt-logo {
    width: 22px;
    height: 22px;
}

.youtube-cta-subscribe {
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

.youtube-cta-subscribe:hover {
    background: #cc0000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

.youtube-cta-channel {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.youtube-cta-channel:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Replay Card (미래에 YouTube 영상용) */
.replay-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 34, 66, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(11, 34, 66, 0.08);
    position: relative;
    cursor: pointer;
}

.replay-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11, 34, 66, 0.15);
    border-color: rgba(11, 34, 66, 0.2);
}

.replay-card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 비율 */
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    overflow: hidden;
}

.replay-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.replay-card:hover .replay-card-thumbnail img {
    transform: scale(1.05);
}

.replay-card-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(220, 53, 69, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.replay-card:hover .replay-card-play-button {
    background: rgba(220, 53, 69, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.4);
}

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

.replay-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.replay-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(11, 34, 66, 0.08);
}

.replay-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.replay-card-meta-item i {
    font-size: 0.875rem;
    color: #1f4e79;
}

.replay-card-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(11, 34, 66, 0.1) 0%, rgba(31, 78, 121, 0.1) 100%);
    color: var(--color-primary-dark);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

/* Replay card modern (썸네일 + 재생 버튼) */
.replay-card-modern .replay-card-thumbnail {
    background: #0f0f0f;
}

.replay-card-modern .replay-card-play-button {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    background: rgba(255, 0, 0, 0.9);
    border: none;
    box-shadow: 0 4px 24px rgba(255, 0, 0, 0.35);
}

.replay-card-modern:hover .replay-card-play-button {
    background: #ff0000;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.45);
}

/* Replay Video Modal (YouTube embed) */
.replay-video-modal .modal-dialog {
    max-width: 960px;
}

.replay-video-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.replay-video-modal-header {
    background: linear-gradient(135deg, #0b2242 0%, #1f4e79 100%);
    color: #ffffff;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.replay-video-modal-header .modal-title,
.replay-video-modal-header .modal-title i,
.replay-video-modal-header .modal-title .fa,
.replay-video-modal-header .modal-title .fab {
    color: #ffffff !important;
}

.replay-video-modal-header .modal-title {
    font-weight: 600;
    font-size: 1.125rem;
}

.replay-video-modal-body {
    background: #000;
    padding: 0;
}

.replay-video-embed-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.replay-video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Placeholder (영상 준비 중) */
.replay-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    border: 2px dashed rgba(11, 34, 66, 0.15);
    position: relative;
    overflow: hidden;
}

.replay-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(11, 34, 66, 0.03) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.replay-placeholder-icon {
    font-size: 5rem;
    color: rgba(11, 34, 66, 0.2);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.replay-placeholder h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.replay-placeholder p {
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .replay-section {
        padding: 3rem 0;
        margin-top: 2rem;
    }
    
    .replay-title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .replay-title i {
        font-size: 1.75rem;
    }
    
    .replay-subtitle {
        font-size: 1rem;
    }
    
    .replay-content {
        padding: 0 1rem;
    }
    
    .replay-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .replay-placeholder {
        padding: 3rem 1.5rem;
    }
    
    .replay-placeholder-icon {
        font-size: 3.5rem;
    }
    
    .replay-placeholder h3 {
        font-size: 1.5rem;
    }

    .youtube-cta {
        margin-top: 3rem;
    }

    .youtube-cta-inner {
        flex-direction: column;
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }

    .youtube-cta-headline {
        font-size: 1rem;
    }

    .youtube-cta-sub {
        font-size: 0.875rem;
    }

    .youtube-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .youtube-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .replay-placeholder p {
        font-size: 1rem;
    }
    
    .replay-video-modal .modal-dialog {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .replay-card-modern .replay-card-play-button {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
}
