@charset "utf-8";

/* 셀렉트박스 텍스트 표시 문제 해결을 위한 스타일 */
select,
select option {
	color: #333 !important;
}

/* 요약 카드 스타일 */
.summary-card-container {
	margin-bottom: 30px;
}

.summary-card {
	background: linear-gradient(to right, #f8f9fa, #ffffff);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: all 0.3s ease;
}

.summary-card:hover {
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.summary-header {
	display: flex;
	background-color: #f8f9fa;
	border-bottom: 1px solid #e9ecef;
	padding: 0;
}

.summary-title {
	flex: 1;
	padding: 16px 10px;
	text-align: center;
	font-weight: 600;
	font-size: 15px;
	color: #495057;
	position: relative;
}

.summary-title:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 20%;
	height: 60%;
	width: 1px;
	background-color: #dee2e6;
}

.summary-body {
	display: flex;
	padding: 0;
}

.summary-value {
	flex: 1;
	padding: 20px 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #343a40;
}

.summary-value.highlight {
	color: #2c7be5;
	background-color: rgba(44, 123, 229, 0.05);
}

/* 출금신청내역 테이블 스타일 */
.withdrawal-history {
	margin-bottom: 30px;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	padding: 25px;
}

.section-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #333;
	position: relative;
	padding-left: 15px;
}

.section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 18px;
	background-color: #2c7be5;
	border-radius: 2px;
}

.withdrawal-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid #333;
}

.withdrawal-table th,
.withdrawal-table td {
	padding: 15px 8px;
	text-align: center;
	border-bottom: 1px solid #e0e0e0;
	white-space: nowrap;
}

.withdrawal-table th {
	background-color: #f8f9fa;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
}

.withdrawal-table tr:hover {
	background-color: #f8f9fa;
}

.withdrawal-table .text-left {
	text-align: left;
	padding-left: 15px;
}

.withdrawal-table .amount {
	font-size: 11px;
	font-weight: 600;
	color: #343a40;
}

.withdrawal-table .status {
	display: inline-block;
	padding: 4px 6px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	min-width: 50px;
	text-align: center;
	white-space: nowrap;
}

.status.pending {
	background-color: #fff4de;
	color: #ff9800;
}

.status.processing {
	background-color: #e3f2fd;
	color: #2196f3;
}

.status.completed {
	background-color: #e8f5e9;
	color: #4caf50;
}

.status.rejected {
	background-color: #ffebee;
	color: #f44336;
}

/* 모바일 테이블 스타일 */
.mobile-table-container {
	display: none;
}

.mobile-card {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 15px;
	overflow: hidden;
}

.mobile-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	background-color: #f8f9fa;
	border-bottom: 1px solid #e0e0e0;
}

.mobile-card-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.mobile-card-number {
	font-size: 14px;
	color: #6c757d;
}

.mobile-card-body {
	padding: 15px;
}

.mobile-card-row {
	display: flex;
	margin-bottom: 10px;
	align-items: center;
}

.mobile-card-row:last-child {
	margin-bottom: 0;
}

.mobile-card-label {
	width: 30%;
	font-size: 14px;
	color: #6c757d;
}

.mobile-card-value {
	width: 70%;
	font-size: 14px;
	color: #333;
	font-weight: 500;
}

.mobile-card-value.amount {
	font-weight: 600;
	color: #343a40;
}

.mobile-card-value .status {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	min-width: 60px;
	text-align: center;
}

/* 출금신청 버튼 스타일 */
.withdrawal-button-container {
	text-align: center;
	margin: 30px 0;
}

.withdrawal-button {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 14px 35px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(44, 123, 229, 0.3);
}

.withdrawal-button:hover {
	background-color: #007bff;
	box-shadow: 0 6px 15px rgba(44, 123, 229, 0.4);
	transform: translateY(-2px);
}

/* 데이터 없음 스타일 */
.no-withdrawals {
	text-align: center;
	padding: 50px 0;
	color: #666;
}

.no-withdrawals i {
	font-size: 48px;
	color: #ccc;
	margin-bottom: 15px;
}

.no-withdrawals p {
	font-size: 16px;
}

/* 모달 스타일 */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: #fff;
	margin: 50px auto;
	width: 90%;
	max-width: 600px;
	border-radius: 12px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
	animation: modalFadeIn 0.3s;
	overflow: hidden;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-header {
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f8f9fa;
}

