	/* CONTACT FORM STYLES */
		.contact-form-container {
		  max-height: 0;
		  opacity: 0;
		  overflow: hidden;
		  transition: max-height 0.4s ease, opacity 0.4s ease;
		  margin: 0;
		  border-radius: 10px;
		}
		.contact-form-container.open {
		  max-height: 3000px; 
		  opacity: 1;
		  margin-bottom: 25px;
		}

		.contact-form {
		  border: 1.5px solid #000;
		  border-radius: 10px;
		  padding: 20px;
		  font: inherit;
		  max-width: 470px;
		  margin: 0 auto;
		  background: rgb(255 255 255 / 24%);
		  backdrop-filter: blur(5px);	
		}

		.contact-form .form-group {
		  margin-bottom: 15px;
		  text-align: right; /* RTL alignment */
		}

		.contact-form .form-group label {
		  display: block;
		  margin-bottom: 5px;
		  font-size: 1rem;
		}

		.contact-form .form-group input,
		.contact-form .form-group select,
		.contact-form .form-group textarea {
		width: 100%;
		padding: 8px;
		color: #333;
		border: 1px solid #ddd;
		border-radius: 8px;
		box-sizing: border-box;
		font: inherit;
		transition: border-color 0.2sease, box-shadow 0.2sease;
		outline: none;
		direction: rtl;
		font-size: 0.9rem;
		}

		.contact-form .form-group input:focus,
		.contact-form .form-group select:focus,
		.contact-form .form-group textarea:focus {
		  border-color: #797979;
		  box-shadow: 0 0 0 3px #18181805;

		}

		.contact-form .submit-button {
		  background: #000000;
		  color: #fff;
		  padding: 8px 20px;
		  font-size: 1rem;
		  border: none;
		  border-radius: 30px;
		  cursor: pointer;
		  transition: all 0.3s ease;
		  width: 100%;
		  text-align: center;
		  font: inherit;
		}

		.contact-form .submit-button:hover {
		  background: linear-gradient(135deg, #000000, #323232);
		  transform: translateY(-2px);
		  box-shadow: 0 4px 12px rgb(120 120 120 / 20%);
		}

		.contact-form .submit-button:active {
		  transform: scale(0.98);
		}
					
					
					.icon-container-left {
		  position: absolute;
		  top: 50%;
		  left: 20px; /* adjust as needed */
		  transform: translateY(-50%);
		  display: flex;
		  align-items: center;
		}

		.phone-group {
			display: flex;
			gap: 10px;
			align-items: center;
			position: relative;
		}

		.dropdown-container {
			position: relative;
			width: 120px; /* adjust to your preference */
			background-color: #fff;
			border: 1px solid #ccc;
			border-radius: 4px;
			cursor: pointer;
			color: #111;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 6px 10px;
			border-radius: 8px;
		}
		.dropdown-container i {
			margin-left: 5px;
		}

		@media (max-width: 600px) {
			.dropdown-container {
				width: 60%;
				box-sizing: border-box;

			}
		}


		.selected-flag img {
			width: 20px;
			height: auto;
			border-radius: 3px;
			vertical-align: middle;
			margin-right: 5px;
		}

		/* The hidden dropdown list that appears on click */
		.dropdown-list {
			position: absolute;
			top: 44px;
			left: 0;
			width: 100%;
			background: #fff;
			border: 1px solid #ccc;
			border-radius: 4px;
			z-index: 999;
			box-shadow: 0 5px 15px rgba(0,0,0,0.2);
		}
		.dropdown-list.hidden {
			display: none;
		}

		.search-box {
			padding: 8px;
			border-bottom: 1px solid #ccc;
		}
		.search-box input {
			width: 100%;
			padding: 8px;
			box-sizing: border-box;
			border: 1px solid #ccc;
			border-radius: 3px;
			font: inherit;
		}
		.search-box input:focus {
			outline: none;
			border-color: #666;
		}

		.dropdown-list ul {
			list-style: none;
			margin: 0;
			padding: 0;
			max-height: 200px; /* scroll if too long */
			overflow-y: auto;
		}
		.dropdown-list li {
			display: flex;
			align-items: center;
			gap: 8px;
			padding: 8px 10px;
			cursor: pointer;
			transition: background 0.2s;
			text-align: left; /* ensure text is left-aligned inside dropdown */
		}
		.dropdown-list li img {
			width: 20px;
			height: auto;
			border-radius: 3px;
		}
		.dropdown-list li:hover {
			background: #f0f0f0;
		}
		.dropdown-list li span {
			font-size: 0.9rem;
			color: #333;
		}


		[class^="my-file-upload-wrapper-"] {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			gap: 6px;
			margin-bottom: 12px;
		}

		[class^="my-file-input-"] {
			display: none;
		}

		[class^="my-file-btn-"] {
			display: inline-block;
			background: #000;
			color: #fff;
			border-radius: 30px;
			padding: 8px 35px;
			cursor: pointer;
			transition: background-color 0.3sease;
			font-size: 0.9rem;
		}

		[class^="my-file-btn-"]:hover {
			background-color: #444;
		}

		[class^="my-file-name-"] {
			font-size: 0.85rem;
			color: #333;
			max-width: 160px;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		[class^="my-file-hint-"] {
			font-size: 0.75rem;
			color: #666;
			margin-top: 2px;
		}

		[class^="inline-radio-group-"],
		[class^="inline-check-group-"] {
		  display: flex;
		  flex-direction: row;
		  gap: 8px;
		  margin-top: 6px;
		  direction: rtl;
		}

		[class^="inline-radio-option-"],
		[class^="inline-check-option-"] {
		  display: flex;
		}

		[class^="inline-radio-label-"],
		[class^="inline-check-label-"] {
		  display: inline-flex;
		  align-items: center;
		  font-size: 0.95rem;
		  color: #333;
		  gap: 6px;
		  cursor: pointer;
		}

		[class^="inline-radio-input-"],
		[class^="inline-check-input-"] {
		  accent-color: #0070c9;
		  width: 18px;
		  height: 18px;
		  margin: 0;
		  cursor: pointer;
		}






/* Container: RTL, row-reverse */

[class^="my-file-preview-box-"] {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  flex-wrap: wrap;          /* Allow wrapping on narrow screens */
  width: 100%;              /* Take full width of container */
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
  background: #fff;
  position: relative;
  direction: rtl;
  text-align: right;
  overflow: hidden;
}


/* Replace play icon with Font Awesome file icon */
.file-play-icon i {
  /* Instead of mask or background, we'll just rely on FA icons. */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.3rem;
  color: #8e8e93;
  margin-left: 8px; /* Spacing in row-reverse means margin-left is visually a gap on the right. */
}

/* File name text */
[class^="file-name-"] {
  display: inline-block;    /* ensure we're able to apply text-overflow correctly */
  white-space: nowrap;
  overflow: hidden;
  /* Use RTL direction, but left-align text so the ellipsis appears on the left side. */
  direction: rtl;
  text-align: left;
  text-overflow: ellipsis;
  max-width: 50%;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  margin-right: auto;
  margin-left: 8px;
  padding-right: 10px;
}


/* File size text */
[class^="file-size-"] {
  font-size: 0.8rem;
  color: #8e8e93;
  margin-right: 10px;
}

/* Larger 'X' button for mobile use, colored red */
button[class^="file-remove-btn-"] {
    width: 30px;
    height: 30px;
    background: #fff5f5;
    border: 1px solid #ffa9a4;
    border-radius: 30%;
    color: #ff3b30;
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2sease;
}

button[class^="file-remove-btn-"]:hover {
  background: #ffe6e4;
  color: #d91d0f;
}

/* Slightly more space for smaller screens */
@media (max-width: 600px) {
  [class^="file-name-"] {
    max-width: 60%;
	padding-right: 10px;
  }
}






.form-loading-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.6);
  z-index: 999999 !important;
  
}

