:root {
  --mqc-primary: #8e6b1d;
  --mqc-primary-light: #b78628;
  --mqc-primary-dark: #8e6b1d;
  --mqc-input-icons: hsl(0, 0%, 66%);
  --mqc-button-gold: linear-gradient(135deg, #b78628, #8e6b1d);
  --mqc-success: #22c55e;
  --mqc-success-light: #10b981;
  --mqc-danger: #ef4444;
  --mqc-danger-dark: #dc2626;
  --mqc-text-dark: #333;
  --mqc-text-medium: #666;
  --mqc-text-light: #999;
  --mqc-border: #e0e0e0;
  --mqc-bg-light: #f9fafc;
  --mqc-bg-lighter: #f8f9fa;
  --mqc-bg-hover: #e9ecef;
  --mqc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --mqc-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --mqc-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.2);
  --mq-font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  --mq-font-family: "Tajawal", sans-serif;
}

.mqc-calculator {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: var(--mq-font-family);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--mqc-shadow-md);
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-calculator {
  text-align: right;
}

.mqc-progress-bar {
  position: relative;
  margin-bottom: 35px;
  padding-top: 10px;
  padding-bottom: 5px;
}

.mqc-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.mqc-progress-step-indicator {
  min-width: 90px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mqc-text-medium);
  padding: 6px 12px;
  background-color: #8e6b1d1c;
  border-radius: 20px;
  box-shadow: var(--mqc-shadow-sm);
}

.mqc-current-step {
  color: var(--mqc-primary);
  font-weight: 700;
}

.mqc-progress-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--mqc-primary);
  text-align: right;
}

.mqc-progress-track {
  position: relative;
  height: 8px;
  background: #e9ecef;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mqc-progress-fill {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: var(--mqc-button-gold);
  border-radius: 20px;
  transition: width 0.5s ease;
  box-shadow: 0 1px 5px rgba(0, 123, 255, 0.2);
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-progress-fill {
  right: 0;
  left: auto;
}

.mqc-old-progress-bar,
.mqc-progress-step {
  display: none;
}

.mqc-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.mqc-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mqc-form-group {
  margin-bottom: 20px;
  position: relative;
}

.mqc-form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--mqc-text-dark);
  font-weight: 500;
}

.mqc-form-group input,
.mqc-form-group select,
.mqc-form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--mqc-border);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--mq-font-family);
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: inset 1px 3px rgba(0, 0, 0, 0.05);
  background-color: var(--mqc-bg-light);
}

input#mqc-moving-date {
  padding: 16px !important;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-form-group input,
.mqc-calculator-wrapper[dir="rtl"] .mqc-form-group select,
.mqc-calculator-wrapper[dir="rtl"] .mqc-form-group textarea {
  padding: 16px 45px 16px 16px;
}

