@charset "UTF-8";
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext');

d.container-fluid {
/* 	height: 100vh; */
	min-height: 100vh;
}

.header-welcomeText {
	text-align: right;
}

/* footer
================================================== */
footer {
	position: relative;
	z-index: 10;
}

ul {
    margin: 0px;
    padding: 0px;
}

.post ul {
    margin-left: 20px;
    font-size:  14px;
}

.footer-section {
  background: #151414;
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.single-cta i {
  color: #ff5e14;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #404040;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #757575;
  font-size: 15px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo img {
    max-width: 50px;
}
.footer-text p {
  margin-bottom: 7px;
  font-size: 14px;
      color: #7e7e7e;
  line-height: 28px;
}
.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}

.footer-social-icon .notion-wrapper {
	display: inline-block; 
	height: 40px; 
	width: 40px; 
	border-radius: 50%; 
	background-color: #fff; 
	text-align: center;
}

.notion-icon {
	height: 25px;
	width: 25px;
	object-fit: cover;
	margin: auto;	
}

.facebook-bg{
  background: #3B5998;
}
.twitter-bg{
  background: #55ACEE;
}
.google-bg{
  background: #DD4B39;
}


.footer-widget-heading h3 {
  color: #404040;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ff5e14;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #ff5e14;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #2E2E2E;
  border: 1px solid #2E2E2E;
  color: #fff;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: #ff5e14;
    padding: 13px 20px;
    border: 1px solid #ff5e14;
    top: 0;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.copyright-text p a{
  color: #ff5e14;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: #ff5e14;
}
.footer-menu li a {
  font-size: 14px;
  color: #878787;
}

/* readonly field styling */
input[readonly] {
/*     background-color: #f0f0f0; */
    background-color: transparent;
    border: 1px solid black;
}

/* menu */
/* #Primary
================================================== */

body{
    font-family: 'Poppins', sans-serif;
/* 	font-size: 16px; */
/* 	line-height: 24px; */
/* 	font-weight: 400; */
/* 	color: #212112; */
/* 	background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat-back.svg'); */
    background-color: rgb(245, 238, 232) !important;
	background-position: center;
	background-repeat: repeat;
	background-size: 7%;
	background-color: #fff;
	overflow-x: hidden;
    transition: all 200ms linear;
}
::selection {
	color: #fff;
/* 	background-color: #8167a9; */
	background-color: #ad9f94;
}
::-moz-selection {
	color: #fff;
/* 	background-color: #8167a9; */
	background-color: #ad9f94;
}


/* #Navigation
================================================== */

.start-header {
	opacity: 1;
	transform: translateY(0);
	padding: 20px 0;
	box-shadow: 0 10px 30px 0 rgba(138, 155, 165, 0.15);
	-webkit-transition : all 0.3s ease-out;
	transition : all 0.3s ease-out;
}
.start-header.scroll-on {
	box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
	padding: 10px 0;
	-webkit-transition : all 0.3s ease-out;
	transition : all 0.3s ease-out;
}
.start-header.scroll-on .navbar-brand img{
	height: 55px;
	-webkit-transition : all 0.3s ease-out;
	transition : all 0.3s ease-out;
}
.navigation-wrap{
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	-webkit-transition : all 0.3s ease-out;
	transition : all 0.3s ease-out;
}
.navbar{
	padding: 0;
}
.navbar-brand img{
	height: 65px;
	width: auto;
	display: block;
    filter: brightness(10%);
	-webkit-transition : all 0.3s ease-out;
	transition : all 0.3s ease-out;
}
.navbar-toggler {
	float: right;
	border: none;
	padding-right: 0;
}
.navbar-toggler:active,
.navbar-toggler:focus {
	outline: none;
}
.navbar-light .navbar-toggler-icon {
	width: 24px;
	height: 17px;
	background-image: none;
	position: relative;
	border-bottom: 1px solid #000;
    transition: all 300ms linear;
}
.navbar-light .navbar-toggler-icon:after, 
.navbar-light .navbar-toggler-icon:before{
	width: 24px;
	position: absolute;
	height: 1px;
	background-color: #000;
	top: 0;
	left: 0;
	content: '';
	z-index: 2;
    transition: all 300ms linear;
}
.navbar-light .navbar-toggler-icon:after{
	top: 8px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
	transform: rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
	transform: translateY(8px) rotate(-45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	border-color: transparent;
}
.nav-link{
	color: #212121 !important;
	font-weight: 500;
    transition: all 200ms linear;
}
.nav-item:hover .nav-link{
/* 	color: #8167a9 !important; */
	color: #ad9f94 !important;
}
.nav-item.active .nav-link{
	color: #777 !important;
}
.nav-link {
	position: relative;
	padding: 5px 0 !important;
	display: inline-block;
}
.nav-item:after{
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	content: '';
/* 	background-color: #8167a9; */
	background-color: #ad9f94;
	opacity: 0;
    transition: all 200ms linear;
}
.nav-item:hover:after{
	bottom: 0;
	opacity: 1;
}
.nav-item.active:hover:after{
	opacity: 0;
}
.nav-item{
	position: relative;
    transition: all 200ms linear;
}

/* #Primary style
================================================== */

.bg-light {
	background-color: #fff !important;
    transition: all 200ms linear;
}
.section {
    position: relative;
	width: 100%;
	display: block;
}
.full-height {
    height: 100vh;
}
.over-hide {
    overflow: hidden;
}
.absolute-center {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
  margin-top: 40px;
	transform: translateY(-50%);
	z-index: 20;
}
h1{
	font-size: 48px;
	line-height: 1.2;
	font-weight: 700;
	color: #212112;
	text-align: center;
}

body.hero-anime p{
	opacity: 0;
	transform: translateY(40px);
    transition-delay: 1700ms;
}
h1 span{
	display: inline-block;
    transition: all 300ms linear;
	opacity: 1;
	transform: translate(0);
}

/* h1 span:nth-child(1){ */
/* 	opacity: 0; */
/* 	transform: translateY(-20px); */
/* } */
/* body.hero-anime h1 span:nth-child(2){ */
/* 	opacity: 0; */
/* 	transform: translateY(-30px); */
/* } */
/* body.hero-anime h1 span:nth-child(3){ */
/* 	opacity: 0; */
/* 	transform: translateY(-50px); */
/* } */
/* body.hero-anime h1 span:nth-child(4){ */
/* 	opacity: 0; */
/* 	transform: translateY(-10px); */
/* } */
/* body.hero-anime h1 span:nth-child(5){ */
/* 	opacity: 0; */
/* 	transform: translateY(-50px); */
/* } */
/* body.hero-anime h1 span:nth-child(6){ */
/* 	opacity: 0; */
/* 	transform: translateY(-20px); */
/* } */
/* body.hero-anime h1 span:nth-child(7){ */
/* 	opacity: 0; */
/* 	transform: translateY(-40px); */
/* } */
/* body.hero-anime h1 span:nth-child(8){ */
/* 	opacity: 0; */
/* 	transform: translateY(-10px); */
/* } */
/* body.hero-anime h1 span:nth-child(9){ */
/* 	opacity: 0; */
/* 	transform: translateY(-30px); */
/* } */
/* body.hero-anime h1 span:nth-child(10){ */
/* 	opacity: 0; */
/* 	transform: translateY(-20px); */
/* } */
/* h1 span:nth-child(1){ */
/*     transition-delay: 1000ms; */
/* } */
/* h1 span:nth-child(2){ */
/*     transition-delay: 700ms; */
/* } */
/* h1 span:nth-child(3){ */
/*     transition-delay: 900ms; */
/* } */
/* h1 span:nth-child(4){ */
/*     transition-delay: 800ms; */
/* } */
/* h1 span:nth-child(5){ */
/*     transition-delay: 1000ms; */
/* } */
/* h1 span:nth-child(6){ */
/*     transition-delay: 700ms; */
/* } */
/* h1 span:nth-child(7){ */
/*     transition-delay: 900ms; */
/* } */
/* h1 span:nth-child(8){ */
/*     transition-delay: 800ms; */
/* } */
/* h1 span:nth-child(9){ */
/*     transition-delay: 600ms; */
/* } */
/* h1 span:nth-child(10){ */
/*     transition-delay: 700ms; */
/* } */
/* body.hero-anime h1 span:nth-child(11){ */
/* 	opacity: 0; */
/* 	transform: translateY(30px); */
/* } */
/* body.hero-anime h1 span:nth-child(12){ */
/* 	opacity: 0; */
/* 	transform: translateY(50px); */
/* } */
/* body.hero-anime h1 span:nth-child(13){ */
/* 	opacity: 0; */
/* 	transform: translateY(20px); */
/* } */
/* body.hero-anime h1 span:nth-child(14){ */
/* 	opacity: 0; */
/* 	transform: translateY(30px); */
/* } */
/* body.hero-anime h1 span:nth-child(15){ */
/* 	opacity: 0; */
/* 	transform: translateY(50px); */
/* } */
/* h1 span:nth-child(11){ */
/*     transition-delay: 1300ms; */
/* } */
/* h1 span:nth-child(12){ */
/*     transition-delay: 1500ms; */
/* } */
/* h1 span:nth-child(13){ */
/*     transition-delay: 1400ms; */
/* } */
/* h1 span:nth-child(14){ */
/*     transition-delay: 1200ms; */
/* } */
/* h1 span:nth-child(15){ */
/*     transition-delay: 1450ms; */
/* } */
#switch,
#circle {
	cursor: pointer;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
} 
#switch {
	width: 60px;
	height: 8px;
/* 	border: 2px solid #8167a9; */
	border: 2px solid #ad9f94;
	border-radius: 27px;
	background: #000;
	position: relative;
	display: block;
	margin: 0 auto;
	text-align: center;
	opacity: 1;
	transform: translate(0);
    transition: all 300ms linear;
    transition-delay: 1900ms;
}
body.hero-anime #switch{
	opacity: 0;
	transform: translateY(40px);
    transition-delay: 1900ms;
}
#circle {
	position: absolute;
	top: -11px;
	left: -13px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #000;
}
.switched {
	border-color: #000 !important;
/* 	background: #8167a9 !important; */
	background: #ad9f94 !important;
}
.switched #circle {
	left: 43px;
	box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
	background: #fff;
}
.nav-item .dropdown-menu {
    transform: translate3d(0, 10px, 0);
    visibility: hidden;
    opacity: 0;
	max-height: 0;
    display: block;
	padding: 0;
	margin: 0;
    transition: all 200ms linear;
}
.nav-item.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
	max-height: 999px;
    transform: translate3d(0, 0px, 0);
}
.dropdown-menu {
	padding: 10px!important;
	margin: 0;
	font-size: 13px;
	letter-spacing: 1px;
	color: #212121;
/* 	background-color: #fcfaff; */
	background-color: #fff;
	border: none;
	border-radius: 3px;
	box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
/*     transition: all 200ms linear; */
}
.dropdown-toggle::after {
	display: none;
}

