.share-widget {
	color: black;
}

.widget-here {
	color: black;
}

.style-container {
	display: flex;
	width: 100%;
}

.style-container-shortcode {
	display: flex;
	flex-direction: column;
	z-index: 100000 !important;
}

.appearance-preview {
	margin-left: 0px;
	/* margin-top: 30px; */
	/* margin-bottom: 30px; */
	width: 100%;
	/* max-width: 500px; */
	height: auto;
	background: transparent;
	/* z-index: 100000 !important; */
}

.appearance-preview-card {
	display: flex;
	flex-direction: column;
	width: 80%;
	height: 200px;
	margin: auto;
	margin-top: 50px;
	border-radius: 10px;
	/* background: rgb(248, 245, 245); */
	background: #ffffff !important;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 100000 !important;
}

.appearance-preview-card-shortcode {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 400px;
	height: 250px;
	/* margin: auto;
    margin-top: 50px; */
	border-radius: 10px;
	/* background: rgb(248, 245, 245); */
	background: #ffffff !important;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.apreview-amount-raised {
	display: flex;
	margin-top: 15px;
	margin-left: 30px;
	height: 40px;
	align-items: baseline !important;
}

.apreview-collected-amount-div {
	margin-right: 10px;
	/* font-family: "Roboto", sans-serif; */
	font-size: 32px;
	color: black;
	font-weight: 700;
}

.apreview-target-amount-div {
	margin-top: 5px;
	/* font-family: "Roboto", sans-serif; */
	font-size: 22px;
	color: rgb(175, 174, 174);
	font-weight: 500;
}

.apreview-full-bar {
	margin-top: 10px;
	margin-left: 30px;
	width: 85%;
	height: 10px;
	background-color: lightgray;
	border-radius: 5px;
}

.apreview-raised-bar {
	width: 30%;
	height: 10px;
	border-radius: 5px;
	background-color: rgb(49, 209, 76);
}

.apreview-progress-info {
	margin-top: 5px;
	margin-left: 30px;
	width: 85%;
	display: flex;
	justify-content: space-between;
}

/* .apreview-achived-percent {
	float: left;
} */

.apreview-days-left {
	float: right;
}

.apreview-donate-btn-div {
	display: block;
}

.apreview-donate-btn {
	margin-top: 10px;
	margin-left: 30px;
	width: 85%;
	height: 50px;
	color: white;
	/* font-family: "Roboto", sans-serif; */
	font-size: 14px;
	background-color: rgb(40, 40, 214);
	/* background-image: linear-gradient(to right, rgb(41, 7, 167), rgb(83, 72, 236)); */
	border-radius: 25px;
	border: transparent !important;
}
.apreview-donate-btn:disabled {
	background-color: rgb(170, 170, 170) !important;
}

/*Till Here */
.preview {
	position: relative;
	margin: 30px;
	width: min(
		100%,
		85vw
	); /* Takes the smaller value between 100% of the parent and 90% of the viewport width */
	max-width: 400px;
	min-height: 640px;
	height: auto !important;
	z-index: 100000;
	box-sizing: border-box;
}

/* .preview-style {
	margin-top: 30px;
	margin-bottom: 30px;
	width: 500px;
	height: 620px;
	/* background: white; */

.preview-card {
	display: flex;
	flex-direction: column;
	min-width: 100%;
	min-height: 590px;
	height: auto !important;
	/* margin: auto !important; */
	margin-top: 25px;
	/* background: rgb(248, 245, 245); */
	background: #ffffff !important;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 100000 !important;
}

.preview-header {
	width: 100%;
	height: 70px;
	display: flex;
	justify-content: space-between;
	background-color: rgb(40, 40, 214);
	/* background-image: linear-gradient(to right, rgb(41, 7, 167), rgb(226, 225, 235)); */
}

.preview-header-label-div {
	margin-top: 25px;
	margin-left: 20px;
	color: white;
	font-size: 14px;
	font-weight: 600;
}