.modal-header h2 {
	margin: 0;
	font-size: 20px;
	color: #333;
}

.close {
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.2s;
}

.close:hover {
	color: #333;
}

.modal-body {
	padding: 25px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.form-group label.jumin {
	margin-top: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.2s;
	color: #333; /* 셀렉트 박스 텍스트 보이게 */
	background-color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.2s;
	color: #333; /* 셀렉트 박스 텍스트 보이게 */
	background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: #2c7be5;
	outline: none;
	box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.1);
}

.form-group select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	/* padding-right: 30px; */
	color: #333 !important; /* 강제 적용 */
	height: 36px !important;
	padding: 0 12px 0 12px;
}

.form-group textarea {
	height: 100px;
	resize: vertical;
}

.bank-info {
	background-color: #f8f9fa;
	padding: 5px 15px;
	border-radius: 6px;
}

.bank-info p {
	margin: 8px 0;
	font-size: 14px;
}

.bank-info-note,
.min-amount-note {
	font-size: 12px;
	color: #6c757d;
	margin-top: 5px;
}

.available-amount {
	margin-top: 8px;
	font-size: 14px;
	color: #333;
}

.available-amount strong {
	color: #2c7be5;
}

.form-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.form-actions button {
	padding: 12px 25px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.cancel-btn {
	background-color: #f1f3f5;
	color: #495057;
	border: 1px solid #ddd;
}

.submit-btn {
	background-color: #2c7be5;
	color: white;
	border: none;
	box-shadow: 0 4px 10px rgba(44, 123, 229, 0.2);
}

.cancel-btn:hover {
	background-color: #e9ecef;
}

.submit-btn:hover {
	background-color: #1a68d1;
	box-shadow: 0 4px 15px rgba(44, 123, 229, 0.3);
}

/* 셀렉트박스 텍스트 표시 문제 해결을 위한 스타일 */
.select-visible {
	color: #333 !important;
	font-size: 14px !important;
}

.select-visible option {
	color: #333 !important;
	font-size: 14px !important;
}

.tax-memo {
	margin-top: 3px;
	font-size: 14px;
}

.tax-memo.red {
	color: #dc3545;
}

.ssn-note-top,
.ssn-invoice-top {
	margin-top: 10px;
}

/* 반응형 스타일 */
@media (max-width: 991px) {
	.summary-title {
		font-size: 14px;
		padding: 14px 8px;
	}

	.summary-value {
		font-size: 16px; /* 폰트 크기 더 작게 조정 */
		padding: 18px 8px;
	}
}

@media (max-width: 768px) {
	.pc-table-container {
		display: none;
	}

	.mobile-table-container {
		display: block;
	}

	.withdrawal-history {
		padding: 20px 15px;
	}

	.summary-card {
		border-radius: 10px;
	}

	.summary-title {
		font-size: 13px;
		padding: 12px 5px;
	}

	.summary-value {
		font-size: 12px !important;
		padding: 15px 5px;
	}

	.mobile-card-value.amount {
		font-size: 14px;
	}

	.withdrawal-button {
		width: 100%;
		max-width: 300px;
	}

	.modal-content {
		width: 95%;
		margin: 30px auto;
	}

	.modal-body {
		padding: 20px;
	}
}

@media (min-width: 769px) {
	.pc-table-container {
		display: block;
	}
	.mobile-table-container {
		display: none;
	}
}

@media (max-width: 576px) {
	.summary-title {
		font-size: 12px;
		padding: 10px 3px;
	}

	.summary-value {
		font-size: 11px !important;
		padding: 12px 3px;
	}

	.section-title {
		font-size: 16px;
		margin-bottom: 15px;
	}

	.mobile-card-header {
		padding: 12px;
	}

	.mobile-card-body {
		padding: 12px;
	}

	.mobile-card-label {
		width: 40%;
	}

	.mobile-card-value {
		width: 60%;
	}
}
/* 수익금내역 페이지 스타일 */
.cb-partner-earnings-container {
	width: 100%;
	margin-bottom: 30px;
}

/* 요약 정보 카드 스타일 - 하나만 표시 */
.cb-partner-summary-cards {
	margin-bottom: 20px;
}

.cb-partner-summary-card {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 20px;
	display: flex;
	align-items: center;
	transition: transform 0.2s, box-shadow 0.2s;
}

.cb-partner-summary-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cb-partner-summary-icon {
	width: 50px;
	height: 50px;
	background-color: rgba(0, 123, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
}

.cb-partner-summary-icon i {
	font-size: 24px;
	color: #007bff;
}

.cb-partner-summary-content {
	flex: 1;
}

.cb-partner-summary-label {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 5px;
}

.cb-partner-summary-value {
	font-size: 24px;
	font-weight: 700;
	color: #212529;
}

/* 검색 패널 스타일 - PC에서 한 줄, 모바일에서 두 줄 */
.cb-partner-search-panel {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 20px;
	margin-bottom: 20px;
}

.cb-partner-search-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cb-partner-quick-buttons {
	display: flex;
	gap: 8px;
}

.cb-partner-quick-button {
	padding: 8px 15px;
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	color: #495057;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.cb-partner-quick-button:hover {
	background-color: #e9ecef;
}

.cb-partner-quick-button.active {
	background-color: #007bff;
	color: #fff;
	border-color: #007bff;
}

.cb-partner-date-search-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cb-partner-date-inputs {
	display: flex;
	align-items: center;
}

.cb-partner-date-picker-container {
	position: relative;
}

.cb-partner-date-input {
	width: 100px !important;
	padding: 8px 12px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	cursor: pointer;
	transition: border-color 0.2s;
}

.cb-partner-date-input:hover {
	border-color: #adb5bd;
}

.cb-partner-date-input:focus {
	border-color: #007bff;
	outline: none;
}

.cb-partner-date-separator {
	margin: 0 8px;
	color: #6c757d;
}

.cb-partner-search-btn {
	padding: 9px 20px;
	background-color: #007bff;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
	white-space: nowrap;
	margin-left: 5px;
}

.cb-partner-search-btn:hover {
	background-color: #0069d9;
}

/* 수익금 테이블 스타일 - 번호 영역 확대, 글자 크기 증가 */
.cb-partner-earnings-table-container {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 20px;
	margin-bottom: 20px;
	overflow-x: auto;
}

.cb-partner-earnings-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.cb-partner-earnings-table th {
	background-color: #f8f9fa;
	color: #495057;
	font-weight: 600;
	text-align: center;
	padding: 15px 10px;
	border-bottom: 2px solid #dee2e6;
	font-size: 16px;
}

.cb-partner-earnings-table td {
	padding: 15px 10px;
	text-align: center;
	border-bottom: 1px solid #e9ecef;
	vertical-align: middle;
	font-size: 15px;
}

.cb-partner-earnings-table tbody tr {
	transition: background-color 0.2s;
}

.cb-partner-earnings-table tbody tr:hover {
	background-color: #f8f9fa;
}

.cb-partner-earnings-number {
	font-weight: 600;
	font-size: 16px;
}

.cb-partner-earnings-title {
	text-align: left;
	font-weight: 500;
	font-size: 16px;
}

.cb-partner-earnings-amount {
	font-weight: 700;
	color: #007bff;
	font-size: 16px;
}

.cb-partner-earnings-date {
	text-align: center;
}

.cb-partner-date-full {
	display: inline-block; /* PC에서는 한 줄로 표시 */
}

.cb-partner-date-year {
	display: none;
}

.cb-partner-date-monthday {
	display: none;
}

/* 상태 표시 스타일 */
.cb-partner-status {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
}

.cb-partner-status-confirmed {
	background-color: #d4edda;
	color: #155724;
}

.cb-partner-status-canceled {
	background-color: #f8d7da;
	color: #721c24;
}

.cb-partner-status-pending {
	background-color: #fff3cd;
	color: #856404;
}

/* 데이터 없음 스타일 */
.cb-partner-no-earnings {
	text-align: center;
	padding: 50px 0;
}

.cb-partner-no-earnings i {
	font-size: 48px;
	color: #dee2e6;
	margin-bottom: 15px;
}

.cb-partner-no-earnings p {
	font-size: 16px;
	color: #6c757d;
}

/* 날짜 선택기 스타일 */
.cb-partner-custom-date-picker {
	position: absolute; /* fixed에서 absolute로 변경 */
	top: 100%; /* 입력창 바로 아래에 위치 */
	left: 0;
	transform: none; /* transform 제거 */
	z-index: 1000;
	display: none;
	width: 280px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	padding: 15px;
	margin-top: 5px; /* 입력창과의 간격 */
}

/* 오른쪽 달력이 화면을 벗어나는 것 방지 */
.cb-partner-date-picker-container:last-child .cb-partner-custom-date-picker {
	left: auto;
	right: 0;
}

.cb-partner-date-picker-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.cb-partner-month-nav {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
	color: #6c757d;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.cb-partner-month-nav:hover {
	background-color: #f8f9fa;
	color: #007bff;
}

.cb-partner-current-month {
	font-weight: 600;
	font-size: 16px;
	color: #212529;
}

.cb-partner-date-picker-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	margin-bottom: 10px;
}

.cb-partner-day-name {
	text-align: center;
	font-size: 12px;
	color: #6c757d;
	padding: 5px 0;
	font-weight: 600;
}

.cb-partner-day {
	text-align: center;
	padding: 8px 0;
	font-size: 14px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s;
}

.cb-partner-day:hover {
	background-color: #e9ecef;
}

.cb-partner-day.disabled {
	color: #ced4da;
	cursor: default;
}

.cb-partner-day.disabled:hover {
	background-color: transparent;
}

.cb-partner-day.today {
	background-color: #e9ecef;
	font-weight: 600;
}

.cb-partner-day.selected {
	background-color: #007bff;
	color: #fff;
}

.cb-partner-date-picker-footer {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e9ecef;
}

.cb-partner-date-picker-btn {
	background: none;
	border: none;
	color: #007bff;
	cursor: pointer;
	font-size: 14px;
	padding: 5px 10px;
	transition: color 0.2s;
}

.cb-partner-date-picker-btn:hover {
	color: #0056b3;
	text-decoration: underline;
}

.cb-partner-date-picker-btn.cancel {
	color: #6c757d;
}

.cb-partner-date-picker-btn.cancel:hover {
	color: #5a6268;
}

/* 반응형 스타일 - 모바일에서 레이아웃 조정 */
@media (max-width: 992px) {
	.cb-partner-search-container {
		flex-direction: column;
		gap: 15px;
	}

	.cb-partner-quick-buttons {
		width: 100%;
		justify-content: space-between;
	}

	.cb-partner-date-search-container {
		width: 100%;
		justify-content: space-between;
	}

	.cb-partner-date-input {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.cb-partner-search-container {
		gap: 12px;
	}

	.cb-partner-quick-buttons {
		flex-wrap: wrap;
		gap: 6px;
	}

	.cb-partner-quick-button {
		padding: 6px 10px;
		font-size: 13px;
		flex: 1;
		text-align: center;
		min-width: 0;
	}

	.cb-partner-custom-date-picker {
		position: fixed; /* absolute에서 fixed로 변경 */
		top: 25vh; /* 화면 높이의 25% 지점에 위치 */
		left: 50%; /* 화면 가로 중앙에 위치 */
		transform: translateX(-50%); /* 가로 중앙 정렬을 위한 변환 */
		width: 280px; /* 팝업창 너비 */
		max-width: 90%; /* 화면 너비의 90%를 넘지 않도록 제한 */
		z-index: 1050; /* 다른 요소보다 위에 표시 */
	}

	/* 달력 팝업이 표시될 때 배경 오버레이 추가 */
	.date-picker-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 1040; /* 달력 팝업보다 낮은 z-index */
	}

	/* 화면 너비가 작을 때 왼쪽 정렬 유지하되 화면 밖으로 나가지 않도록 */
	.cb-partner-date-picker-container .cb-partner-custom-date-picker {
		left: 0;
		right: auto;
	}

	/* 첫 번째 달력 입력창(달력입력창1)의 달력 팝업 위치 조정 */
	.cb-partner-date-picker-container:first-child .cb-partner-custom-date-picker {
		left: 0;
		right: auto;
		transform: none;
	}

	/* 두 번째 달력 입력창(달력입력창2)의 달력 팝업 위치는 기존대로 유지 */
	.cb-partner-date-picker-container:last-child .cb-partner-custom-date-picker {
		left: auto;
		right: 0;
		transform: none;
	}

	.cb-partner-date-search-container {
		display: flex;
		align-items: center;
		gap: 5px;
		width: 100%;
	}

	.cb-partner-date-inputs {
		display: flex;
		align-items: center;
		flex: 2; /* 날짜 입력 영역이 전체의 2/3 차지 */
		gap: 5px;
	}

	.cb-partner-date-input {
		width: 100%;
		padding: 8px 5px; /* 패딩 줄임 */
		font-size: 12px; /* 글자 크기 줄임 */
	}

	.cb-partner-date-separator {
		margin: 0 2px;
		flex: 0 0 auto;
	}

	.cb-partner-date-picker-container {
		flex: 1;
	}

	.cb-partner-search-btn {
		flex: 1; /* 조회 버튼이 전체의 1/3 차지 */
		width: 100%;
	}

	/* 모바일에서 날짜 표시 방식 변경 */
	.cb-partner-date-full {
		display: none; /* 모바일에서는 숨김 */
	}

	.cb-partner-earnings-table th {
		font-size: 14px;
		padding: 12px 5px;
	}

	.cb-partner-earnings-table td {
		font-size: 13px;
		padding: 10px 5px;
	}

	.cb-partner-earnings-title {
		font-size: 13px;
	}

	.cb-partner-earnings-amount {
		font-size: 13px;
	}

	.cb-partner-earnings-number {
		font-size: 13px;
	}

	/* 모바일에서 날짜 표시 방식 변경 - 연도와 월일 분리 */
	.cb-partner-date-year {
		font-size: 12px;
		color: #6c757d;
		display: block;
	}

	.cb-partner-date-monthday {
		font-size: 13px;
		font-weight: 600;
		display: block;
	}

	.cb-partner-status {
		padding: 3px 6px;
		font-size: 11px;
	}
}

@media (max-width: 576px) {
	.cb-partner-summary-value {
		font-size: 20px;
	}

	.cb-partner-quick-button {
		padding: 5px 8px;
		font-size: 12px;
	}

	.cb-partner-earnings-table th:nth-child(1) {
		width: 15% !important;
	}

	.cb-partner-earnings-table th:nth-child(2) {
		width: 35% !important;
	}

	.cb-partner-earnings-table th:nth-child(3) {
		width: 20% !important;
	}

	.cb-partner-earnings-table th:nth-child(4) {
		width: 15% !important;
	}

	.cb-partner-earnings-table th:nth-child(5) {
		width: 15% !important;
	}

	/* 모바일에서 테이블 헤더 텍스트 줄바꿈 허용 */
	.cb-partner-earnings-table th {
		white-space: normal;
		word-break: keep-all;
		line-height: 1.3;
	}
}

/* 작은 모바일 화면에서 추가 최적화 */
@media (max-width: 480px) {
	.cb-partner-date-search-container {
		gap: 3px;
	}

	.cb-partner-custom-date-picker {
		width: 240px; /* 더 작게 */
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
	}

	.cb-partner-date-inputs {
		gap: 3px;
	}

	.cb-partner-date-input {
		padding: 6px 3px;
		font-size: 11px;
	}
}

.cb-partner-notice {
	margin-top: 10px;
}

/* 페이지네이션 스타일 */
.pagination {
	display: flex;
	justify-content: center;
	margin: 30px 0;
}

.pagination-list {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pagination-list li {
	margin: 0 2px;
}

.pagination-list a,
.pagination-list span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
}

.pagination-list a {
	background-color: #f5f5f5;
	color: #555;
	border: 1px solid #ddd;
}

.pagination-list a:hover {
	background-color: #e9e9e9;
	border-color: #ccc;
}

.pagination-list .current-page {
	background-color: #007bff;
	color: white;
	border: 1px solid #0062cc;
	font-weight: bold;
}

.pagination-list .disabled {
	background-color: #f5f5f5;
	color: #aaa;
	border: 1px solid #ddd;
	cursor: not-allowed;
}

.first-page,
.prev-page,
.next-page,
.last-page {
	font-size: 12px;
}

.cb-partner-restricted-period-warning {
	background-color: #fff3cd;
	border: 1px solid #ffeeba;
	color: #856404;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
}

.cb-partner-restricted-period-warning i {
	font-size: 24px;
	margin-right: 15px;
}

.cb-partner-restricted-period-warning p {
	margin: 0;
	font-size: 14px;
}

.cb-partner-success-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px;
	text-align: center;
}

