@charset "UTF-8";


dialog {
	border: none;
	border-radius: 5px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 20px;
	min-width: 300px;
}

dialog::backdrop {
	background: rgba(0, 0, 0, 0.4);
}

.modal-title-box p:nth-child(1) {
	margin-bottom: 2px;
}

.modal-title-box p:nth-child(2) {
	font-size: 15pt;
	margin-top: 0;
}

.modal-header,
.modal-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-footer {
	margin-top: 20px;
}

.close-button {
	background: none;
	border: none;
	font-size: 1.2em;
	cursor: pointer;
}

.modal-footer button {
	color: #fff;
	background: linear-gradient(45deg, #ff69b4, #ff9a9e);
	border: none;
	border-radius: 20px;
	padding: 10px 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	width: 30%;
}

.modal-footer button:hover {
	background: linear-gradient(45deg,
			#ff85c1,
			#ffb6c1);
	/* 호버 시 배경색 그라데이션 변경 */
	transform: scale(1.05);
	/* 호버 시 살짝 위로 이동 */
}

.modal-b-box s-input-box {
	display: flex;
	justify-content: center;
	align-items: center
}

.modal-b-box input {
	width: 90%;
	height: 30px;
	color: #333;
	border-radius: 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.modal-b-box input:hover {
	background-color: #ffe1eb;
	border-color: #e6498e;
}

.modal-b-box input:focus {
	outline: none;
	box-shadow: 0 0 5px #ff69b4;
	border-color: #ff69b4;
}

.input-update-button {
	display: flex;
	align-items: center;
}

#s-update-button {
	color: #fff;
	background: linear-gradient(45deg, #ff69b4, #ff9a9e);
	border: none;
	border-radius: 20px;
	padding: 10px 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	width: 100%;
	font-weight: 900;
}

#s-update-button:hover {
	background: linear-gradient(45deg,
			#ff85c1,
			#ffb6c1);
	/* 호버 시 배경색 그라데이션 변경 */
	transform: scale(1.05);
	/* 호버 시 살짝 위로 이동 */
}

.schedule-container {
	height: auto;
	margin-top: 2%;
	font-family: 'CustomFont', sans-serif;
	font-weight: 900;
	cursor: default;
}

.s-week-list {
	margin: 0 auto;
}

/* 탭 스타일 */
.tab-item {
	width: calc(100% / 8);
	height: 70px;
	border-bottom: 3px solid #333333;
	background-color: #f8f8f8;
	line-height: 50px;
	font-size: 1.6vw;
	text-align: center;
	color: #333333;
	display: flex;
	align-items: center;
	justify-content: center;
	float: left;
	font-weight: bold;
	transition: all 0.2s ease;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 라디오 버튼 UI 삭제 */
.s-week-list input[name="tab-item"] {
	display: none;
}

/* 탭 컨텐츠 스타일 */
.tab_content {
	display: none;
	clear: both;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 선택 된 탭 콘텐츠를 표시 */
#s-mon:checked~.day1-content,
#s-tue:checked~.day2-content,
#s-wed:checked~.day3-content,
#s-thu:checked~.day4-content,
#s-fri:checked~.day5-content,
#s-sat:checked~.day6-content,
#s-sun:checked~.day7-content {
	display: block;
}

/* 요일별 선택됐을 때 탭 스타일 */
#s-mon:checked+.tab-item {
	background-color: lightpink;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-mon:hover+.tab-item {
	background-color: lightpink;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-tue:checked+.tab-item {
	background-color: #b7f1ff;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-tue:hover+.tab-item {
	background-color: #b7f1ff;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-wed:checked+.tab-item {
	background-color: #d1b7a4;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-wed:hover+.tab-item {
	background-color: #d1b7a4;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-thu:checked+.tab-item {
	background-color: #ffe089;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-thu:hover+.tab-item {
	background-color: #ffe089;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-fri:checked+.tab-item {
	background-color: #cf80e0;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-fri:hover+.tab-item {
	background-color: #cf80e0;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-sat:checked+.tab-item {
	background-color: #ffa658;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-sat:hover+.tab-item {
	background-color: #ffa658;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-sun:checked+.tab-item {
	background-color: #bdde87;
	transform-origin: bottom;
	transform: scaleY(1.2);
}

#s-sun:hover+.tab-item {
	background-color: #bdde87;
	transform-origin: bottom;
	transform: scaleY(1.2);
}


.s-time-list {
	display: flex;
}

.s-time {
	width: calc(100% / 8);
	min-height: 70px;
	/*display flex 설정해도 width가 변하지 않게*/
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom-style: dotted;
	border-right-style: inset;
	border-color: white;
	font-size: 1.2vw;
}

.n-time {
	border-bottom-style: none;
}

.s-data-box {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.s-data {
	width: calc(100% / 7);
	height: 50px;
	display: flex;
	align-items: center;
	position: relative;
	box-shadow: 0 0 0 2px white inset;
	border-radius: 13px;
	font-size: 1vw;
	padding-top: 10px;
	padding-bottom: 10px;
}

.s-data:hover {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	/*	opacity: 0.8;*/
}

.s-inner-box {
	display: flex;
	align-items: center;
	padding: 10px;
	width: 100%;
}

.s-icon {
	overflow: hidden;
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.s-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.time-name {
	padding-left: 10px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	width: 71%;
}

.s-data-title {
	display: none;
	position: absolute;
	z-index: 900;
	max-width: 75%;
	padding-top: 3%;
	padding-bottom: 3%;
	padding-left: 5%;
	padding-right: 5%;
	background-color: white;
	border-radius: 15px;
	color: black;
	bottom: 105%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/*여기 수정*/
.s-title-tail {
	position: relative;
	background: white;
	border-radius: 0.4em;
}

.s-title-tail:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-top-color: white;
	border-bottom: 0;
	border-left: 0;
	margin-left: -10px;
	margin-bottom: -20px;
}

.s-data:hover .s-data-title {
	display: block;
}

/* Responsive */
@media screen and (max-width: 1000px) {
	.tab-item:nth-child(2) {
		font-size: 1.9vw;
	}

	.tab-item {
		width: calc(100% / 8);
		font-size: 2.2vw;
	}

	.s-time {
		width: calc(100% / 8);
		font-size: 1.6vw;

	}

	.s-data {
		width: calc(100% / 4);
		font-size: 2vw;
	}

	.s-data-title {
		max-width: 75%;
		bottom: 110%;
	}

	.modal-b-box .s-input-box {
		width: 300px;
		flex-wrap: wrap;
	}

	.modal-b-box .input-title {
		min-width: 230px;
		padding-top: 5px;
	}

	.modal-b-box .input-update-button {
		padding-top: 5px;
		position: relative;
	}
	.input-date{
		padding-right: 5px;
	}
	#s-update-date{
		width: 100px;
	}

	#s-update-time{
		width: 100px;
	}

	#s-update-button {
		position: absolute;
		width: 70px;
		bottom: 0;
		height: 75px;
	}
}

/* insert css */
.s-insert-a-container {
	padding-top: 1%;
	padding-bottom: 1%;
}

.s-insert-detail-title {
	display: flex;
	padding-top: 1%;
	padding-bottom: 1%;
	align-items: center;
	background: #f5f5f5;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.schedule-insert-detail-button {
	width: 20%;
}

#schedule-insert-detail-button {
	font-size: 1.4rem;
	color: #fff;
	background: linear-gradient(45deg, #ff69b4, #ff9a9e);
	border: none;
	border-radius: 20px;
	padding: 10px 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	margin-right: 1%;
	width: 62%;
	font-weight: 900;
	height: 50px;
}

#schedule-insert-detail-button:hover {
	background: linear-gradient(45deg,
			#ff85c1,
			#ffb6c1);
	/* 호버 시 배경색 그라데이션 변경 */
	transform: scale(1.05);
	/* 호버 시 살짝 위로 이동 */
}

.s-slide-box {
	width: 70%;
	white-space: nowrap;
	overflow: hidden;
}

.s-slide-text {
	font-size: 25px;
	font-weight: 900;
	display: inline-block;
	white-space: nowrap;
	animation: roll 12s linear infinite;
	padding-left: 200px;
}

.s-slide-text span {
	display: inline-block;
}

/* 텍스트 슬라이드 */
@keyframes roll {
	0% {
		transform: translateX(-0.5%);
	}

	100% {
		transform: translateX(-102%);
	}
}

.s-insert-content-a-box {
	display: none;
}

.s-member-select {
	width: 15%;
	padding-right: 0.5%;
	padding-top: 0.35%;
}

#s-member-list {
	width: 100%;
	height: 34px;
	color: #333;
	border-radius: 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16"> <path d="M7.247 11.14l-4.796-5.481c-.566-.647-.106-1.659.753-1.659h9.592c.86 0 1.32 1.012.754 1.659l-4.796 5.48a1 1 0 0 1-1.508 0z"/> </svg>');
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

#s-member-list:hover {
	background-color: #ffe1eb;
	border-color: #e6498e;
}

#s-member-list:focus {
	outline: none;
	box-shadow: 0 0 5px #ff69b4;
	border-color: #ff69b4;
}

.s-insert-content-b-box {
	display: flex;
	padding-top: 1%;
}

.s-input-container {
	width: 75%;
	height: auto;
}

.s-input-date,
.s-input-time {
	width: 20%
}

.s-input-date1 {
	width: 95%;
	height: 30px;
	color: #333;
	border-radius: 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.s-input-box input:hover {
	background-color: #ffe1eb;
	border-color: #e6498e;
}

.s-input-box input:focus {
	outline: none;
	box-shadow: 0 0 5px #ff69b4;
	border-color: #ff69b4;
}


.s-input-time1 {
	width: 95%;
	height: 30px;
	color: #333;
	border-radius: 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.s-input-title {
	width: 60%
}

.s-input-title1 {
	width: 97%;
	height: 30px;
	color: #333;
	border-radius: 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.s-input-box {
	display: flex;
	padding-bottom: 0.5%;
	padding-top: 0.5%;
}

.s-insert-button {
	width: 10%;
	display: flex;
	align-items: center;
}

#s-insert-button {
	font-size: 1.5rem;
	color: #fff;
	background: linear-gradient(45deg, #ff69b4, #ff9a9e);
	border: none;
	border-radius: 20px;
	padding: 10px 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	margin-right: 1%;
	width: 100%;
	font-weight: 900;
	height: 95%;
}

#s-insert-button:hover {
	background: linear-gradient(45deg,
			#ff85c1,
			#ffb6c1);
	/* 호버 시 배경색 그라데이션 변경 */
	transform: scale(1.05);
	/* 호버 시 살짝 위로 이동 */
}

.s-plus-button {
	display: flex;
	position: relative;
	left: 50%;
	width: 50px;
	height: 30px;
    padding-top: 10px;
}

.s-plus-button button {
	width: 26px;
	height: 26px;
	border: none;
	border-radius: 30px;
	font-weight: 700;
	font-size: 16pt;
	box-shadow: 0 0 3px gray;
}

.s-plus-button button:hover {
	transform: scale(1.1);
	font-size: 16pt;
}