.mqc-form-group input:focus,
.mqc-form-group select:focus,
.mqc-form-group textarea:focus {
  border-color: var(--mqc-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
  background-color: #fff;
}

.mqc-form-group input[type="number"] {
  -moz-appearance: textfield;
}

.mqc-form-group input[type="number"]::-webkit-outer-spin-button,
.mqc-form-group input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mqc-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: 15px;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-form-group select {
  background-position: left 15px center;
}

.mqc-input-icon {
  position: absolute;
  top: 53px;
  left: 15px;
  color: var(--mqc-text-medium);
  font-size: 18px;
  pointer-events: none;
  z-index: 2;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-input-icon {
  left: auto;
  right: 15px;
}

.mqc-form-group input:focus ~ .mqc-input-icon,
.mqc-form-group select:focus ~ .mqc-input-icon,
.mqc-form-group textarea:focus ~ .mqc-input-icon {
  color: var(--mqc-primary);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.mqc-icon-location,
.mqc-icon-home,
.mqc-icon-user,
.mqc-icon-phone,
.mqc-icon-email,
.mqc-icon-calendar,
.mqc-icon-clock,
.mqc-icon-note {
  color: var(--mqc-input-icons);
}

.mqc-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: "Tajawal", sans-serif;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-checkbox-label input[type="checkbox"] {
  margin-right: 0;
  margin-left: 8px;
}

.mqc-checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.mqc-map {
  height: 90px;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.mqc-map-marker {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  background: #ff4136;
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mqc-map-marker.mqc-marker-end {
  background: #007aff;
}

.mqc-map-marker::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  position: absolute;
  transform: rotate(45deg);
}

.mqc-map-marker i {
  margin: 0;
  transform: rotate(45deg);
  color: #333;
  font-size: 14px;
  z-index: 1;
  position: relative;
}

.mqc-distance-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Tajawal", sans-serif;
  color: var(--mqc-text-dark);
  box-shadow: var(--mqc-shadow-md);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
  max-width: calc(100% - 20px);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.mqc-distance-badge:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mqc-distance-badge i {
  color: var(--mqc-primary);
  font-size: 16px;
  flex-shrink: 0;
}

.mqc-distance-badge span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Tajawal", sans-serif;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-distance-badge {
  right: auto;
  left: 10px;
}

@media (max-width: 480px) {
  .mqc-distance-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .mqc-distance-badge i {
    font-size: 14px;
  }
}

.mqc-price-card {
  background: var(--mqc-bg-lighter);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin: 20px 0;
}

.mqc-price-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--mqc-primary);
  margin-bottom: 15px;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-currency {
  margin-left: 0;
  margin-right: 5px;
  font-family: "Tajawal", sans-serif;
}

.mqc-currency {
  font-size: 24px;
  margin-left: 5px;
  font-family: "Tajawal", sans-serif;
}

.mqc-price-details p {
  color: var(--mqc-text-medium);
  margin: 0;
}

.mqc-form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

.mqc-form-actions-buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 15px;
}

.mqc-next-btn,
.mqc-prev-btn,
.mqc-submit-btn,
.mqc-cancel-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Tajawal", sans-serif;
}

.mqc-next-btn,
.mqc-submit-btn {
  display: inline-block;
  width: 100%;
  background: var(--mqc-button-gold);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.mqc-next-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: all 0.6s;
}

.mqc-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.mqc-next-btn:hover:before {
  left: 100%;
}

.mqc-next-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mqc-prev-btn,
.mqc-cancel-btn {
  background: var(--mqc-bg-lighter);
  color: var(--mqc-text-medium);
  border: 1px solid var(--mqc-border);
}

button.mqc-prev-btn {
  width: 20%;
}

.mqc-prev-btn:hover,
.mqc-cancel-btn:hover {
  background: var(--mqc-bg-hover);
}

.mqc-success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mqc-success-modal.active {
  display: flex;
  animation: modalFadeIn 0.4s forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mqc-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--mqc-shadow-lg);
  font-family: "Tajawal", sans-serif;
}

.mqc-modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #4caf50;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mqc-modal-icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.mqc-modal-title {
  font-size: 24px;
  color: var(--mqc-text-dark);
  margin-bottom: 15px;
}

.mqc-modal-message {
  color: var(--mqc-text-medium);
  margin-bottom: 20px;
}

.mqc-modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-family: "Tajawal", sans-serif;
}

.mqc-close-modal {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  background: var(--mqc-bg-lighter);
  color: var(--mqc-text-medium);
  border: 1px solid var(--mqc-border);
}

.mqc-go-services {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  background: var(--mqc-primary);
  color: #fff;
  border: none;
}

.mqc-next-btn,
.mqc-submit-btn {
  width: 100%;
}

@media (max-width: 768px) {
  .mqc-form-actions,
  .mqc-calculator-wrapper[dir="rtl"] .mqc-form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .mqc-next-btn,
  .mqc-prev-btn,
  .mqc-submit-btn,
  .mqc-cancel-btn {
    width: 100%;
  }

  .mqc-step-title {
    font-size: 12px;
  }

  .mqc-progress-title {
    text-align: right;
    width: 100%;
    font-size: 20px;
  }

  .mqc-progress-step-indicator {
    font-size: 14px;
  }
}

