.yith-wcaf-dashboard .yith-wcaf-dashboard-summary .affiliate-stats .stat-box .stat-item .stat-value,
.yith-wcaf-dashboard .yith-wcaf-dashboard-summary .affiliate-stats .stat-box .stat-item .stat-label {
	float: none;
	display: block;
	width: 100%;
}

#yith_wcaf_dashboard_payments_table,
#yith_wcaf_dashboard_clicks_table,
#yith_wcaf_dashboard_commissions_table {
	border: none;
}

.yith-wcaf-dashboard .yith-wcaf-table-top-bar .pull-right {
	width: 100%;
    margin: 15px 0px;
    text-align: right;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.yith-wcaf-link-generator .link-generator-box.double-column {
	grid-template-columns: none;
}

.link-generator input#original_url,
.link-generator input#generated_url,
.affiliate-info input#referral_url {
	display: block;
	float: left;
	width: 100%;
	position: relative;
	padding-right: 0;
}

.link-generator .copy-trigger,
.affiliate-info .copy-trigger {
	display: block !important;
	float: left;
	position: relative !important;
	width: 100%;
	top: unset !important;
	left: unset;
	right: unset !important;
	margin-top: 15px;
}

.yith-wcaf-link-generator .link-generator-box.double-column .link-generator {
	border: none;
	background-color: transparent;
	padding-top: 0;
}

.affiliate-info input,
.link-generator input {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	color: var(--bs-body-color);
	background-color: var(--bs-form-control-bg);
	border: var(--bs-border-width) solid var(--bs-border-color);
	appearance: none;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	--bs-form-control-bg: #fff;
	--bs-border-color: #fff;
	--bs-border-color-focus: #24422b;
	--bs-form-control-bg-focus: #fff;
	border-width: 2px;
	border-radius: 1.25rem;
	line-height: 1;
	background-clip: border-box;
}

.yith-wcaf-dashboard .yith-wcaf-table-top-bar .select2,
.yith-wcaf-dashboard .yith-wcaf-table-top-bar input,
.yith-wcaf-dashboard .yith-wcaf-table-top-bar select {
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	color: var(--bs-body-color);
	background-color: var(--bs-form-control-bg);
	border: var(--bs-border-width) solid var(--bs-border-color);
	appearance: none;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	--bs-form-control-bg: #fff;
	--bs-border-color: #fff;
	--bs-border-color-focus: #24422b;
	--bs-form-control-bg-focus: #fff;
	border-width: 2px;
	border-radius: 1.25rem;
	line-height: 1;
	background-clip: border-box;
	line-height: 1.5;
}

.yith-wcaf-dashboard-settings,
li.yith-wcaf-dashboard-navigation-item.settings,
.woocommerce-account .ywf_fund_av {
	display: none !important;
}

.set-referrer-wrapper .referrer-form {
	border-radius: var(--default-border-radius) !important;
    background-color: var(--bs-light);
    border: none !important;
	padding: 20px;
    margin: 2em 0;
    text-align: left;
}

.set-referrer-wrapper .referrer-form .form-row-first,
.set-referrer-wrapper .referrer-form .form-row-last {
	width: 100%;
	float: left;
	text-align: left;
}

.set-referrer-wrapper .referrer-form input {
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	color: var(--bs-body-color);
	background-color: var(--bs-form-control-bg);
	border: var(--bs-border-width) solid var(--bs-border-color);
	appearance: none;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	--bs-form-control-bg: #fff;
	--bs-border-color: #fff;
	--bs-border-color-focus: #24422b;
	--bs-form-control-bg-focus: #fff;
	border-width: 2px;
	border-radius: 1.25rem;
	line-height: 1;
	background-clip: border-box;
	line-height: 1.5;
}

.yith-wcaf-table-top-bar input[type="submit"],
.set-referrer-wrapper .referrer-form input[type="submit"] {
    padding: 0.8rem 2rem 0.65rem 2rem;
    border-radius: 2rem;
    border-width: 2px;
    font-family: "Franklin ITC W01 Medium";
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-block;

    /* Equivalent to Bootstrap button styles */
    color: #fff; /* Text color */
    background-color: #24422b; /* Button background color */
    border-color: #24422b; /* Border color */

    /* Hover state */
    &:hover {
        color: #fff; /* Text color on hover */
        background-color: #1f3825; /* Background color on hover */
        border-color: #1d3522; /* Border color on hover */
    }

    /* Focus state */
    &:focus {
        box-shadow: 0 0 0 0.2rem rgba(69, 94, 75, 0.5); /* Focus shadow with RGB */
    }

    /* Active state */
    &:active {
        color: #fff; /* Active text color */
        background-color: #1d3522; /* Active background color */
        border-color: #1b3220; /* Active border color */
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Active shadow */
    }

    /* Disabled state */
    &:disabled {
        color: #fff; /* Disabled text color */
        background-color: #24422b; /* Disabled background color */
        border-color: #24422b; /* Disabled border color */
    }

    /* Default box shadow */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); /* Box shadow */
    display: inline-block;
}

.yith-wcaf-table-top-bar input[type="submit"] {
	padding: 0.4rem 2rem 0.4rem 2rem;
}

.yith-wcaf-dashboard .yith-wcaf-table-top-bar {
	margin: 0;
}

.yith-wcaf-dashboard .dashboard-title {
	margin-bottom: 0;
}

.yith-wcaf-notice-message {
	margin: 20px 0;
}

.yith-wcaf-link-generator .link-generator-box {
	margin-top: 20px;
}

.woocommerce-cart .woocommerce-message[data-partial_funds_message="1"] {
	display: none;
}

.woocommerce-form__label-for-checkbox,
.yith_wcmc_subscribe_me_label {
	float: right;
    width: 100%;
    position: relative;
    display: block;
    text-align: right;
    margin-bottom: 10px;

}

.woocommerce-checkout-review-order-table tr.order-discount {
	background: #fff;
    color: #a00;
}

.woocommerce-checkout-review-order-table tr.order-discount a {
	color: #a00;
}

.woocommerce-message.coderra-funds-added {
	position: fixed;
    z-index: 9999999999999;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: inherit;
    background-color: #efefef;
    font-family: "Franklin ITC W01 Medium";
    color: #a00;
    margin-bottom: 10px;
}

#payment .form-row.place-order {
	display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

a#ywf_partial_payment {
	border-radius: 2rem;
    border-width: 2px;
    line-height: 1;
    border: 2px solid #aaa;
}

@media screen and (max-width: 768px) {

	#yith_wcaf_dashboard_clicks_table tr td,
	#yith_wcaf_dashboard_commissions_table tr td {
		border: none;
		padding: 10px;
	}

	#yith_wcaf_dashboard_clicks_table tr td:before,
	#yith_wcaf_dashboard_commissions_table tr td:before {
		font-family: "Franklin ITC W01 Medium";
	}

	#yith_wcaf_dashboard_clicks_table tr,
	#yith_wcaf_dashboard_commissions_table tr {
		border: 1px solid #ccc;
		border-radius: 10px;
		margin: 10px 0;
	}
}