/*
Styleshteet Name: Classifieds UI Front Main
Description: You can override this file in your active theme.
*/

/* =Styles for Classifieds Main component.
-------------------------------------------------------------- */

.error {
	background: #FFEBE8;
	padding:10px;
	border:1px solid red;
}
.submit {
	margin: 10px 0;
}
.invalid-login {
	margin-top: 10px;
}
.description {
	color:#888888;
	font-size:12px;
}

.clear{
	clear: both;
	width:auto;
	height: auto;
}

.clear_left{
	clear: left;
}

.clear_right{
	clear: right;
}

.editfield label, .editfield .label {
	font-size:14px;
	color: #333;
	display: block;
	font-family:"Helvetica Neue",Arial,Helvetica,"Nimbus Sans L",sans-serif;
}

.editfield input,
.editfield textarea,
.editfield select {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	width:100%;
}

/* Update page*/
.cf_tax_panel{
	overflow: auto;
	height:160px;
	border:1px solid #ddd;
}

.cf_tax_panel ul{
	padding: 0;
	list-style: none outside none;
	margin-left: 1em;
}

.cf_tax_panel ul.chilcfen{
	font-size: .8em;
	margin-left: 1.6em;
}

.cf_taxonomydiv{
	float: left;
	display: block;
	width:47%;
	margin-right: 3%;
}


.entry-content .cf-ad input {
	margin: 0;
}

.entry-content .cf-checkout input {
	margin: 0;
}
.entry-content .cf-login input {
	margin: 0;
}

/*
#content .editfield table {
border:0;
width: inherit;
margin: 0;
}

#content .editfield tr td {
border-top:0;
padding:0 15px 0 0;
vertical-align: top;
}

#content .cf-ad table {
margin: 0 0 0 15px;
display: block;
border: 1px solid #ddd;
border-collapse: collapse;
width: 100%;
}
*/

.cf-ad{
	width: 100%;
	overflow: hidden;
}

.cf-listing-card-wrap {
	margin-bottom: 18px;
}

.cf-listing-card {
	border: 1px solid #d9e2ec;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	padding: 10px;
	transition: transform .18s ease, box-shadow .18s ease;
}

.cf-listing-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.cf-excerpt{
	font-size: .8em;
	line-height: 1.2em;
}

.cf-pad{
	margin: .5em;
	border: 1px solid #ddd;
}

.cf-title {
	font-weight: bold;

}

.cf-price {
	float: right;
	font-weight: bold;
}
.cf-image {
	float: left;
	background-color: #fafafa;
	margin: 5px;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
}

.cf-gallery-badge {
	position: absolute;
	top: 6px;
	left: 6px;
	display: inline-block;
	padding: 2px 8px;
	border-radius: 12px;
	background: rgba(0,0,0,.72);
	color: #fff;
	font-size: 11px;
	line-height: 1.4;
	font-weight: 600;
}

.cf-status-badge {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	background: #eef2ff;
	color: #1f2937;
	border: 1px solid #c7d2fe;
}

.cf-image .cf-status-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
}

.cf-status-badge.is-reserved,
.cf-meta-chip-reserved {
	background: #fff2e8;
	border-color: #f7c89c;
	color: #9a3412;
}

.cf-image h3{
	float: right;
}

.cf-info {
	margin: 5px 5px 5px 160px;
}

.cf-post .cf-info {
	margin: 5px 5px 5px 360px;
}

.cf-info table{
	width: 100%;
	height: 150px;
	border-collapse: collapse;
	margin:0;
}

.cf-info table th {
	text-align: right;
	width: 50px;
}

.cf-info table th,
.cf-info table td {
	padding: 0 1em;
	vertical-align: middle;
	border: 1px solid #e6edf5;
}

.cf-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 12px 4px;
	flex-wrap: wrap;
}

.cf-card-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.cf-card-meta-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cf-card-pill,
.cf-meta-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eef6ff;
	color: #17436b;
	font-size: 12px;
	font-weight: 600;
}

.cf-card-cta {
	min-width: 140px;
	text-align: center;
	border-radius: 999px;
	padding: 10px 18px;
	background: #0f6cbd;
	border-color: #0f6cbd;
	color: #fff;
}

.cf-card-cta:hover {
	background: #0b5ea7;
	border-color: #0b5ea7;
	color: #fff;
}

.cf-card-secondary,
.cf-favorite-toggle {
	border-radius: 999px;
	padding: 10px 16px;
	border: 1px solid #c4d7ea;
	background: #fff;
	color: #17436b;
}