/* .preview-header-close-btn {
	margin-top: 20px;
	margin-right: 20px;
}

.preview-header-close-btn button {
	border-radius: 50px;
	cursor: pointer;
} */

.preview-period-intervals {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	text-align: center;
	flex-wrap: wrap;
	align-items: baseline;
	height: 65px;
}

.preview-intervals-onetime {
	display: flex;
	flex-grow: 1;
	/* background-color: #49708f; */
	height: 40px !important;
	text-align: center;
	justify-content: center;
}

.preview-intervals-monthly {
	display: flex;
	flex-grow: 1;
	/* background-color: #092236; */
	height: 40px !important;
	text-align: center;
	justify-content: center;
}

.preview-intervals-yearly {
	display: flex;
	flex-grow: 1;
	/* background-color: #e3e9ee; */
	height: 40px !important;
	text-align: center;
	justify-content: center;
}

.preview-intervals-divider {
	display: flex;
	width: 100%;
	height: 2px;
	background-color: #e8e8e8;
	justify-content: space-evenly;
}

.preview-intervals-onetime-bar {
	display: flex;
	flex-grow: 1;
	/* margin-left: 30px; */
	height: 2px;
	background-color: #e8e8e8;
}

.preview-intervals-monthly-bar {
	display: flex;
	flex-grow: 1;
	margin-left: 30px;
	height: 2px;
	background-color: #e8e8e8;
}

.preview-intervals-yearly-bar {
	display: flex;
	flex-grow: 1;
	margin-left: 10px;
	height: 2px;
	background-color: #e8e8e8;
}

.preview-select-amount {
	display: flex;
	flex-direction: column;
	width: 90%;
	margin: auto;
	margin-top: 0px;
}

.preview-select-amount-s {
	display: flex;
	flex-direction: column;
	width: 90%;
	height: 80%;
	margin: auto !important;
	margin-top: 0px;
}

.preview-select-amount-options {
	display: flex;
	/* justify-content: space-between; */
	/* text-align: center; */
	/* height: 50px; */
	height: auto;
	gap: 16px;
	flex-wrap: wrap;
}

.amount-boundary-box-1,
.amount-boundary-box-2,
.amount-boundary-box-3,
.amount-boundary-box-4,
.amount-boundary-box-other {
	display: flex !important;
	width: 50px !important;
	height: 25px !important;
	border: 1px solid !important;
	border-color: gray !important;
	border-radius: 5px;
	justify-content: center !important;
	padding-bottom: 15px !important;
}
.amount-boundary-box-1-s,
.amount-boundary-box-2-s,
.amount-boundary-box-3-s,
.amount-boundary-box-4-s,
.amount-boundary-box-other-s {
	display: flex !important;
	height: 40px !important;
	border: 1px solid !important;
	border-color: gray !important;
	border-radius: 5px;
	justify-content: center !important;
	align-items: center !important;
	padding: 6px !important;
}

.preview-user-info-div {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 15px;
}

.preview-user-info-firstname,
.preview-user-info-lastname,
.preview-user-info-email {
	display: flex;
	border: 1px solid;
	width: 95%;
	height: 20px;
	border-color: gray;
	margin-bottom: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
	border-radius: 5px;
	text-align: center;
}

.checkbox-if-anonymous {
	margin: auto;
	margin-top: 0px;
	vertical-align: middle;
}

/* .preview-user-decalration-term {
	width: 100%;
	height: 10px;
} */

.preview-donate-btn {
	margin-top: 10px;
	width: 100%;
	height: 50px;
	color: white;
	font-size: 14px;
	background-color: rgb(40, 40, 177);
	border-radius: 25px;
	border: transparent !important;
	position: relative; /* Add relative positioning */
	overflow: hidden; /* Hide overflow for loader */
}

.preview-donate-btn span {
	opacity: 1; /* Show text */
}