.form-spinner {
  width: 40px;
  height: 40px;
  border: 6px solid #ccc;
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}

.submission-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.submission-modal.show {
  opacity: 1;
  visibility: visible;
}

.submission-modal-content {
  position: absolute; 
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  color: black !important;
}

.submission-modal.show .submission-modal-content {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}


.submission-modal-head {
    margin-top: 50px;
}


.grecaptcha-badge { visibility: hidden !important; }

.mysr-form-button {
  display: none !important;
}

.mysr-form,
.mysr-form * {
  font-family: inherit !important;
}


.quick-payment-totals {
  margin: 30px auto 30px auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  color: #383838;
  direction: rtl;
  padding: 15px;
  /* Add a border above the table */
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* Desktop Styles */
@media screen and (min-width: 768px) {
  .quick-payment-totals {
    width: 70%;
    max-width: 800px;
  }
}

/* Mobile / Tablet Styles */
@media screen and (max-width: 767px) {
  .quick-payment-totals {
    width: 95%;
    max-width: none;
  }
}

.quick-payment-totals tr {
  border-bottom: 1px solid #ddd;
}

.quick-payment-totals tr:last-child {
  border-bottom: none;
}

/* Base cell styling */
.quick-payment-totals td {
  padding: 6px 10px;
}

/* Labels on the right */
.label-subtotal,
.label-tax,
.label-total {
  text-align: right !important;
  font-weight: 500;
}

/* Values in the center */
.value-subtotal,
.value-tax,
.value-total {
  text-align: center !important;
}

/* Make the total bold */
.value-total {
  font-weight: bold;
}



/* A simple gradient line for the HR element */
.fancy-hr {
  border: none;                 /* Remove the default border */
  height: 1px;                  /* Thin line */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    #ccc,
    rgba(0, 0, 0, 0)
  );
  margin: 20px 0;               /* Spacing above/below the line */
}