.cf-favorite-toggle.is-active {
	background: #fff0eb;
	border-color: #f4b39f;
	color: #a33d1f;
}

.cf-favorite-toggle .cf-favorite-label-active {
	display: none;
}

.cf-favorite-toggle.is-active .cf-favorite-label-default {
	display: none;
}

.cf-favorite-toggle.is-active .cf-favorite-label-active {
	display: inline;
}

.cf-favorite-toggle.is-busy {
	opacity: .65;
	pointer-events: none;
}

.cf-ad form {
	padding-right: 7px;
	overflow: hidden;
	float: right;
}

.cf-ad form.del-form {
	padding-right: 7px;
}

.cf-ad-info{
	border-collapse: collapse;
	font-size: .8em;
}


table.cf-ad-info th,
table.cf-ad-info td {
	border: 1px solid #ddd;
	padding: 0 1em;
}

table.cf-ad-info th {
	text-align: right;
	width:50px;
}

ul.button-nav li {
	float: left;
	list-style: none;
	padding-right: 15px;
}
/*
#content .hentry ul {
overflow: hidden;
margin: 0;
padding-bottom: 15px;
}
*/
.cf-checkout {
	margin-right: 15px;
}

#content .cf-checkout table {
	margin:0;
}

#content .cf-checkout table tr td {
	padding:6px 0 6px 24px;
}

#content .cf-login table {
	margin:0;
}
.terms {
	height:100px;
	overflow-x: hidden;
	color:#888888;
	font-size:12px;
	font-family:"Helvetica Neue",Arial,Helvetica,"Nimbus Sans L",sans-serif;
}
.editfield .wp-post-image {
	border: 1px solid #ddd;
	padding: 15px;
}
.single-classifieds #content img.wp-post-image {
	border: 1px solid #ddd;
	padding: 15px;
	margin: 0 auto 10px auto;
}
.button-nav {
	margin: 12px 0 0 0;
}
.button-nav li a {
	text-decoration: none;
	-moz-border-radius:3px 3px 3px 3px;
	border:1px solid #DDDDDD;
	color:#888888;
	cursor:pointer;
	font-size:12px;
	font-weight:normal;
	padding:3px 10px;
}
.button-nav li.current a {
	color: #000;
}

.cf-gallery-upload {
	margin-top: 10px;
}

.cf-gallery-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.cf-gallery-preview-img {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fafafa;
}

.cf-gallery-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 5px 14px;
}

.cf-gallery-item img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.cf-gallery-item {
	display: inline-flex;
	transition: transform .18s ease, box-shadow .18s ease;
}

.cf-gallery-item:hover,
.cf-lightbox-trigger:hover {
	transform: translateY(-1px);
}

.cf-quick-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	margin: 18px 0;
	border: 1px solid #d9e2ec;
	border-radius: 18px;
	background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
	flex-wrap: wrap;
}

.cf-quick-actions-main {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.cf-quick-meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cf-trust-layout {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 14px;
	margin: 8px 0 18px;
}

.cf-trust-card,
.cf-seller-card {
	border: 1px solid #d9e2ec;
	border-radius: 16px;
	padding: 14px 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.cf-trust-card h3,
.cf-seller-card h3 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.25;
}

.cf-trust-list {
	margin: 0 0 10px 18px;
	padding: 0;
	color: #334155;
	line-height: 1.5;
}

.cf-trust-location {
	margin: 0;
	font-size: 14px;
	color: #1e3a5f;
}

.cf-seller-name {
	margin: 0 0 8px;
	font-weight: 700;
	font-size: 17px;
	color: #17324d;
}

.cf-seller-meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.cf-seller-actions {
	margin: 0;
}

.cf-cta-contact,
.cf-cta-share {
	border-radius: 999px;
	padding: 10px 16px;
}

.cf-sticky-mobile-actions {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	display: none;
	gap: 10px;
	padding: 10px;
	border-radius: 18px;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(10px);
	box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
	z-index: 50;
}

.cf-sticky-mobile-actions .button {
	flex: 1 1 0;
	border-radius: 999px;
}

.cf-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .66);
	padding: 20px;
	z-index: 80;
}

.cf-modal.is-open {
	display: flex;
}

.cf-modal-dialog {
	position: relative;
	width: min(860px, 100%);
	max-height: 90vh;
	overflow: auto;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

.cf-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 23, 42, .08);
	font-size: 24px;
	line-height: 1;
	z-index: 2;
}

.cf-modal-content {
	padding: 28px;
}

.cf-modal-loading,
.cf-modal-error {
	padding: 40px 20px;
	text-align: center;
	font-weight: 600;
	color: #34516b;
}