.pac-container {
  border-radius: 10px;
  box-shadow: var(--mqc-shadow-md);
  border: 1px solid var(--mqc-border);
  margin-top: 5px;
  font-family: "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  overflow: hidden;
  background-color: #fff;
  z-index: 1050 !important;
  position: absolute !important;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.mqc-calculator-wrapper[dir="rtl"] .pac-container {
  text-align: right;
  direction: rtl;
}

/* Fix for Safari */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    .pac-container {
      transform: translateZ(0);
    }
  }
}

.pac-item {
  padding: 12px 16px;
  cursor: pointer;
  border-top: 1px solid #f5f5f5;
  transition: background-color 0.2s;
  direction: rtl;
  text-align: right;
  font-family: "Tajawal", sans-serif;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover {
  background-color: #f8fafc;
}

.pac-item-query {
  font-size: 14px;
  color: var(--mqc-text-dark);
  font-weight: 600;
  font-family: "Tajawal", sans-serif;
}

.pac-matched {
  color: var(--mqc-primary);
  font-weight: 700;
}

.pac-icon {
  display: none;
}

.pac-item-selected {
  background-color: #f0f7ff;
}

.pac-container:after {
  content: none !important;
  display: none !important;
}

.pac-item:before {
  content: "\f230";
  font-family: dashicons;
  color: #ff4136;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
}

.mqc-switch-container {
  position: relative;
  width: 120px;
  height: 32px;
  border-radius: 16px;
  padding: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 0 15px 0;
  box-shadow: var(--mqc-shadow-sm);
}

.mqc-switch-container.yes {
  background-color: var(--mqc-success);
  background-image: linear-gradient(
    to right,
    var(--mqc-success),
    var(--mqc-success-light)
  );
}

.mqc-switch-container.no {
  background-color: var(--mqc-danger);
  background-image: linear-gradient(
    to right,
    var(--mqc-danger),
    var(--mqc-danger-dark)
  );
}

.mqc-switch-labels {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  direction: rtl;
  font-family: "Tajawal", sans-serif;
}

.mqc-label-yes,
.mqc-label-no {
  transition: opacity 0.3s ease;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.mqc-label-yes {
  padding-right: 5px;
}

.mqc-label-no {
  padding-left: 5px;
}

.mqc-switch-thumb {
  width: 58px;
  height: 28px;
  background-color: white;
  border-radius: 14px;
  box-shadow: var(--mqc-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Tajawal", sans-serif;
}

.mqc-switch-container.yes .mqc-switch-thumb {
  transform: translateX(-58px);
  color: var(--mqc-success);
}

.mqc-switch-container.no .mqc-switch-thumb {
  transform: translateX(0);
  color: var(--mqc-danger);
}

.mqc-switch-container:hover {
  filter: brightness(1.05);
}

.mqc-switch-container:hover .mqc-switch-thumb {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mqc-switch-container:focus-within {
  outline: 2px solid rgba(0, 122, 255, 0.4);
  outline-offset: 1px;
}

.mqc-elevator-label {
  display: block;
  margin-bottom: 10px;
  color: var(--mqc-text-dark);
  font-weight: 500;
  font-family: "Tajawal", sans-serif;
}

.mqc-switch-container.yes .mqc-label-yes {
  opacity: 1;
}

.mqc-switch-container.yes .mqc-label-no {
  opacity: 0.6;
}

.mqc-switch-container.no .mqc-label-yes {
  opacity: 0.6;
}

.mqc-switch-container.no .mqc-label-no {
  opacity: 1;
}

.mqc-form {
  font-family: "Tajawal", sans-serif;
}

.mqc-step h2 {
  font-family: "Tajawal", sans-serif;
  color: var(--mqc-text-dark);
}

.mqc-modal-btn {
  font-family: "Tajawal", sans-serif;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.mqc-services-group {
  margin-top: 20px;
  margin-bottom: 20px;
}

.mqc-services-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.mqc-service-option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mqc-service-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.mqc-service-option label {
  cursor: pointer;
  font-size: 15px;
  font-weight: normal;
  margin: 0;
}

.mqc-services-info {
  margin-top: 15px;
}

.mqc-services-label {
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
}

.mqc-services-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mqc-service {
  background-color: #e1f5fe;
  color: #0277bd;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  font-size: 14px;
  margin-right: 8px;
  white-space: nowrap;
}

/* Address input validation */
.mqc-form-group input.mqc-address-input.valid-address {
  border-color: #4caf50;
  background-color: rgba(76, 175, 80, 0.05);
}

.mqc-form-group input.mqc-address-input.valid-address + .mqc-input-icon {
  color: #4caf50;
}

/* Hint for address selection */
.mqc-form-group input.mqc-address-input.mqc-hint {
  border-color: #ffa726;
  animation: mqc-pulse-border 1.5s infinite;
}

@keyframes mqc-pulse-border {
  0% {
    border-color: #ffa726;
  }
  50% {
    border-color: #ff9800;
  }
  100% {
    border-color: #ffa726;
  }
}

.mqc-form-group input.mqc-address-input.mqc-hint + .mqc-input-icon {
  color: #ff9800;
}

/* Keep existing error styling */
.mqc-form-group input.mqc-error,
.mqc-form-group select.mqc-error {
  border-color: #ff5252;
  background-color: rgba(255, 82, 82, 0.05);
}

.mqc-form-group input.mqc-error + .mqc-input-icon,
.mqc-form-group select.mqc-error + .mqc-input-icon {
  color: #ff5252;
}

/* Help text for address selection */
.mqc-address-help {
  display: block;
  margin-top: -10px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #666;
  text-align: right;
}

/* Address input placeholder */
.mqc-form-group input.mqc-address-input::placeholder {
  color: #999;
  font-style: italic;
  opacity: 0.7;
}

/* Tooltip styling */
.mqc-form-group input.mqc-address-input[title] {
  cursor: help;
}

/* Toast notifications */
.mqc-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 350px;
  z-index: 1060;
  font-family: "Tajawal", sans-serif;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-toast-container {
  right: auto;
  left: 20px;
}

.mqc-toast {
  background-color: white;
  color: #333;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 0;
  position: relative;
}

.mqc-toast.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
  margin-bottom: 10px;
}

.mqc-toast-icon {
  margin-right: 12px;
  font-size: 24px;
  flex-shrink: 0;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-toast-icon {
  margin-right: 0;
  margin-left: 12px;
}

.mqc-toast-content {
  flex: 1;
}

.mqc-toast-title {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 16px;
}

.mqc-toast-message {
  font-size: 14px;
  opacity: 0.9;
}

.mqc-toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-toast-close {
  right: auto;
  left: 10px;
}

.mqc-toast-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #666;
}

.mqc-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: #4caf50;
  width: 100%;
  animation: mqc-toast-progress 5s linear forwards;
}

@keyframes mqc-toast-progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* Toast types */
.mqc-toast.error .mqc-toast-icon {
  color: #f44336;
}

.mqc-toast.error .mqc-toast-progress {
  background-color: #f44336;
}

.mqc-toast.warning .mqc-toast-icon {
  color: #ff9800;
}

.mqc-toast.warning .mqc-toast-progress {
  background-color: #ff9800;
}

.mqc-toast.success .mqc-toast-icon {
  color: #4caf50;
}

.mqc-toast.success .mqc-toast-progress {
  background-color: #4caf50;
}

.mqc-toast.info .mqc-toast-icon {
  color: #2196f3;
}

.mqc-toast.info .mqc-toast-progress {
  background-color: #2196f3;
}

/* Inline validation messages */
.mqc-validation-message {
  display: none;
  color: #f44336;
  font-size: 12px;
  margin-top: 4px;
  padding-right: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-validation-message {
  padding-right: 0;
  padding-left: 10px;
}

.mqc-validation-message:before {
  content: "\f534";
  font-family: dashicons;
  margin-right: 5px;
  vertical-align: middle;
  font-size: 16px;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-validation-message:before {
  margin-right: 0;
  margin-left: 5px;
}

.mqc-form-group input.mqc-error + .mqc-validation-message,
.mqc-form-group select.mqc-error + .mqc-validation-message {
  display: block;
  animation: mqc-fade-in 0.3s ease;
}

@keyframes mqc-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Field focus highlight */
.mqc-form-group input:focus,
.mqc-form-group select:focus {
  border-color: #8e6b1d;
  box-shadow: 0 0 0 3px #8e6b1d38;
}

.mqc-form-group input.mqc-error:focus,
.mqc-form-group select.mqc-error:focus {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

/* Property Type Selector */
.mqc-property-selector {
  margin-top: 10px;
}

.mqc-property-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.mqc-property-option {
  flex: 1;
  min-width: 90px;
  background-color: var(--mqc-bg-light);
  border: 2px solid var(--mqc-border);
  border-radius: 10px;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mqc-property-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}

.mqc-property-option.selected {
  border-color: var(--mqc-primary);
  background-color: rgba(142, 107, 29, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(142, 107, 29, 0.15);
}

.mqc-property-option.selected:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--mqc-primary);
  width: 25px;
  height: 25px;
  border-radius: 0 0 0 25px;
}

.mqc-property-option.selected:after {
  content: "\f147";
  font-family: dashicons;
  color: white;
  position: absolute;
  top: 0;
  right: 3px;
  font-size: 14px;
  line-height: 1;
}

.mqc-property-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--mqc-text-medium);
  transition: all 0.3s ease;
}

.mqc-property-option.selected .mqc-property-icon {
  color: var(--mqc-primary);
  transform: scale(1.1);
}

.mqc-property-label {
  font-weight: 500;
  color: var(--mqc-text-dark);
  font-size: 15px;
  transition: all 0.3s ease;
}

.mqc-property-option.selected .mqc-property-label {
  color: var(--mqc-primary);
  font-weight: 600;
}

@media (max-width: 480px) {
  .mqc-property-options {
    flex-direction: column;
    gap: 10px;
  }

  .mqc-property-option {
    display: flex;
    align-items: center;
    text-align: right;
    padding: 10px 15px;
  }

  .mqc-property-icon {
    margin-bottom: 0;
    margin-left: 15px;
    font-size: 24px;
  }

  .mqc-property-label {
    font-size: 14px;
  }
}

/* Property type error state */
.mqc-property-selector.has-error .mqc-property-options {
  border: 1px solid #f44336;
  border-radius: 10px;
  padding: 10px;
  background-color: rgba(244, 67, 54, 0.05);
  animation: mqc-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes mqc-shake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }
  40%,
  60% {
    transform: translateX(4px);
  }
}

.mqc-property-selector.has-error .mqc-validation-message {
  display: block;
  animation: mqc-fade-in 0.3s ease;
}

/* Property Type Display */
.mqc-property-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--mqc-bg-light);
  border: 2px solid var(--mqc-border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.mqc-property-display:hover {
  border-color: var(--mqc-primary);
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mqc-property-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mqc-text-medium);
}

.mqc-property-placeholder i {
  font-size: 22px;
  color: var(--mqc-text-medium);
}

.mqc-property-selected {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mqc-selected-icon i {
  font-size: 22px;
  color: var(--mqc-primary);
}

.mqc-selected-label {
  font-weight: 600;
  color: var(--mqc-primary);
}

.mqc-property-selector-arrow {
  font-size: 20px;
  color: var(--mqc-text-medium);
  margin-right: 5px;
}

.mqc-property-selector.has-error .mqc-property-display {
  border-color: #f44336;
  background-color: rgba(244, 67, 54, 0.05);
}

/* Shake animation for property display */
.mqc-property-display.shake {
  animation: mqc-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Add some body styling for when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Property Type Modal */
.mqc-property-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  font-family: "Tajawal", sans-serif;
}

.mqc-property-modal.active {
  display: block;
}

.mqc-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  animation: mqc-fade-in 0.3s ease;
}

.mqc-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: #fff;
  border-radius: 12px;
  width: 95%;
  max-width: 600px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  animation: mqc-modal-in 0.4s ease forwards;
}