.preview-donate-btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border: 2px solid transparent;
	border-top-color: white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	opacity: 0; /* Initially hidden */
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.preview-donate-btn.loading::after {
	opacity: 1; /* Show loader */
}

.preview-donate-btn.loading span {
	opacity: 0; /* Hide text */
}

button.preview-donate-btn:hover {
	opacity: 0.9;
}
/* tfoot tr:last-child td {
    border-bottom: 0;
  } */

/* Donate window Styles  */

.donate-window-modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 50000;
	/* Sit on top */
	padding-top: 0px;
	/* Location of the box */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
	z-index: 1000001 !important;
}

/* Donate window Content */
.donate-window-content {
	/* background-color: #fefefe; */
	margin: auto !important;
	padding: 10px;
	/* border: 1px solid #888; */
	min-width: 400px;
	margin-bottom: 20%;
	z-index: 1000000 !important;
}

@media (max-width: 600px) {
	.donate-window-content {
		padding: 0px !important;
	}
}

/* The Close Button */
.close-wp {
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 33px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: white;
}

.close-wp:hover,
.close-wp:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

/* ul {
      list-style: none;
      padding-left: 0;
      width: 100%;
  }
  
  li {
      display: inline-block;
      margin-right: 15px;
  } */

.preview-intervals-onetime input,
.preview-intervals-monthly input,
.preview-intervals-yearly input,
.amount-boundary-box-1-s input,
.amount-boundary-box-2-s input,
.amount-boundary-box-3-s input,
.amount-boundary-box-4-s input,
.amount-boundary-box-other-s input {
	visibility: hidden !important;
}

.preview-intervals-onetime label,
.preview-intervals-monthly label,
.preview-intervals-yearly label,
.amount-boundary-box-1-s label,
.amount-boundary-box-2-s label,
.amount-boundary-box-3-s label,
.amount-boundary-box-4-s label,
.amount-boundary-box-other-s label {
	cursor: pointer !important;
}

.other-amount-div {
	display: none;
	border: 1px solid;
	width: 100%;
	max-width: 358px;
	height: 50px;
	/* border-color: gray; */
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	border-radius: 0px;
	border: 1px solid !important;
	justify-content: center; /* Horizontally center */
	align-items: baseline; /* Vertically center */
	--darkreader-inline-bgcolor: #181a1b;
	--darkreader-inline-border-top: currentcolor;
	--darkreader-inline-border-right: currentcolor;
	--darkreader-inline-border-bottom: currentcolor;
	--darkreader-inline-border-left: currentcolor;
}

/* Chrome, Safari, Edge, Opera */
other-amount-input-number input::-webkit-outer-spin-button,
other-amount-input-number input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
other-amount-input-number input[type='number'] {
	-moz-appearance: textfield;
}

.other-amount-input-number {
	background-color: white;
	width: 100% !important;
	height: 100% !important;
	font-family: '';
	font-size: 14px !important;
	border: transparent !important;
	text-align: end;
	min-height: auto !important;
	padding-right: 10px !important;
	margin-bottom: 0px !important;
	margin-right: 10px !important;
}

.preview-user-info-firstname-s,
.preview-user-info-lastname-s,
.preview-user-info-email-s {
	display: flex;
	/* border: 1px solid; */
	width: 100%;
	height: 50px;
	/* border-color: gray; */
	margin-top: 5px;
	margin-bottom: 5px;
	border-radius: 5px;
	text-align: center;
}

.open-amount-div {
	display: flex;
	/* border: 1px solid; */
	width: 100%;
	height: 50px;
	max-width: 358px;
	/* border-color: gray; */
	margin-top: 5px;
	margin-bottom: 5px;
	border-radius: 5px;
	text-align: center;
}

/* .preview-intervals-onetime label {
      cursor: pointer;
  }
  
  .preview-intervals-monthly input {
      visibility: hidden;
  }
  
  .preview-intervals-monthly label {
      cursor: pointer;
  }
  
  .preview-intervals-yearly input {
      visibility: hidden;
  }
  
  .preview-intervals-yearly label {
      cursor: pointer;
  }
  
  .amount-boundary-box-1-s input {
      visibility: hidden;
  }
  
  .amount-boundary-box-1-s label {
      cursor: pointer;
  } */