.dropdown-item {
	padding: 3px 15px;
	color: #212121;
	border-radius: 2px;
    transition: all 200ms linear;
}
.dropdown-item:hover, 
.dropdown-item:focus {
	color: #fff;
/* 	background-color: rgba(129,103,169,.6); */
	background-color: #ad9f94;
}

hr {
    padding: 0;
    height: 1px;
    border: none;
    background-color: #EAEDEF;
    margin-top: 20px;
}

/* 알림 아이콘
================================================== */
#notificationIconWrapper {
	margin-left: 10px; 
	position: relative; 
	cursor: pointer;
}

#notificationIconWrapper #notificationBadge {
	position: absolute;
	top: -10px;
	right: -8px;
	background-color: red;
	color: white;
	border-radius: 50%;
	padding: 2px 6px;
	font-size: 9px;
	min-width: 15px;
	text-align: center;
	display: none; /* 초기에는 숨김 */
}

.fas.fa-bell {
	font-size: 20px; 
	color: #333;
}

/* 알림 아이콘 클릭치 띄울 모달창
================================================== */
.notification-modal {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    width: 380px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.notification-modal.show {
    display: block;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background-color: #fbfbfb;
}

.notification-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.close-modal-btn {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal-btn:hover {
    color: #333;
}

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.no-notifications {
    padding: 50px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* 알림 항목 <li> */
.notification-item {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.notification-item.unread {
    background-color: #eaf6ff;
    border-bottom: 1px solid #d4eafc;
}

.notification-item:last-child {
    border-bottom: none;
}

/* 알림 항목 내부 링크 */
.notification-item a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

/* 읽은 알림의 hover 효과 */
.notification-item a:hover {
    background-color: #f8f8f8;
}

/* 읽지 않은 알림의 hover 효과 */
.notification-item.unread a:hover {
    background-color: #dbeeff;
}

/* 알림 내용 영역 */
.notification-content {
    flex-grow: 1;
    flex-shrink: 1; /* 필요시 축소 허용 */
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 메인 알림 텍스트 */
.notification-main-text {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

.notification-main-text strong {
    color: #333;
    font-weight: 600;
}

/* 댓글 미리보기 텍스트 */
.comment-preview-text {
    font-style: normal;
    color: #555;
    margin-top: 4px;
    display: block; /* 새 줄에서 시작 */
    font-size: 13px;
    text-align: left;
    white-space: nowrap; /* 한 줄로 표시 */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 시간과 뱃지 컨테이너 */
.notification-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: 15px;
    flex-shrink: 0; /* 이 영역이 줄어들지 않도록 */
}

/* 알림 시간 */
.notification-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* 'N' 뱃지 */
.new-badge {
    background-color: tomato;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    min-width: 15px;
    text-align: center;
    margin-top: 5px;
    flex-shrink: 0;
    align-self: flex-end;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-info-message {
	text-align: center;
	color: #888;
	font-size: 12px;
	padding: 10px 0;
	border-top: 1px solid #eee;
}

/* 모달 푸터 */
.notification-footer {
	display: none;
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    background-color: #fbfbfb;
}

.notification-footer a {
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notification-footer a:hover {
    color: #0056b3;
}

/* '모두 읽음' 버튼 스타일 */
.mark-all-read-btn {
    background-color: transparent;
    border: none;
    color: #999; /* 연한 회색 */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-right: 15px; /* 닫기 버튼과의 간격 */
    transition: color 0.2s ease;
}

/* hover 시 효과 */
.mark-all-read-btn:hover {
    color: #666; /* 조금 더 진한 회색 */
    text-decoration: none; /* 밑줄 제거 */
}

.header-actions {
	display: flex;
	align-items: center;
}

/* .buttonn-primary
================================================== */

	/* 배경이 없는 글자 버튼 */
.button-primary {
	border: none;
	color: #ad9f94;
	background-color: transparent;
	font-size: 16px;
	transition: color 0.3s ease;
	text-align: center;
}

.button-primary:hover {
	color: #C4B39D
}

	/* 배경이 있는 버튼 */
.button-filled-primary {
	border: none;
	background-color: #fff;
	color: #404040;
	font-size: 12px;
	padding: 7px 10px;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.button-filled-primary .comment-child {
	background-color: #F6F6F6;	
}

.button-filled-primary:hover {
	color: #BFBFA8;
}

.submit-comment {
	background-color: #ad9f94;
	color: #fff;
}
	
	/* 상단 메뉴바 버튼 */
.menubar-button-primary{
	border: none;
	color: rgb(64, 64, 64);
	background-color: transparent;
	font-size: 16px;
	transition: color 0.3s ease;
	text-align: center;
}

.menubar-button-primary:hover {
	color: #B0B0B0;
}

/* #Media
================================================== */

@media (max-width: 767px) { 
	h1{
		font-size: 38px;
	}
	.nav-item:after{
		display: none;
	}
	.nav-item::before {
		position: absolute;
		display: block;
		top: 15px;
		left: 0;
		width: 11px;
		height: 1px;
		content: "";
		border: none;
		background-color: #000;
		vertical-align: 0;
	}
	.dropdown-toggle::after {
		position: absolute;
		display: block;
		top: 10px;
		left: -23px;
		width: 1px;
		height: 11px;
		content: "";
		border: none;
		background-color: #000;
		vertical-align: 0;
		transition: all 200ms linear;
	}
	.dropdown-toggle[aria-expanded="true"]::after{
		transform: rotate(90deg);
		opacity: 0;
	}
	.dropdown-menu {
		padding: 0 !important;
		background-color: transparent;
		box-shadow: none;
		transition: all 200ms linear;
	}
	.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
		margin-top: 10px !important;
		margin-bottom: 20px !important;
	}
	body.dark .nav-item::before {
		background-color: #fff;
	}
	body.dark .dropdown-toggle::after {
		background-color: #fff;
	}
	body.dark .dropdown-menu {
		background-color: transparent;
		box-shadow: none;
	}
}

/* input */
.styled-input {
	width: auto;
}

.styled-input {
	font-size: 12px;
	padding: 5px;
	width: 200px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #f8f8f8;
	color: #333;
	transition: all 0.3s ease; /* 포커스 시 애니메이션 */		
}

.styled-input:focus {
	border-color: #007bff;
 	background-color: #fff;
  	outline: none;
}

.styled-input::placeholder {
  	color: #aaa;
  	font-style: italic;
}

/* select-box */
.styled-select {
	width: auto;
}

.styled-select {
	font-size: 12px;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #f8f8f8;
	color: #333;
	width: 80px;	
}

/* #Link to page
================================================== */

.logo {
	position: absolute;
	bottom: 30px;
	right: 30px;
	display: block;
	z-index: 100;
	transition: all 250ms linear;
}
.logo img {
	height: 26px;
	width: auto;
	display: block;
    filter: brightness(10%);
	transition: all 250ms linear;
}
body.dark .logo img {
  	filter: brightness(100%);
}

.ee5 {
    padding-top: 4.7rem !important;
}

.ee5 {
    padding-bottom: 5rem !important;
}


.page-link {
	color: #ad9f94;
}

.page-link:hover {
	color: #B0B0B0;
}

/* 채팅아이콘
================================================== */
#chatIconWrapper {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
}

.chat-icon {
    background-color: #ff6347;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.chat-icon i {
    font-size: 24px;
    color: white;
}

/* 메시지 알림 배지 */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: inline-block;
    z-index: 1;
    white-space: nowrap; /* 숫자가 길어져도 줄바꿈 방지 */
    text-align: center;
    line-height: 20px;
}

/* 메시지 모달창
================================================== */
.chat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.chat-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 1000px;
    height: 600px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    transition: all 0.3s ease-in-out;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 20px;
}
	
	/* 닉네임 검색창 */
.input-wrapper input {
    border: none;
    outline: none;
    margin-left: 5px;
    width: 80%;
    font-size: 14px;
    padding: 6px 8px;
}

	/* 채팅방 목록 */
.chat-rooms {
	width: 100%;
	max-width: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}

.chat-room {
	display: flex;
	align-items: center;
	justify-content: space-between;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    border-bottom: 1px solid #EAEDEF;
    position: relative;
}

.chat-room:hover {
    background-color: #f0f0f0;
}

.chat-room .user-avatar {
	min-width: 40px;
	min-height: 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.chat-room .last-message {
    font-size: 12px;
    color: #777;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; /* 내용이 넘칠 경우 ... 표시 */
    max-width: 200px;
}

.chat-room-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.chat-room .userNickname {
    font-weight: bold;
}

/* .chat-room .last-message { */
/*     font-size: 12px; */
/*     color: #777; */
/* } */

.chat-room .chat-time {
    font-size: 10px;
    color: #777;
    white-space: nowrap;
}

	/* 안읽은 메시지 수 배지 스타일 */
.message-badge {
	display: flex;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background-color: red;
    color: white;
    font-size: 10px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

	/* 채팅방 */
.chat-records {
	width: 0;
    overflow-y: auto;
    padding: 10px;
    display: none;
    flex-direction: column;
    height: 100%;
}

	/* 채팅방이 보일 때 - 채팅방 목록 영역*/
.chat-rooms.shrink {
	width: 35%;
	max-width: 35%;
}

	/* 채팅방이 보일 때 - 채팅방 영역*/
.chat-records.show {
	display: flex;
	width: 65%;
}

	/* 메시지 입력창 스타일 */
.chat-records .chat-input i {
    cursor: pointer;
    font-size: 24px;
}

.chat-records .chat-input input {
    width: 80%;
    padding: 15px 10px;
    font-size: 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
}

	/* 채팅방 상단 */
#header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #eee;
    border-radius: 8px;
    padding: 10px;
}

#header .user-avatar {
    width: 40px;
    height: 40px;
    border-right: 1px solid #ccc;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

#header .userNickname {
    font-size: 18px;
    font-weight: bold;
}

	/* 메시지 입력창 */
#msg {
    margin-bottom: 1rem;
	width: 100%;
	border-radius: 20px;
	padding: 6px;
	resize: none;
	overflow-y: auto;
	min-height: 40px;
	max-height: 150px; /* 4~5줄 정도까지만 커지고 이후 스크롤 */
}

#msg:focus {
	background-color: #fff; 
    border: 1px solid #286EFA; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
    outline: none;
}

#chatList {
	font-size: 14px;
	overflow: auto;
	display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    transition: flex-grow 0.3s ease;
}

	/* 메시지가 없을때도 채팅방 크기 고정 */
#chatList:empty::before {
    content: '';
    display: grid;
    grid-template-rows: repeat(12, 1fr);
    height: 100%;
}

#chatList:empty {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

	/* 채팅 목록 - 오늘 날짜 및 시간 표시 */
.chat-time {
    font-size: 12px;
    color: #777;
    padding-top: 10px;
    text-align: right;
}

	/* 채팅방 - 날짜 및 시간 표시 */
#dateDisplay {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.date-wrapper {
    text-align: center;
}