.cb-partner-success-icon {
	color: #007bff;
	font-size: 60px;
	margin-bottom: 20px;
}

.cb-partner-success-message h3 {
	color: #333;
	margin: 0 0 10px;
	font-size: 22px;
}

.cb-partner-success-message p {
	color: #666;
	margin: 0 0 20px;
}

.cb-partner-success-btn {
	background: linear-gradient(135deg, #007bff 0%, #007bff 100%);
	color: white;
	border: none;
	padding: 10px 25px;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 600;
	display: flex;
	align-items: center;
	box-shadow: 0 4px 10px rgba(61, 93, 224, 0.3);
	transition: all 0.3s;
}

.cb-partner-success-btn i {
	margin-right: 8px;
}

.cb-partner-success-btn:hover {
	background: linear-gradient(135deg, #007bff 0%, #007bff 100%);
	box-shadow: 0 6px 15px rgba(61, 93, 224, 0.4);
}

/* 파트너 페이지 전용 스타일 */
.cb-partner-support-container {
	/* max-width: 1200px; */
	margin: 0 auto;
	padding: 6px 16px 16px 16px;
}

.cb-partner-support-header {
	text-align: center;
	margin-bottom: 20px;
	padding: 30px 16px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 15px;
	color: white;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cb-partner-support-header h1 {
	font-size: 32px;
	margin-bottom: 10px;
	font-weight: 700;
	color: white;
	padding-top: 10px;
}

.cb-partner-support-header h1 i {
	margin-right: 10px;
}

.cb-partner-support-header p {
	font-size: 1.1em;
	opacity: 0.9;
	margin: 0;
	color: white;
}

.cb-partner-support-section {
	background: white;
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid #f0f0f0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cb-partner-support-section:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.cb-partner-support-section-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
	font-size: 1.5em;
	font-weight: 600;
	color: #333;
}

.cb-partner-support-section-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	color: white;
	font-size: 1.2em;
}

.cb-partner-support-keyword-area {
	text-align: center;
	padding: 10px 20px;
}

.cb-partner-support-keyword-description {
	font-size: 1.1em;
	color: #666;
	margin-bottom: 30px;
	line-height: 1.6;
}

.cb-partner-support-download-btn {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 15px 30px;
	border: none;
	border-radius: 50px;
	font-size: 1.1em;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cb-partner-support-download-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
	color: white;
	text-decoration: none;
}

.cb-partner-support-download-btn i {
	margin-right: 10px;
	font-size: 1.2em;
}

.cb-partner-support-banner-area {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 10px;
	border: 2px dashed #dee2e6;
}

.cb-partner-support-coming-soon {
	font-size: 1.2em;
	color: #6c757d;
	margin-bottom: 15px;
	font-weight: 500;
}

.cb-partner-support-coming-description {
	color: #868e96;
	font-size: 1em;
}

.cb-partner-support-info-box {
	background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
	border-radius: 10px;
	padding: 20px;
	margin-top: 30px;
	border-left: 4px solid #667eea;
}

.cb-partner-support-info-title {
	display: flex;
	align-items: center;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}

.cb-partner-support-info-title i {
	margin-right: 8px;
	color: #667eea;
}

.cb-partner-support-info-text {
	color: #555;
	line-height: 1.5;
	margin: 0;
}

.cb-partner-support-content {
	line-height: 1.8;
	color: #555;
}

.cb-partner-support-content h3 {
	color: #333;
	font-size: 1.2em;
	margin: 25px 0 15px 0;
	font-weight: 600;
	padding-left: 10px;
	border-left: 4px solid #667eea;
}

.cb-partner-support-content ul {
	margin: 15px 0;
	padding-left: 20px;
}

.cb-partner-support-content li {
	margin-bottom: 8px;
	position: relative;
}

.cb-partner-support-content li .ls20 {
	letter-spacing: 0.5px;
}

.cb-partner-support-highlight {
	background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
	border-radius: 10px;
	padding: 20px;
	margin: 10px 0 10px 20px;
	border-left: 4px solid #667eea;
}

.cb-partner-support-highlight-title {
	display: flex;
	align-items: center;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	font-size: 1.1em;
}

.cb-partner-support-highlight-title i {
	margin-right: 8px;
	color: #667eea;
}

.cb-partner-support-example {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 15px;
	margin: 15px 0;
	border: 1px solid #e9ecef;
}

.cb-partner-support-example-title {
	font-weight: 600;
	color: #495057;
	margin-bottom: 10px;
}

.cb-partner-support-warning {
	background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
	border-radius: 10px;
	padding: 20px;
	margin: 20px 0;
	border-left: 4px solid #ffc107;
}

.cb-partner-support-warning-title {
	display: flex;
	align-items: center;
	font-weight: 600;
	color: #856404;
	margin-bottom: 10px;
	font-size: 1.1em;
}

.cb-partner-support-warning-title i {
	margin-right: 8px;
	color: #ffc107;
}

.cb-partner-support-congratulation {
	text-align: center;
	background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
	border-radius: 10px;
	padding: 25px;
	margin: 20px 0;
	border: 1px solid #c3e6cb;
}

.cb-partner-support-congratulation-text {
	font-size: 1.2em;
	color: #155724;
	font-weight: 600;
	margin: 0;
}

.cb-partner-highlight-text {
	color: #667eea;
	font-weight: 600;
}

@media (max-width: 768px) {
	.cb-partner-support-container {
		padding: 5px 15px 15px 15px;
	}

	.cb-partner-support-header h1 {
		font-size: 24px;
	}

	.cb-partner-support-section {
		padding: 20px;
	}

	.cb-partner-support-download-btn {
		padding: 12px 25px;
		font-size: 1em;
	}
}

/* 하단 CTA 섹션 */
.cb-howto-connect-cta-section {
	text-align: center;
	margin-top: 40px;
	padding: 40px;
	background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
	border-radius: 20px;
}

.cb-howto-connect-cta-section h3 {
	color: #667eea;
	font-size: 1.8rem;
	margin-bottom: 20px;
	font-weight: 700;
}

.cb-howto-connect-cta-section p {
	color: #666;
	font-size: 1.2rem;
	margin-bottom: 30px;
}

/* 버튼 */
.cb-howto-connect-buttons {
	margin-top: 30px;
	display: flex;
	gap: 25px;
	justify-content: center;
}

.cb-howto-connect-btn {
	padding: 18px 35px;
	border: 2px solid #667eea;
	background: transparent;
	color: #667eea;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.cb-howto-connect-btn:hover {
	background: #667eea;
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.cb-howto-connect-btn.primary {
	background: #667eea;
	color: white;
}

.cb-howto-connect-btn.primary:hover {
	background: #5a5fcf;
	color: white;
}

/* 반응형 */
@media (max-width: 768px) {
	.cb-howto-connect-buttons {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.cb-howto-connect-btn {
		width: 200px;
		justify-content: center;
	}
}

.cb-store-product-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
	margin: 20px 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.cb-store-product-item {
	background: #fff;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	padding: 20px;
	position: relative;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cb-store-product-item:hover {
	border-color: #677ee9;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(103, 126, 233, 0.15);
}

.cb-store-product-badge {
	position: absolute;
	top: -8px;
	right: 16px;
	background: #677ee9;
	color: white;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: bold;
}

.cb-store-product-header {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}

.cb-store-product-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #677ee9, #4c63d2);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
}

.cb-store-product-icon i {
	color: white;
	font-size: 18px;
}

.cb-store-product-title h4 {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.cb-store-product-price {
	font-size: 24px;
	font-weight: bold;
	color: #677ee9;
	margin-bottom: 16px;
	text-align: center;
}

.cb-store-price-inline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cb-store-original-price {
	font-size: 18px;
	color: #999;
	text-decoration: line-through;
}

.cb-store-discount-arrow {
	color: #677ee9;
	font-size: 14px;
}

.cb-store-discount-price {
	font-size: 24px;
	color: #e74c3c;
	font-weight: bold;
}

.cb-store-discount-badge {
	background: #e74c3c;
	color: white;
	padding: 3px 6px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: bold;
}

.cb-store-product-features ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cb-store-product-features li {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #555;
	justify-content: center;
}

.cb-store-product-features li i {
	color: #28a745;
	margin-right: 6px;
	font-size: 12px;
}

.cb-store-price-notice {
	margin-top: 16px;
	padding: 12px 16px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-left: 3px solid #677ee9;
	border-radius: 6px;
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #6c757d;
	line-height: 1.4;
}

.cb-store-price-notice i {
	color: #677ee9;
	margin-right: 8px;
	font-size: 14px;
}

@media (max-width: 768px) {
	.cb-store-product-container {
		grid-template-columns: 1fr;
		gap: 12px;
		max-width: 100%;
	}

	.cb-store-product-item {
		padding: 16px;
	}

	.cb-store-product-price {
		font-size: 20px;
	}

	.cb-store-price-inline {
		flex-direction: column;
		gap: 4px;
	}

	.cb-store-discount-price {
		font-size: 20px;
	}

	.cb-store-price-notice {
		font-size: 12px;
		padding: 10px 12px;
	}
}