.amount-boundary-box-1-s input:checked + label,
.amount-boundary-box-2-s input:checked + label,
.amount-boundary-box-3-s input:checked + label,
.amount-boundary-box-4-s input:checked + label,
.amount-boundary-box-other-s input:checked + label {
	color: white !important;
}

.amount-boundary-box-1-s input:not(:checked) + label,
.amount-boundary-box-2-s input:not(:checked) + label,
.amount-boundary-box-3-s input:not(:checked) + label,
.amount-boundary-box-4-s input:not(:checked) + label,
.amount-boundary-box-other-s input:not(:checked) + label {
	color: black !important;
}

/* input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  input[type="date"]::-webkit-inner-spin-button,
  input[type="date"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  } */

.preview-user-info-firstname-s input,
.preview-user-info-lastname-s input,
.preview-user-info-email-s input,
.other-amount-number input {
	border-radius: 2px !important;
}

.preview-user-info-firstname-s input[type='text']:focus,
.preview-user-info-firstname-s input[type='text']:focus,
.preview-user-info-email-s input[type='text']:focus,
.other-amount-input-number input[type='number']:focus {
	outline: transparent !important; /* oranges! yey */
}

.preview-intervals-onetime input[type='radio'],
.preview-intervals-monthly input[type='radio'],
.preview-intervals-yearly input[type='radio'] {
	width: 0% !important;
}
.checkbox-if-anonymous-s {
	height: 20px;
	display: flex;
	flex-direction: row;
	text-align: left;
	align-items: center !important;
	margin-top: 10px !important;
	justify-content: flex-start;
}

.checkbox-if-anonymous-s-checkbox input[type='checkbox'] {
	/* -webkit-appearance: checkbox !important; */
}
.custom-checkbox {
	display: none; /* Hide the default checkbox */
}

.custom-checkbox-label {
	margin-left: 5px;
	width: 20px;
	height: 20px;
	display: inline-block; /* Display inline-block to sit beside checkbox */
	position: relative;
	background-color: white; /* Default background color */
	border-radius: 3px;
	border: 1px solid #000; /* Dark black border */
}

.custom-checkbox:checked + .custom-checkbox-label {
	background-color: green; /* Change background color when checked */
}

/* Custom tick mark */
.custom-checkbox-label::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	display: none; /* Initially hidden */
}

.custom-checkbox:checked + .custom-checkbox-label::after {
	display: block; /* Show the tick mark when checkbox is checked */
}