@keyframes mqc-modal-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.mqc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mqc-border);
}

.mqc-modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--mqc-text-dark);
}

.mqc-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--mqc-text-medium);
  padding: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mqc-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--mqc-text-dark);
}

.mqc-modal-body {
  padding: 20px;
}

/* Property options inside modal */
.mqc-property-modal .mqc-property-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 10px;
}

.mqc-property-modal .mqc-property-option {
  padding: 20px 15px;
}

.mqc-property-modal .mqc-property-icon {
  font-size: 36px;
}

/* Set different icons for different property types */
.mqc-property-option[data-value="large_apartment"] .mqc-property-icon i {
  transform: scale(1.2);
}

.mqc-property-option[data-value="palace"] .mqc-property-icon i {
  transform: scale(1.3);
}

.mqc-property-option[data-value="company"] .mqc-property-icon i {
  color: #4285f4;
}

/* Tablet styling */
@media (max-width: 768px) {
  .mqc-property-modal .mqc-property-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile styling */
@media (max-width: 480px) {
  .mqc-modal-container {
    width: 95%;
  }

  .mqc-property-modal .mqc-property-options {
    grid-template-columns: 1fr;
  }

  .mqc-property-modal .mqc-property-option {
    display: flex;
    align-items: center;
    text-align: right;
    padding: 15px;
  }

  .mqc-property-modal .mqc-property-icon {
    margin-bottom: 0;
    margin-left: 15px;
    font-size: 28px;
  }
}

/* Premium card styling */
.mqc-premium-card {
  background: linear-gradient(145deg, #ffffff, #fcf8ef);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(142, 107, 29, 0.15);
  padding: 30px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(142, 107, 29, 0.12);
  transition: all 0.3s ease;
}

.mqc-premium-card:hover {
  box-shadow: 0 10px 25px rgba(142, 107, 29, 0.25);
  transform: translateY(-3px);
}

.mqc-premium-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(225deg, rgba(217, 180, 95, 0.15), transparent);
  border-radius: 0 0 0 150px;
}

.mqc-premium-card:after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(217, 180, 95, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.mqc-premium-card:hover:after {
  opacity: 1;
}

/* Feature icon hover effect */
.mqc-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(142, 107, 29, 0.15);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.mqc-premium-feature:hover .mqc-feature-icon {
  transform: scale(1.1);
  background-color: rgba(142, 107, 29, 0.25);
  box-shadow: 0 3px 6px rgba(142, 107, 29, 0.2);
}

.mqc-feature-icon i {
  color: #8e6b1d;
  font-size: 18px;
  transition: all 0.3s ease;
}

.mqc-premium-feature:hover .mqc-feature-icon i {
  color: #b78628;
}

.mqc-premium-card-header {
  position: relative;
  margin-bottom: 25px;
}

.mqc-premium-card-header h2 {
  color: #8e6b1d;
  font-size: 1.8rem;
  margin: 0;
  padding-top: 15px;
}

.mqc-premium-badge {
  position: absolute;
  top: -20px;
  right: -10px;
  background: linear-gradient(45deg, #d4af37, #f5d55a);
  color: #5e4813;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  transform: rotate(5deg);
  box-shadow: 0 4px 8px rgba(142, 107, 29, 0.25);
  text-align: center;
  z-index: 1;
}

.mqc-premium-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
  position: relative;
}

.mqc-premium-price-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

.mqc-premium-amount {
  font-size: 3.5rem;
  font-weight: bold;
  color: #8e6b1d;
  line-height: 1;
}

.mqc-premium-currency {
  margin-left: 8px;
  font-size: 1.5rem;
  color: #8e6b1d;
  font-weight: 500;
}

.mqc-calculator-wrapper[dir="rtl"] .mqc-premium-currency {
  margin-left: 0;
  margin-right: 8px;
}

.mqc-premium-discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.mqc-discount-label {
  background-color: #8e6b1d;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.mqc-original-price {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 1.2rem;
}

.mqc-premium-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 25px 0;
}

.mqc-premium-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mqc-feature-text {
  font-size: 16px;
  color: #4a4a4a;
  font-weight: bold;
}

.mqc-premium-cta {
  margin-top: 30px;
}

.mqc-next-btn.mqc-premium-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--mqc-button-gold);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(142, 107, 29, 0.3);
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.mqc-next-btn.mqc-premium-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.mqc-next-btn.mqc-premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(142, 107, 29, 0.4);
  filter: brightness(1.05);
}