.cf-quickview-card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 24px;
	align-items: start;
}

.cf-quickview-media img,
.cf-quickview-placeholder {
	width: 100%;
	border-radius: 18px;
	background: #f4f8fb;
	min-height: 280px;
	object-fit: cover;
	display: block;
}

.cf-quickview-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #5a7186;
	font-weight: 600;
}

.cf-quickview-kicker {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 12px;
	font-weight: 700;
	color: #56748f;
}

.cf-quickview-body h3 {
	margin: 0 0 12px;
	font-size: 28px;
	line-height: 1.15;
}

.cf-quickview-meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.cf-quickview-excerpt {
	margin: 0 0 18px;
	color: #43596d;
	line-height: 1.6;
}

.cf-quickview-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

body.cf-modal-open,
body.cf-lightbox-open {
	overflow: hidden;
}

@media (max-width: 782px) {
	.cf-sticky-mobile-actions {
		display: flex;
	}

	.cf-quick-actions {
		padding-bottom: 78px;
	}

	.cf-card-footer {
		align-items: stretch;
	}

	.cf-card-actions {
		width: 100%;
	}

	.cf-card-actions .button {
		flex: 1 1 calc(50% - 5px);
	}

	.cf-card-actions .cf-card-cta {
		flex-basis: 100%;
	}

	.cf-quickview-card {
		grid-template-columns: 1fr;
	}

	.cf-trust-layout {
		grid-template-columns: 1fr;
	}

	.cf-modal-content {
		padding: 20px;
	}
}

.cf-post .cf-image img,
.cf-lightbox-stage img {
	max-width: 100%;
	height: auto;
}

.cf-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.88);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 9999;
}

.cf-lightbox.is-open {
	display: flex;
}

.cf-lightbox-stage {
	max-width: min(92vw, 1080px);
	max-height: 90vh;
	text-align: center;
}

.cf-lightbox-image {
	max-width: 100%;
	max-height: 78vh;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	background: #fff;
}

.cf-lightbox-caption {
	margin: 12px 0 0;
	color: #f8fafc;
	font-size: 14px;
}

.cf-lightbox-close,
.cf-lightbox-nav {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	font-size: 24px;
	cursor: pointer;
}

.cf-lightbox-close {
	position: absolute;
	top: 18px;
	right: 18px;
	font-size: 34px;
	line-height: 1;
}

.cf-lightbox-nav {
	flex: 0 0 auto;
}

.cf-filter-bar {
	margin-bottom: 18px;
	padding: 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
	border: 1px solid #d9e2ec;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.cf-filter-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.cf-filter-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #17324d;
}

.cf-filter-field input,
.cf-filter-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #fff;
}

.cf-filter-inline {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.cf-filter-actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
    flex-wrap: wrap;
}

.cf-payment-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: #eef3f8;
	color: #113355;
	border: 1px solid #c9d8e6;
}

.cf-payment-badge-paypal {
	background: #fff6e8;
	border-color: #f2cf8f;
	color: #8b5a00;
}

.cf-filter-tools {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.cf-saved-filter-select {
	min-width: 240px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #fff;
}

.cf-card-contact {
	border-radius: 999px;
	padding: 10px 16px;
}

@media (max-width: 900px) {
	.cf-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cf-filter-tools {
		flex-direction: column;
		align-items: stretch;
	}

	.cf-saved-filter-select {
		min-width: 0;
		width: 100%;
	}

	.cf-post .cf-info {
		margin-left: 5px;
	}
}

@media (max-width: 700px) {
	.cf-image,
	.cf-post .cf-image {
		float: none;
		margin: 0 0 12px;
	}

	.cf-info,
	.cf-post .cf-info {
		margin: 0;
	}

	.cf-info table,
		.cf-post .cf-info table {
		height: auto;
	}

	.cf-info table th,
		.cf-info table td {
		display: block;
		width: auto;
		text-align: left;
	}

	.cf-filter-grid {
		grid-template-columns: 1fr;
	}

	.cf-lightbox {
		padding: 16px 10px;
	}

	.cf-lightbox-nav {
		position: absolute;
		bottom: 20px;
	}

	.cf-lightbox-prev {
		left: 20px;
	}

	.cf-lightbox-next {
		right: 20px;
	}
}
.create-new-btn,
.credits_btn,
.checkout_btn {
	float: right;
}
.cf-custom-fields .alt {
	background: #F3F3F3;
}
#content .cf-custom-fields tr th {
	border-top:1px solid #E7E7E7;
}
.action-form, .confirm-form {
	margin-top: 10px;
}
.cf-contact-form {
	width: 300px;
	float: left;
}