.default-checkbox-visually-hidden {
	position: absolute;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

.amount-boundary-box-1-s input[type='radio'],
.amount-boundary-box-2-s input[type='radio'],
.amount-boundary-box-3-s input[type='radio'],
.amount-boundary-box-4-s input[type='radio'],
.amount-boundary-box-other-s input[type='radio'] {
	-webkit-appearance: radio !important;
}

/* For tipbox styles */
.select-amount-div-boxes {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-around !important;
}

/*the container must be positioned relative:*/
.whydonate--custom-select {
	position: relative !important;
	font-family: Arial !important;
	margin-left: 10px !important;
}

.whydonate--custom-select select {
	display: none !important; /*hide original SELECT element:*/
}

.whydonate--select-selected {
	background-color: white !important;
}

/*style the arrow inside the select element:*/
.whydonate--select-selected:after {
	position: absolute !important;
	content: '';
	top: 14px !important;
	right: 10px !important;
	width: 0 !important;
	height: 0 !important;
	border: 6px solid transparent !important;
	border-color: black transparent transparent transparent !important;
}

/*point the arrow upwards when the select box is open (active):*/
.whydonate--select-selected.select-arrow-active:after {
	border-color: transparent transparent black transparent !important;
	top: 7px !important;
}

/*style the items (options), including the selected item:*/
.whydonate--select-items div,
.whydonate--select-selected {
	border-radius: 3px !important;
	color: black !important;
	padding: 8px 16px !important;
	border: 1px solid transparent !important;
	border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent !important;
	cursor: pointer !important;
	user-select: none !important;
}

.whydonate-currecy-selected {
	background-color: white !important;
}

.whydonate-currecy-selected {
	max-width: 130px !important;
}

/*style the arrow inside the select element:*/
.whydonate-currecy-selected:after {
	position: absolute !important;
	content: '';
	top: 14px !important;
	right: 10px !important;
	width: 0 !important;
	height: 0 !important;
	border: 6px solid transparent !important;
	border-color: black transparent transparent transparent !important;
}

/*point the arrow upwards when the select box is open (active):*/
.whydonate-currecy-selected.select-arrow-active:after {
	border-color: transparent transparent black transparent !important;
	top: 7px !important;
}

/*style the items (options), including the selected item:*/
.whydonate-currecy-items div,
.whydonate-currecy-selected {
	border-radius: 3px !important;
	color: black !important;
	padding: 8px 16px !important;
	border: 1px solid transparent !important;
	border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent !important;
	cursor: pointer !important;
	user-select: none !important;
	border: 1px solid #000 !important; /* 1px solid black border */
}

.info-img-container {
	position: relative;
	display: inline-block;
	vertical-align: middle; /* Align the image vertically with the text */
	margin-left: 5px; /* Add some space between the image and text */
}

.info-img-container img {
	max-width: 14px; /* Set the maximum width for the image */
	height: auto; /* Maintain the aspect ratio */
	display: block; /* Remove extra space beneath the image */
}

.info-img-hover-box {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(32, 27, 27, 0.8);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	padding: 10px;
	z-index: 1;
	font-size: smaller;
	width: 205px;
	text-align: justify;
	border: 1px solid #ccc;
	color: white;
}

.info-img-container:hover .info-img-hover-box {
	display: block;
}

/*style items (options):*/
.whydonate--select-items {
	position: absolute !important;
	background-color: white !important;
	/* top: 100%; */
	left: 0 !important;
	right: 0 !important;
	z-index: 99 !important;
}

/*hide the items when the select box is closed:*/
.select-hide {
	display: none;
}

.whydonate--select-items div:hover,
.whydonate--same-as-selected {
	background-color: rgba(0, 0, 0, 0.1) !important;
}

/* RESET CSS */
.donate-window-content ::before,
.donate-window-content ::before {
	display: none !important;
}
.donate-window-content input + label,
.donate-window-content input {
	padding: 0 !important;
}
.donate-window-content input[type='checkbox'] {
	display: none !important;
}

.disabled-overlay {
	/* width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.5); */
	pointer-events: none; /* Allows clicks to go through the overlay to the underlying elements */
}

input:focus {
	outline: none !important;
}

.tip-box-span-curr-symbol {
	padding-left: 4px !important;
	display: inline-block !important;
	vertical-align: middle !important; /* Aligns the span with the input field */
}

.tip-box-span {
	border-radius: 0px !important;
	border: 1px solid !important;
	height: 36px !important;
	padding-right: 4px !important;
	background-color: white !important;
	display: inline-block !important;
	vertical-align: middle !important; /* Keeps the input aligned with the span */
	white-space: nowrap !important; /* Prevents wrapping */
	width: 136px !important;
}

.tip-box-span input {
	border: 0 !important;
	height: 32px !important; /* Sets the input height to 32px */
	vertical-align: middle !important; /* Aligns the input with the span */
	display: inline-block !important;
	width: calc(
		100% - 20px
	) !important; /* Adjusts the width to fit within the parent span */
}

/* Specifically target input focus state */
.tip-box-span input:focus {
	outline: none !important; /* Removes the outline on focus */
	box-shadow: none !important; /* Removes any box-shadow on focus */
}