.mqc-next-btn.mqc-premium-btn:hover:before {
  left: 100%;
}

.mqc-next-btn.mqc-premium-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(142, 107, 29, 0.4);
  filter: brightness(0.95);
}

.mqc-phone-gold-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.mqc-next-btn.mqc-premium-btn:hover .mqc-phone-gold-icon {
  transform: scale(1.3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.mqc-next-btn.mqc-premium-btn .mqc-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.mqc-calculator-wrapper[dir="rtl"]
  .mqc-next-btn.mqc-premium-btn:hover
  .mqc-btn-icon {
  animation: phone-pulse 1s infinite alternate;
}

@keyframes phone-pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Make the text more visible */
.mqc-btn-text {
  display: inline-block;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .mqc-premium-card {
    padding: 20px;
  }

  .mqc-premium-amount {
    font-size: 2.8rem;
  }

  .mqc-premium-card-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .mqc-premium-card {
    padding: 15px;
  }

  .mqc-premium-amount {
    font-size: 2.5rem;
  }

  .mqc-feature-text {
    font-size: 0.9rem;
  }

  .mqc-premium-badge {
    top: -15px;
    right: -5px;
    padding: 3px 10px;
    font-size: 0.8rem;
  }
}

/* Countdown Timer Styling */
.mqc-countdown-timer {
  margin-top: 15px;
  background: rgba(142, 107, 29, 0.08);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mqc-countdown-label {
  font-size: 0.9rem;
  color: #8e6b1d;
  margin-bottom: 5px;
  font-weight: 600;
  text-align: center;
}

.mqc-countdown-digits {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mqc-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mqc-digit {
  background: linear-gradient(135deg, #b78628, #8e6b1d);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 30px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.mqc-digit:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mqc-unit-label {
  font-size: 0.7rem;
  color: #8e6b1d;
  margin-top: 2px;
}

.mqc-colon {
  font-weight: bold;
  color: #8e6b1d;
  font-size: 1.2rem;
  margin: 0 2px;
  padding-bottom: 15px;
}

/* Enhanced Premium Feature */
.mqc-premium-featured-offer {
  background: linear-gradient(145deg, #ffffff, #fcf8ef);
  border: 1px dashed rgba(142, 107, 29, 0.3);
  border-radius: 10px;
  padding: 15px;
  position: relative;
  transition: all 0.3s ease;
}

.mqc-premium-featured-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(142, 107, 29, 0.15);
  border-color: rgba(142, 107, 29, 0.5);
}

.mqc-feature-text-container {
  flex-grow: 1;
}

.mqc-feature-subtext {
  font-size: 0.8rem;
  color: #8e6b1d;
  margin-top: 3px;
  font-style: italic;
}

.mqc-feature-badge {
  background: linear-gradient(45deg, #d4af37, #f5d55a);
  color: #5e4813;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(142, 107, 29, 0.2);
  position: relative;
  overflow: hidden;
}

.mqc-feature-badge span {
  position: relative;
  z-index: 1;
}

.mqc-feature-badge:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: badge-shine 2s infinite;
}

@keyframes badge-shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.mqc-property-icon img {
  max-width: 24px;
  max-height: 24px;
  width: auto;
  height: auto;
}

/* Enhanced Premium Feature */
.mqc-premium-success {
  background: linear-gradient(145deg, #ffffff, #fcf8ef);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(142, 107, 29, 0.25);
  padding: 40px 30px;
  border: 1px solid rgba(142, 107, 29, 0.12);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  animation: modalEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards,
    modalContentIn 0.5s 0.2s forwards;
}

@keyframes modalEntrance {
  0% {
    transform: translateY(15px) scale(0.95);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes modalContentIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.mqc-success-icon {
  animation: successIconPop 0.6s 0.5s forwards;
  transform: scale(0);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--mqc-button-gold);
  margin: 0 auto 20px;
  box-shadow: 0 8px 15px rgba(142, 107, 29, 0.25);
  position: relative;
}

.mqc-success-icon:after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(142, 107, 29, 0.3);
  opacity: 0;
  animation: pulse 2s 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes successIconPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.mqc-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2.5;
}

.mqc-checkmark-circle {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: drawCircle 1s 0.7s forwards;
  opacity: 0.8;
}

.mqc-checkmark-check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.5s 1.2s forwards;
}

@keyframes drawCircle {
  from {
    stroke-dashoffset: 70;
    opacity: 0.4;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes drawCheck {
  from {
    stroke-dashoffset: 30;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.mqc-premium-success h2 {
  color: #8e6b1d;
  font-size: 26px;
  margin-bottom: 15px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.5s 0.7s forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mqc-premium-success p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.5s 0.9s forwards;
}

.mqc-premium-success .mqc-modal-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.5s 1.1s forwards;
}

.mqc-modal-btn.mqc-services-btn {
  background: var(--mqc-button-gold);
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(142, 107, 29, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.mqc-modal-btn.mqc-services-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(142, 107, 29, 0.4);
}

.mqc-modal-btn.mqc-services-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mqc-modal-btn.mqc-services-btn:hover:before {
  left: 100%;
}

.mqc-modal-btn.mqc-services-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(142, 107, 29, 0.35);
}

.mqc-modal-btn.mqc-close-modal {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  color: #666;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.mqc-modal-btn.mqc-close-modal:hover {
  background: #f0f0f0;
  color: #333;
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.mqc-modal-btn.mqc-close-modal:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.05),
    transparent
  );
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mqc-modal-btn.mqc-close-modal:hover:before {
  left: 100%;
}

.mqc-modal-btn.mqc-close-modal:active {
  transform: translateY(-1px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .mqc-premium-success {
    padding: 30px 20px;
  }

  .mqc-success-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .mqc-success-icon svg {
    width: 30px;
    height: 30px;
  }

  .mqc-premium-success h2 {
    font-size: 22px;
  }

  .mqc-premium-success p {
    font-size: 14px;
  }

  .mqc-premium-success .mqc-modal-actions {
    flex-direction: column-reverse;
  }

  .mqc-modal-btn.mqc-services-btn,
  .mqc-modal-btn.mqc-close-modal {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mqc-form-actions,
  .mqc-calculator-wrapper[dir="rtl"] .mqc-form-actions {
    flex-direction: column;
    gap: 10px;
  }
}

.mqc-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.mqc-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: mqc-spin 1s linear infinite;
    margin-bottom: 10px;
}

.mqc-loading-text {
    color: #333;
    font-size: 16px;
    text-align: center;
}

@keyframes mqc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
