/* Card Box Container */
.recb-card-container {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	background-color: #F9F6F3;
	border-radius: 40px;
	padding: 50px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
	border: 1px solid rgba(0, 0, 0, 0.03);
	margin-bottom: 20px;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.recb-card-container:hover {
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.05);
}

/* Header Section */
.recb-card-header {
	display: flex;
	flex-direction: column;
	margin-bottom: 0px;
}

/* Index Number */
.recb-index-number {
	font-family: inherit;
	font-size: 20px;
	font-weight: 500;
	color: #D65B8C;
	margin-bottom: 15px;
	line-height: 1.2;
}

/* Box Title */
.recb-box-title {
	font-family: inherit;
	font-size: 32px;
	font-weight: 600;
	color: #2B2B2B;
	margin-top: 0;
	margin-bottom: 20px;
	line-height: 1.3;
}

/* Body Content */
.recb-default-content {
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	color: #4A4A4A;
	margin-bottom: 30px;
}

.recb-default-content p {
	margin: 0 0 15px 0;
}
.recb-default-content p:last-child {
	margin-bottom: 0;
}

/* Expanded Content Drawer */
.recb-expanded-drawer {
	display: none;
	overflow: hidden;
}

.recb-expanded-content {
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	color: #4A4A4A;
	padding-bottom: 30px;
}

.recb-expanded-content h1,
.recb-expanded-content h2,
.recb-expanded-content h3,
.recb-expanded-content h4 {
	font-family: inherit;
	color: #2B2B2B;
	font-weight: 600;
	margin-top: 25px;
	margin-bottom: 10px;
	line-height: 1.3;
}

.recb-expanded-content h1 { font-size: 26px; }
.recb-expanded-content h2 { font-size: 22px; }
.recb-expanded-content h3 { font-size: 18px; }
.recb-expanded-content h4 { font-size: 16px; }

.recb-expanded-content p {
	margin: 0 0 15px 0;
}
.recb-expanded-content p:last-child {
	margin-bottom: 0;
}

/* Button & Alignment */
.recb-button-wrapper {
	display: flex;
	justify-content: flex-start;
}

/* Toggle Pill Button */
.recb-toggle-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	color: #FFFFFF;
	background-color: #D65B8C;
	border: none;
	outline: none;
	border-radius: 100px;
	padding: 15px 35px;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(214, 91, 140, 0.2);
	transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.recb-toggle-button:hover {
	background-color: #C44B7C;
	box-shadow: 0 8px 20px rgba(214, 91, 140, 0.3);
}

.recb-toggle-button:active {
	transform: scale(0.98);
}

/* Rotating Icon */
.recb-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	transform: rotate(90deg); /* Points down-right initially */
	transition: transform 0.3s ease;
}

.recb-btn-icon svg {
	width: 16px;
	height: 16px;
	fill: none;
	display: block;
}

/* Rotated state when expanded */
.recb-card-container.recb-expanded-active .recb-btn-icon {
	transform: rotate(0deg); /* Points up-right (diagonal) when expanded */
}

/* Responsive Overrides */
@media (max-width: 767px) {
	.recb-card-container {
		padding: 30px;
		border-radius: 30px;
	}
	
	.recb-box-title {
		font-size: 26px;
	}
	
	.recb-toggle-button {
		width: 100%;
		padding: 14px 24px;
	}
}