.av-credits {
	float: right;
	margin-top: -30px;
	color: green;
}

#cf-message,
#cf-message-error {
	background-color: #8FF57A;
	color: #1A6A00;
	-moz-border-radius: 3px 3px 3px 3px;
	border: 1px solid #80CF70;
	font-weight: normal;
	margin: 3px 0px 10px 0px;
	text-decoration: none;
	display: block;
	font-size: 12px;
	padding: 5px 50px;
	float: left;
}

#cf-message-error {
	background-color: #FFEBE8;
	color: #000;
	border: 1px solid #CC0000;
}

.my-credits h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 15px 0px 15px 0px;

}

.my-credits table {
	width: inherit;
}

.my-credits table tr td, .my-credits table tr td {
	padding: 8px;
}

.cf-filter-bar {
	background: #f7f8f9;
	border: 1px solid #d7dce0;
	border-radius: 10px;
	padding: 14px;
	margin: 10px 0 16px;
}

.cf-filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 10px;
}

.cf-filter-field label {
	font-size: 12px;
	font-weight: 600;
	display: block;
	margin-bottom: 4px;
}

.cf-filter-inline {
	display: flex;
	gap: 6px;
}

.cf-filter-actions {
	margin-top: 10px;
	display: flex;
	gap: 8px;
}

.cf-quick-actions {
	border: 1px solid #d7dce0;
	background: #f8fafb;
	padding: 12px;
	border-radius: 10px;
	margin: 12px 0;
}

.cf-quick-actions-main {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cf-quick-meta {
	margin-top: 8px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cf-meta-chip {
	display: inline-block;
	padding: 5px 10px;
	background: #e8f2ff;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.upload-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border: 1px dashed #9aa5b1;
	border-radius: 8px;
	background: #fcfcfc;
}

.upload-button.is-dragover {
	border-color: #2e8fff;
	background: #edf5ff;
}

/* Listing quality fixes: override old float/table layout with crisp responsive cards */
.cf-listing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 14px;
}

.cf-listing-grid .cf-listing-card-wrap {
	margin: 0;
}

.cf-listing-grid .cf-listing-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px;
}

.cf-listing-grid .cf-image {
	float: none;
	margin: 0;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	background: #f2f5f8;
}

.cf-listing-grid .cf-image .cf-card-image,
.cf-listing-grid .cf-image img.wp-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transform: translateZ(0);
	image-rendering: auto;
}

.cf-listing-grid .cf-info {
	margin: 10px 0 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.cf-listing-grid .cf-card-headline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.cf-listing-grid .cf-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
}

.cf-listing-grid .cf-price {
	float: none;
	font-size: 17px;
	font-weight: 700;
	white-space: nowrap;
}

.cf-listing-grid .cf-card-meta-compact {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.cf-listing-grid .cf-excerpt {
	margin: 0 0 10px;
	color: #3c5168;
	font-size: 13px;
	line-height: 1.45;
}

.cf-listing-grid .cf-card-footer {
	margin-top: auto;
	padding: 0;
}

.cf-listing-grid .cf-card-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
}

.cf-listing-grid .cf-card-actions .cf-card-cta {
	grid-column: 1 / -1;
}

@media (max-width: 700px) {
	.cf-listing-grid {
		grid-template-columns: 1fr;
	}
}

/* Modern compact classifieds cards */
.cf-listing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 14px;
	align-items: stretch;
}

.cf-listing-grid.cf-grid-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-listing-grid.cf-grid-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cf-listing-grid.cf-grid-cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.cf-listing-grid.cf-grid-cols-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.cf-listing-grid.cf-grid-cols-2,
	.cf-listing-grid.cf-grid-cols-3,
	.cf-listing-grid.cf-grid-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.cf-listing-grid.cf-grid-cols-2,
	.cf-listing-grid.cf-grid-cols-3,
	.cf-listing-grid.cf-grid-cols-4 {
		grid-template-columns: 1fr;
	}
}

.cf-listing-grid .cf-listing-card-wrap {
	margin: 0;
}

.cf-listing-grid .entry-content {
	height: 100%;
}

.cf-listing-grid .cf-listing-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid #d8e3ee;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
	background: #fff;
}

.cf-listing-grid .cf-image {
	float: none;
	margin: 0;
	border-radius: 0;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f3f7fb;
}

.cf-listing-grid .cf-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cf-listing-grid .cf-info {
	margin: 0;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
}

