
/* 그라데이션 텍스트 */

.modern-card {
	position: relative;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.4s ease;
	border: 1px solid #e9ecef; /* Add a subtle border */
}

.card-decoration {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #3FA460, #3FA460);
}

.card-content {
	position: relative;
}

.form-control-modern:focus {
	border-color: #3FA460;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(63,164,96,0.1);
}

select.form-control-modern {
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 8px 10px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* 정보 박스 */
/* .bg-light-5 {
	background-color: rgba(63,164,96,0.05);
} */

/* 카드 스타일 */
.card {
	border: none;
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 2rem;
	box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.card-header {
	background: none;
	border-bottom: none;
	padding: 0;
}

.card-admin .card-header .card-body {
	padding: 1.5rem;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-body {
	padding: 1.5rem;
}

/* 프로세스 단계 스타일 */
.process-step-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
	height: 60px;
	text-align: center;
	font-size: 16px;
	border-radius: 50px;
	padding: 0.5rem 1.5rem;
	transition: all 0.3s ease;
	background: rgba(63,164,96,0.1);
	border: 2px solid transparent;
}

.process-step-circle.active {
	background: #3FA460;
	color: #fff;
}

.process-step-circle-content {
	font-weight: 600;
}

.process-step.active .process-step-circle-content {
	color: #fff;
}

/* 애니메이션 최적화 */
@media (prefers-reduced-motion: reduce) {
	.animated {
		transition-property: none !important;
		transform: none !important;
		animation: none !important;
	}
}

/* 반응형 조정 */
@media (max-width: 767px) {
	.form-control-modern {
		height: 2.5rem;
		padding: 0.5rem 1rem;
	}
	.btn-modern {
		padding: 0.6rem 1.5rem;
	}
	.text-6 {
		font-size: 1.5rem !important;
	}
	.process-step-circle {
		height: 50px;
		font-size: 14px;
	}
}

/* 입력 그룹 스타일 개선 */
.input-group {
	border-radius: 8px;
	overflow: hidden;
}

.input-group .form-control {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.input-group .btn {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

	
.applicant-type-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.applicant-type-btn {
	cursor: pointer;
	transition: all 0.3s ease;
}

.applicant-type-btn:hover {
	transform: translateY(-2px);
}

.applicant-type-btn label {
	min-width: 200px;
	height: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px solid #007bff;
	border-radius: 12px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.applicant-type-btn label:hover {
	border-color: #0056b3;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.applicant-type-btn.selected label {
	background-color: #007bff !important;
	border-color: #007bff !important;
	color: white !important;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.applicant-type-btn i {
	color: #007bff;
	transition: all 0.3s ease;
}
.applicant-type-btn:hover i {
	color: white !important;
}

.applicant-type-btn.selected i {
	color: white !important;
}

.error-badge {
	animation: shake 0.5s ease-in-out;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

.badge {
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	font-weight: 600;
}


.receipt-card {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.15), 0 5px 15px rgba(0, 0, 0, 0.07);
	position: relative;
	overflow: hidden;
	border: none;
	margin-bottom: 2rem;
}
.receipt-card::before {
	content: "";
	position: absolute;
	top: -50px;
	right: -50px;
	width: 150px;
	height: 150px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}
.receipt-card::after {
	content: "";
	position: absolute;
	bottom: -80px;
	left: -60px;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 50%;
}
.receipt-title {
	font-size: 2rem;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 0.5rem;
}
.receipt-subtitle {
	font-size: 1.1rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1rem;
}
.receipt-icon {
	font-size: 2.5rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1rem;
	display: inline-block;
	animation: pulse 2s infinite;
}
.receipt-number {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border-radius: 30px;
	padding: 8px 20px;
	font-weight: 600;
	display: inline-block;
	margin-top: 1rem;
}
@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}
.receipt-body {
	position: relative;
	z-index: 1;
}
.print-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	z-index: 10;
}
.print-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}
.print-btn i {
	font-size: 18px;
}
@media print {
	body * {
		visibility: hidden;
	}
	#printSection, #printSection * {
		visibility: visible;
	}
	#printSection {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
		background: white !important;
	}
	.no-print {
		display: none !important;
	}
	.print-btn {
		display: none;
	}
	/* 인쇄 최적화 스타일 */
	.info-section {
		padding: 15px !important;
		margin-bottom: 10px !important;
		page-break-inside: avoid;
	}
	.info-section h4 {
		font-size: 16px !important;
		margin-bottom: 10px !important;
	}
	.info-item {
		margin-bottom: 5px !important;
		padding-bottom: 5px !important;
	}
	.team-member-info {
		padding: 5px 10px !important;
		margin-bottom: 5px !important;
	}
	.receipt-card {
		box-shadow: none !important;
		margin-bottom: 15px !important;
		background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		color-adjust: exact !important;
	}
	.receipt-body {
		padding: 15px !important;
	}
	.receipt-icon {
		font-size: 1.8rem !important;
		margin-bottom: 0.5rem !important;
		animation: none !important;
	}
	.receipt-title {
		font-size: 1.6rem !important;
		margin-bottom: 0.3rem !important;
	}
	.receipt-subtitle {
		font-size: 1rem !important;
		margin-bottom: 0.5rem !important;
	}
	@page {
		size: A4;
		margin: 1cm;
	}
	
	/* 배경 이미지 및 색상 인쇄 설정 */
	* {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		color-adjust: exact !important;
	}
	
	.receipt-card::before, .receipt-card::after {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		color-adjust: exact !important;
	}
	
	.bg-light-5 {
		background-color: #f6faf7 !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		color-adjust: exact !important;
	}
	.container, .row, .col-lg-12, .order-1, .order-lg-2, .py-5, .position-relative {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	body {
		margin: 0 !important;
		padding: 0 !important;
	}
	.main,
	.container,
	.row,
	.col-lg-12,
	.order-1,
	.order-lg-2,
	.py-5,
	.position-relative {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
}
/* 인쇄 옵션 스타일 */
.print-options {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid #e9ecef;
}
.print-options label {
	margin-right: 15px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}
.print-options input {
	margin-right: 5px;
}
.print-options-title {
	font-weight: 600;
	margin-bottom: 10px;
	color: #495057;
	display: flex;
	align-items: center;
}
.print-options-title i {
	margin-right: 8px;
	color: #3fa460;
}


/* 일기장 업로드 스타일 */

.diary-upload-dropzone {
	border: 2px dashed #d0d5dd;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #fafbfc;
}
.diary-upload-dropzone:hover,
.diary-upload-dropzone.dragover {
	border-color: var(--primary-color);
	background: var(--primary-color-bg, #fdf0ee);
}
.diary-file-list .diary-file-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	margin-bottom: 0.5rem;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	transition: all 0.2s ease;
}
.diary-file-list .diary-file-item:hover {
	background: #f1f3f5;
}
.diary-file-item .file-info {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.diary-file-item .file-info i {
	color: #dc3545;
	font-size: 1.3rem;
	flex-shrink: 0;
}
.diary-file-item .file-name {
	font-size: 0.95rem;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.diary-file-item .file-size {
	font-size: 0.8rem;
	color: #868e96;
	flex-shrink: 0;
	margin-left: 8px;
}
.diary-file-item .btn-delete-file {
	background: none;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	color: #868e96;
	cursor: pointer;
	padding: 4px 10px;
	font-size: 0.85rem;
	transition: all 0.2s;
	flex-shrink: 0;
}
.diary-file-item .btn-delete-file:hover {
	color: #dc3545;
	border-color: #dc3545;
	background: #fff5f5;
}
.diary-file-item.uploading {
	opacity: 0.6;
}
.diary-file-item .upload-progress {
	width: 100%;
	height: 3px;
	background: #e9ecef;
	border-radius: 2px;
	overflow: hidden;
	margin-top: 6px;
}
.diary-file-item .upload-progress-bar {
	height: 100%;
	background: var(--primary-color);
	transition: width 0.3s;
}
@media (max-width: 767px) {
	.news-cnt-input { font-size: 0.9rem; padding: 0.4rem; }
	.info-value .form-row .col { flex: 0 0 20%; max-width: 20%; }
}