.date {
	font-size: 12px;
    color: #777;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #EAEDEF;
    border-radius: 20px;
    text-align: center;
}

#chatList .item {
	font-size: 14px;
	margin: 15px 0;
	position: relative;
}

#chatList .item > div:first-child {
	display: flex;
}

#chatList .item.me > div:first-child {
	justify-content: flex-end;
}

#chatList .item.other > div:first-child {
	justify-content: flex-end;
	flex-direction: row-reverse;
}

#chatList .item > div:first-child > div:first-child {
	font-size: 10px;
	color: #777;
	margin: 3px 5px;
}

#chatList .item > div:first-child > div:nth-child(2) {
	border: 1px solid var(--border-color);
	display: inline-block;
	min-width: 100px;
	max-width: 250px;
	text-align: left;
	padding: 3px 7px;
}

#chatList .state.item > div:first-child > div:nth-child(2) {
	background-color: #EEE;
}

#chatList .item > div:last-child {
	font-size: 10px;
	color: #777;
	margin-top: 5px;
}

#chatList .me {
	text-align: right;
}

#chatList .other {
	text-align: left;
}

#chatList .firstPrint {
	text-align: left;
}

#chatList .msg.me.item > div:first-child > div:nth-child(2) {
	background-color: rgba(255, 99, 71, .2);
}

#chatList .msg.other.item > div:first-child > div:nth-child(2) {
	background-color: rgba(100, 149, 237, .2);
}

#chatList .msg img {
	height: 100px;
}

	/* 채팅방이 없을 때 보여줄 메시지 */
.chat-rooms .no-chat-message { 
	text-align: center;
	padding: 20px;
	color: #888;
}

	/* 특정 채팅방에서 읽지 않음 표시 */
#chatList .message-time-wrapper {
    position: relative;
    gap: 5px;
}

#chatList .unread-indicator {
    position: absolute;
    color: red;
    font-size: 0.87em;
    font-weight: 600;
    background-color: transparent;
    padding: 0 3px;
}

.item.me .unread-indicator {
    right: 12%;
    transform: translateX(calc(100% + 5px)); '1' 크기만큼 이동 + 약간의 간격
    bottom: 0;
    white-space: nowrap; '1'이 줄바꿈 되지 않도록
}

/* 데이터 전달용 <div> 숨기기
================================================== */
.hidden-data {
	display: none;
}