.cf-card-headline {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: flex-start;
}

.cf-listing-grid .cf-title {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	flex: 1 1 auto;
}

.cf-listing-grid .cf-title a {
	text-decoration: none;
	color: #102a43;
}

.cf-listing-grid .cf-price {
	float: none;
	font-size: 17px;
	line-height: 1.2;
	font-weight: 800;
	white-space: nowrap;
	color: #0f6cbd;
	padding-left: 8px;
}

.cf-card-meta-compact {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.cf-listing-grid .cf-card-pill {
	padding: 5px 9px;
	font-size: 11px;
	background: #edf4fb;
	color: #26435f;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cf-listing-grid .cf-excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #4d647b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cf-listing-grid .cf-card-footer {
	margin-top: auto;
	padding: 0;
	gap: 8px;
	align-items: stretch;
	justify-content: flex-end;
}

.cf-listing-grid .cf-card-actions {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.cf-listing-grid .cf-card-actions .button {
	margin: 0;
	text-align: center;
	padding: 9px 10px;
	font-size: 12px;
	line-height: 1.2;
	border-radius: 10px;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cf-listing-grid .cf-card-actions .cf-card-cta {
	grid-column: span 2;
	border-radius: 10px;
	padding: 10px 12px;
}

@media (max-width: 760px) {
	.cf-listing-grid {
		grid-template-columns: 1fr;
	}
}

.cf-image-preview {
	margin-top: 10px;
}

.cf-image-preview-img {
	max-width: 220px;
	height: auto;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 4px;
	background: #fff;
}

/* Pagination styles */

.cf-navigation{
	float:right;
}

.cf-pagination {
	clear:both;
	padding:0;
	position: relative;
	font-size:11px;
	line-height:13px;
	z-index:99;
}

.cf-pagination span, .cf-pagination a {
	display:block;
	float:left;
	margin: 2px 2px 2px 0;
	padding:6px 9px 5px 9px;
	text-decoration:none;
	width:auto;
	color:#fff;
	background: #555;
}
.cf-pagination a:hover{
	color:#fff;
	background: #3279BB;
}
.cf-pagination .current{
	padding:6px 9px 5px 9px;
	background: #3279BB;
	color:#fff;
}

/** Sigin Form **/
/* tabbed list */
#login-register-password, ul.cf_tabs {
	padding-bottom: 0;
	margin: 0 !important;
	position: relative;
	list-style: none;
	z-index: 1000;
	float: left;
}

ul.cf_tabs li {
	background: #fff;
	border: 1px solid #E7E9F6;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	line-height: 2em;
	padding: 0;
	margin-right: 5px;
	overflow: hidden;
	float: left;
}
ul.cf_tabs li a {
	text-decoration: none;
	padding: 0 10px;
	display: block;
}

ul.cf_tabs li.cf_active {
	border-bottom: 1px solid #fff;
}
ul.cf_tabs li.cf_active a {
	font-weight: bold;
	color: #333;
}

.cf_tab_container {
	background: #fff;
	position: relative;
	margin: 0;
	border: 1px solid #E7E9F6;
	z-index: 999;
	float: left;
	width: 100%;
	top: -1px;
	z-index: 999;

}
.cf_tab_content {
	padding: 15px;
}
.cf_tab_content ul {
	padding: 0;
	margin: 0 0 0 15px;
}
.cf_tab_content li {
	margin: 5px 0;
}

/* global styles */
#login-register-password {}
#login-register-password h3 {
	border: 0 none;
	margin: 10px 0;
	padding: 0;
}
#login-register-password p {
	margin: 0 0 15px 0;
	padding: 0;
}
/* form elements */
.wp-user-form {}
.username,
.password,
.login_fields {
	margin: 7px 0 0 0;
	overflow: hidden;
	width: 100%;
}
.username label,
.password label {
	float: left;
	width: 25%;
}
.username input,
.password input {
	float: left;
	width: 200px;
	padding: 2px 3px;
	color: #777;
}
.rememberme {
	overflow: hidden;
	width: 100%;
	margin-bottom: 7px;
}
#rememberme {
	float: left;
	margin: 4px 4px -4px 0;
}
.user-submit {
	padding: 5px 10px;
	margin: 5px 0;
}
.userinfo {
	float: left;
	width: 75%;
	margin-bottom: 10px;
}
.userinfo p {
	margin-left: 10px;
}
.usericon {
	float: left;
	width: 15%;
	margin: 0 0 10px 22px;
}
.usericon img {
	border: 1px solid #F4950E;
	padding: 1px;
}

/* custom input field styles */
.ct-form-field table{
	border-collapse: collapse;
	width: 100%;
}

.cf-archive-intro,
.cf-user-intro {
	background: #f7f9fc;
	border: 1px solid #d9e1ec;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 0 0 14px;
	color: #22384f;
}

.ct-form-field label{
	border:none;
	font-family: inherit;
}
.ct-form-field td{
	border:none;
}

.ct-form-field p{
	font-size: .8em;
}

/** Thickbox layer adjustment */
#TB_overlay {
	z-index:10000;
}

#TB_window {
	z-index: 10002;
}

#TB_load{
	z-index:10003;
}

#TB_HideSelect{
	z-index:9999;
}

/* #cf_listing_list */

#cf_listing_list .entry-title{
	float: left;
}

#cf_listing_list .entry-meta{
	clear: none;
	float: right !important;
	width: 230px;
	border-left: 1px solid #ddd;
	padding: 0 5px;
	margin-left: 5px;
}

#cf_listing_list .entry-post{
	border: 1px solid #ddd;
	margin-bottom: 1em;
	padding: 1em;
}

#cf_listing_list .entry-summary{
	clear: left;
	padding:0;
}

/*Categories list grid css*/

#cf_list_categories ul{
	padding:0;
	margin:0;
}

.cf_list_grid h2{
	background-color: #eee;
	padding: .2em 1em;
	border-radius: .3em;
	text-align: center;
	font-size: 1em;
}

.cf_list_grid li{
	float: left;
	list-style: none outside none;
	min-height: 11em;
	padding: .5em;
	width: 19%;
	margin: 0 2% 2% 0;
	border: medium solid #eee;
	border-radius: .4em;
	font-size: small;
}

#cf_list_categories span{
}

/*Categories list css*/
.cf_list h2{
	background-color: #eee;
	padding: .2em 1em;
	border-radius: .3em;
	text-shadow: 1px 1px #fff;
}

.cf_list ul{
	min-width:50%;
}

.cf_list li{
	list-style: none outside none;
	margin: .6em;
}

.cf_list div{
	float:left;
	margin: 0 1em;
}

/** File upload button 
*
* this is rather empirically arrived at ratios to get the upload button 
* to work in all browsers due to [type=file] weirdness between browsers 
* Firefox in particualr is touchy.
*/

.upload-button {
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.upload-button input {
  position: absolute;
  right: 0;
  top: -200%;
  width: 100%;
  height: 400%;
  font-size: 10%;
  letter-spacing: 12em;
  cursor: pointer;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  margin-right: 10px;
}

.upload-button .button {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  font-size: 11px;
  margin-right: 5px;
  padding: 4px 18px;
  text-transform: uppercase;
}

.upload-button .file-holder {
	background: #ddd;
	padding:3px;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.cf-dashboard {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.cf-dashboard-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.cf-dashboard-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #0073aa 0%, #005a8e 100%);
    color: #fff;
}
.cf-dashboard-user .cf-avatar { border-radius: 50%; flex-shrink: 0; }
.cf-dashboard-user-info { min-width: 0; }
.cf-dashboard-user-info strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-user-badge, .cf-credit-count { font-size: 11px; opacity: .85; }

.cf-dashboard-nav { padding: 8px 0; }
.cf-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background .15s;
    position: relative;
}
.cf-nav-item:hover { background: #f5f6f7; color: #0073aa; }
.cf-nav-item.is-active { background: #e8f0fe; color: #0073aa; font-weight: 600; }
.cf-nav-icon { font-size: 16px; flex-shrink: 0; }
.cf-unread-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 6px;
    margin-left: auto;
}

.cf-dashboard-actions { padding: 12px 16px; border-top: 1px solid #e4e6ea; }
.cf-dashboard-actions .button { width: 100%; text-align: center; }

.cf-dashboard-main {
    flex: 1;
    min-width: 0;
}

.cf-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.cf-dashboard-item {
	background: #fff;
	border: 1px solid #e4e6ea;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	transition: transform .16s ease, box-shadow .16s ease;
}

.cf-dashboard-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.cf-dashboard-item .cf-card-image {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #f4f6f8;
	overflow: hidden;
}

.cf-dashboard-item .cf-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cf-card-overlay-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}

.cf-badge-reserved,
.cf-badge-status,
.cf-badge-price {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	backdrop-filter: blur(2px);
}

.cf-badge-reserved {
	background: rgba(255, 160, 0, 0.92);
	color: #2b1b00;
}

.cf-badge-status {
	margin-left: auto;
	color: #fff;
}

.cf-badge-publish { background: rgba(46, 125, 50, 0.92); }
.cf-badge-draft,
.cf-badge-pending { background: rgba(117, 117, 117, 0.92); }
.cf-badge-private { background: rgba(198, 40, 40, 0.92); }

.cf-badge-price {
	position: absolute;
	right: 10px;
	bottom: 10px;
	background: rgba(15, 23, 42, 0.9);
	color: #fff;
}

.cf-dashboard-item .cf-card-body {
	padding: 12px 12px 6px;
}

.cf-dashboard-item .cf-card-body h3 {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.3;
}

.cf-dashboard-duration {
	margin: 0;
	font-size: 13px;
	color: #5c6470;
}

.cf-dashboard-expired {
	margin: 8px 0 0;
	color: #c62828;
	font-weight: 700;
	font-size: 13px;
}

.cf-dashboard-item .cf-card-actions {
	padding: 10px 12px 12px;
	border-top: 1px solid #eef0f3;
}

.cf-dashboard-item .cf-card-actions .cf-btn {
	flex: 1;
	min-width: 0;
	text-align: center;
}

.cf-dashboard-tab-header { margin-bottom: 16px; }
.cf-dashboard-tab-header h2 { margin: 0; font-size: 20px; }

/* Empty State */
.cf-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #888;
}
.cf-empty-state span { font-size: 48px; display: block; margin-bottom: 12px; }
.cf-empty-state p { font-size: 16px; margin-bottom: 16px; }

/* ============================================================
   NACHRICHTEN / INBOX
   ============================================================ */
.cf-messages-layout {
    display: flex;
    gap: 0;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    overflow: hidden;
    min-height: 520px;
    background: #fff;
}

.cf-inbox-list {
    width: 300px;
    flex-shrink: 0;
    border-right: 1px solid #e4e6ea;
    overflow-y: auto;
}

.cf-inbox-header {
    padding: 16px;
    border-bottom: 1px solid #e4e6ea;
    background: #fafbfc;
}
.cf-inbox-header h3 { margin: 0; font-size: 16px; }

.cf-inbox-item {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f1f3;
    cursor: pointer;
    transition: background .15s;
}
.cf-inbox-item:hover, .cf-inbox-item.is-open { background: #e8f0fe; }
.cf-inbox-item.has-unread { background: #fff9e6; }
.cf-inbox-item.has-unread:hover { background: #e8f0fe; }

.cf-inbox-avatar { position: relative; flex-shrink: 0; }
.cf-inbox-avatar img { border-radius: 50%; }
.cf-unread-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-inbox-content { min-width: 0; flex: 1; }
.cf-inbox-meta { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-bottom: 2px; }
.cf-inbox-meta strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-inbox-meta time { font-size: 11px; color: #888; flex-shrink: 0; }
.cf-inbox-ad-ref { font-size: 11px; color: #0073aa; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-inbox-preview { font-size: 13px; color: #666; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Konversation */
.cf-conversation-view { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cf-conversation-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #aaa;
    font-size: 15px;
    gap: 8px;
}
.cf-conversation-placeholder span { font-size: 40px; }

.cf-conversation-inner { display: flex; flex-direction: column; height: 100%; }
.cf-conversation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e4e6ea;
    background: #fafbfc;
}
.cf-back-btn { background: none; border: none; cursor: pointer; padding: 4px 8px; color: #0073aa; font-size: 14px; }
.cf-conv-user { display: flex; align-items: center; gap: 10px; }
.cf-conv-avatar { border-radius: 50%; width: 36px; height: 36px; }
.cf-conv-name { font-size: 15px; font-weight: 600; display: block; }
.cf-conv-ad-link { font-size: 12px; color: #0073aa; }

.cf-messages-thread {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9fafb;
}

.cf-msg { display: flex; gap: 8px; max-width: 85%; }
.cf-msg-in { align-self: flex-start; }
.cf-msg-out { align-self: flex-end; flex-direction: row-reverse; }
.cf-msg-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; align-self: flex-end; }
.cf-msg-bubble { background: #fff; border: 1px solid #e4e6ea; border-radius: 12px; padding: 10px 14px; }
.cf-msg-out .cf-msg-bubble { background: #0073aa; color: #fff; border-color: #005a8e; }
.cf-msg-text { font-size: 14px; line-height: 1.5; }
.cf-msg-time { font-size: 11px; color: #aaa; display: block; margin-top: 4px; }
.cf-msg-out .cf-msg-time { color: rgba(255,255,255,.7); text-align: right; }
.cf-empty-thread { text-align: center; color: #aaa; font-size: 14px; padding: 32px; }

.cf-reply-box {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e4e6ea;
    background: #fff;
}
.cf-reply-box textarea {
    flex: 1;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
}
.cf-reply-box .cf-btn-primary { align-self: flex-end; }

/* ============================================================
   KONTAKTFORMULAR (MODERN)
   ============================================================ */
.cf-contact-section {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}
.cf-contact-card { padding: 24px; }
.cf-contact-title { margin: 0 0 18px; font-size: 18px; }

.cf-form-row { margin-bottom: 14px; }
.cf-form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.cf-form-row input[type="text"],
.cf-form-row input[type="email"],
.cf-form-row textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s;
}
.cf-form-row input:focus,
.cf-form-row textarea:focus { border-color: #0073aa; outline: none; box-shadow: 0 0 0 2px rgba(0,115,170,.15); }

.cf-captcha-row .cf-captcha-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cf-captcha-img { border: 1px solid #ddd; border-radius: 4px; }
.cf-captcha-refresh { background: none; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; padding: 4px 8px; font-size: 16px; }

.cf-form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.cf-contact-logged-in {}
.cf-contact-user-hint { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; color: #555; }
.cf-contact-user-hint img { border-radius: 50%; }

.cf-form-feedback {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 12px;
}
.cf-notice-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.cf-notice-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

.cf-contact-toggle { margin-top: 12px; }

.cf-loading { text-align: center; padding: 40px; color: #888; font-size: 15px; }

/* Button-Varianten */
.cf-btn-danger { background: #e74c3c !important; border-color: #c0392b !important; color: #fff !important; }
.cf-btn-danger:hover { background: #c0392b !important; }

/* Credit Status Card */
.cf-credit-status-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.cf-credit-status-card.cf-credit-low {
    background: linear-gradient(135deg, #f97506 0%, #e63946 100%);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.cf-credit-status-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.cf-credit-icon {
    font-size: 24px;
    margin-right: 12px;
}

.cf-credit-title {
    font-size: 16px;
    font-weight: 600;
}

.cf-credit-status-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cf-credit-amount {
    flex: 1;
}

.cf-credit-amount strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cf-credit-warning {
    display: block;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
    animation: pulse 2s infinite;
}

.cf-credit-info {
    display: block;
    font-size: 13px;
    opacity: 0.8;
}

.cf-featured-package {
    flex-shrink: 0;
}

.cf-btn-featured {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #667eea !important;
    border: none !important;
    font-weight: 600;
    padding: 10px 16px !important;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none !important;
}

.cf-btn-featured:hover {
    background: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.cf-credit-status-card.cf-credit-low .cf-btn-featured {
    color: #e63946 !important;
}

.cf-btn-featured.cf-btn-alert {
    animation: pulse-button 1s infinite;
}

/* Checkout Banner */
.cf-marketpress-checkout-banner {
    background: #f8f9fa;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.cf-banner-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cf-banner-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.cf-banner-text h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.cf-banner-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.cf-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.cf-package-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.cf-package-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.cf-package-header {
    background: #f5f7ff;
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    flex-grow: 1;
}

.cf-package-header strong {
    font-size: 14px;
    color: #333;
}

.cf-package-body {
    padding: 12px;
    text-align: center;
    flex-grow: 1;
}

.cf-package-credit-count {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.cf-package-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cf-package-footer {
    padding: 12px;
    border-top: 1px solid #e0e0e0;
}

.cf-btn-package {
    background: #667eea !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
    padding: 8px 12px !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: block;
    text-decoration: none !important;
    width: 100%;
    transition: background 0.3s ease;
}

.cf-btn-package:hover {
    background: #764ba2 !important;
}

.cf-onetime-section {
    text-align: center;
}

.cf-btn-onetime {
    background: #764ba2 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
    padding: 12px 24px !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.3s ease;
}

.cf-btn-onetime:hover {
    background: #5a3885 !important;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.95; }
    50% { opacity: 0.7; }
}

@keyframes pulse-button {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive */
@media (max-width: 768px) {
    .cf-dashboard { flex-direction: column; }
    .cf-dashboard-sidebar { width: 100%; position: static; }
    .cf-messages-layout { flex-direction: column; }
    .cf-inbox-list { width: 100%; border-right: none; border-bottom: 1px solid #e4e6ea; max-height: 300px; }
    
    .cf-credit-status-body {
        flex-direction: column;
    }
    
    .cf-packages-grid {
        grid-template-columns: 1fr;
    }
}
