@charset "UTF-8";
:root {
  --primary: #1034a6;
  --primary-light: #e3e9ff;
  --secondary: #5934a6;
  --secondary-light: #ece3ff;
  --accent1: #a63434;
  --accent1-light: #ffe3e3;
  --accent2: #34a649;
  --accent2-light: #e3ffe7;
  --notification: #a6347d;
  --notification-light: #ffe3f5;
}
body {
  font-family: "Noto Kufi Arabic", sans-serif;
  background-color: #f2f5f8;
  text-align: right;
}

/* Wizard */
.wizard {
  width: 100%; /* Let it take full width of its container */
  /* max-width: 60rem; */ /* Consider adjusting this if it's too wide or too narrow */
  min-height: auto; /* Allow height to be determined by content */
  display: flex;
  flex-direction: column;
  position: relative;
  max-height: none;
}

.wizard .steps {
  padding-top: 30px;
  padding-bottom: 37.5px;
  position: relative; /* Change from sticky to relative */
  background-color: #f2f5f8;
  z-index: 10;
  border-bottom: 1px solid #e9ecf4;
}

.wizard .content {
  flex-grow: 1;
  text-align: right;
  /* Remove overflow-y: auto to prevent internal scrolling */
  overflow-y: visible;
  padding-right: 5px;
  padding-left: 5px;
}

.wizard .actions {
  border-top: 1px solid #e9ecf4;
  padding-top: 26px;
  position: relative; /* Change from sticky to relative */
  background-color: #f2f5f8;
  z-index: 10;
  padding-bottom: 15px;
}

/* Remove custom scrollbar styling */
/* Ensure main container has proper positioning */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
}

/* Add body level scrolling */
body {
  font-family: "Noto Kufi Arabic", sans-serif;
  background-color: #f2f5f8;
  text-align: right;
  overflow-y: auto;
  min-height: 100vh;
  padding-bottom: 30px;
}
    /* Make footer sticky but not fixed */
    
/* Ensure form fields are visible */
section {
  position: relative;
  z-index: 5;
  padding: 15px 0;
}

/* Fix form field visibility */
.form-group {
  position: relative;
  z-index: 5;
  margin-bottom: 20px;
}

/* Ensure proper spacing for meal inputs */
.meal-toggle-container {
  position: relative;
  z-index: 5;
}
.wizard .audible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wizard .steps {
  padding-top: 30px;
  padding-bottom: 37.5px;
  position: relative;
}
.wizard .steps::before {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 50px);
  height: 2px;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-image: linear-gradient(-90deg, #1034a6, #1034a6 50%, rgba(185, 177, 177, 0.35) 50%, rgba(185, 177, 177, 0.35));
  background-repeat: no-repeat;
  background-size: 200%;
  background-position: 0 center;
  transition: background-position 0.4s ease-in;
}
.wizard .steps.second-step-active::before {
  background-position: 50% center;
}
.wizard .steps.third-step-active::before {
  background-position: 100% center;
}
.wizard .steps.last-step-active::before {
  background-position: 100% center;
}
.wizard .steps > ul {
  list-style: none;
  padding-right: 0;
  padding-left: 0;
  display: flex;
  justify-content: space-between;
}
.wizard .steps > ul li a {
  display: inline-block;
  text-align: center;
}
.wizard .steps > ul li .bd-wizard-step-indicator {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-top: 8.5px;
  margin-bottom: 8.5px;
  border-radius: 50%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
  transition: all 0.4s ease-in-out, box-shadow 0s;
}
.wizard .steps > ul li .bd-wizard-step-indicator::before {
  content: "\f764";
  font-family: "Material Design Icons";
  font-size: 8px;
  width: 8px;
  height: 8px;
  opacity: 0.42;
  color: #6f787d;
  transition: all 0.4s ease-in-out;
}
.wizard .steps > ul li .bd-wizard-step-title {
  font-size: 14px;
  font-weight: bold;
  color: #6f787d;
  margin-top: 5.5px;
}
.wizard .steps > ul li.current .bd-wizard-step-indicator, .wizard .steps > ul li.done .bd-wizard-step-indicator {
  background-color: #1034a6;
  box-shadow: 0 0 0 7.5px rgba(16, 52, 166, 0.11);
}
.wizard .steps > ul li.current .bd-wizard-step-indicator {
  background-color: #F5BD02;
  transform: scale(1.2);
  box-shadow: 0 0 0 7.5px rgba(245, 189, 2, 0.2);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 189, 2, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(245, 189, 2, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 189, 2, 0);
  }
}
.wizard .steps > ul li.current .bd-wizard-step-indicator::before, .wizard .steps > ul li.done .bd-wizard-step-indicator::before {
  content: "﹮";
  color: #fff;
  opacity: 1;
  font-size: 11px;
}
.wizard .steps > ul li.current .bd-wizard-step-title, .wizard .steps > ul li.done .bd-wizard-step-title {
  font-size: 14px;
  color: #000000;
}
.wizard .content {
  margin-bottom: 45px;
  flex-grow: 1;
  text-align: right;
}
.wizard .content .title {
  display: none;
}
.wizard .content .bd-wizard-step-title {
  font-size: 20px;
  font-weight: bold;
  color: #7b7f89;
  margin-bottom: 45px;
}
.wizard .content .step-heading {
  font-size: 35px;
  font-weight: bold;
  color: #000000;
}
.wizard .content p {
  font-size: 16px;
  color: #030303;
}
.wizard .content .form-control {
  padding: 16px 29px;
  min-height: 50px;
  border-radius: 4px;
  border: solid 1px #ececec;
  text-align: right;
}
.wizard .content .form-control::placeholder {
  color: #919aa3;
  text-align: right;
}
.wizard .actions {
  border-top: 1px solid #e9ecf4;
  padding-top: 26px;
}
.wizard .actions > ul {
  list-style: none;
  padding-right: 0;
  padding-left: 0;
  display: flex;
  flex-direction: row-reverse;
}
.wizard .actions li:first-child a {
  background-color: #313232;
}
.wizard .actions li:not(:first-child) {
  margin-right: auto;
  margin-left: 0;
}
.wizard .actions li a {
  display: inline-block;
  border-radius: 6px;
  background-color: #00d69f;
  padding: 16px 30px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}
.wizard .actions li a:hover {
  text-decoration: none;
}
.wizard .actions li.disabled {
  display: none;
}

.purpose-radio {
  position: relative;
  display: inline-block;
}
.purpose-radio .purpose-radio-input {
  position: absolute;
  opacity: 0;
}
.purpose-radio .purpose-radio-input:checked + .purpose-radio-label {
  border-color: #1034a6;
}
.purpose-radio .purpose-radio-input:checked + .purpose-radio-label .label-icon {
  color: #1034a6;
}
.purpose-radio .purpose-radio-input:checked + .purpose-radio-label .label-icon .label-icon-default {
  display: none;
}
.purpose-radio .purpose-radio-input:checked + .purpose-radio-label .label-icon .label-icon-active {
  display: inline-block;
}
.purpose-radio .purpose-radio-input:checked + .purpose-radio-label .label-text {
  color: #1034a6;
  font-weight: bold;
}
.purpose-radio .purpose-radio-label {
  display: flex;
  width: 18rem;
  height: 184px;
  max-width: 100%;
  border: 2px solid #7b7f89;
  border-radius: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-align: center;
}
@media (max-width: 575px) {
  .purpose-radio .purpose-radio-label {
    width: 100%;
  }
}
.purpose-radio .purpose-radio-label .label-icon {
  font-size: 21px;
  color: #000000;
  margin-bottom: 17px;
  transition: all 0.2s ease-in-out;
}
.purpose-radio .purpose-radio-label .label-icon .label-icon-active {
  display: none;
}
.purpose-radio .purpose-radio-label .label-text {
  font-size: 16px;
  color: #030303;
  transition: all 0.2s ease-in-out;
}

.purpose-radios-wrapper {
  margin-top: 70px;
}
.purpose-radios-wrapper .purpose-radio {
  margin-left: 18px;
  margin-right: 0;
  max-width: calc(33% - 13px);
}
@media (max-width: 575px) {
  .purpose-radios-wrapper .purpose-radio {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 18px;
    width: 100%;
    max-width: none;
  }
}
.purpose-radios-wrapper .purpose-radio:last-child {
  margin-left: 0;
}

.purpose-radio .label-icon i {
  font-size: 48px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.purpose-radio .label-icon .label-icon-active {
  display: none;
  color: #1034a6;
}

.purpose-radio-input:checked + .purpose-radio-label .label-icon .label-icon-default {
  display: none;
}

.purpose-radio-input:checked + .purpose-radio-label .label-icon .label-icon-active {
  display: inline-block;
  transform: scale(1.2);
  animation: pulse 1.5s infinite;
}

.purpose-radio-label:hover .label-icon i {
  transform: scale(1.1);
  color: #1034a6;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.purpose-radio-input:checked + .purpose-radio-label {
  background-color: rgba(118, 60, 176, 0.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
  text-align: right;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
  display: block;
}

/* Thank you message and sparkle effect */
/* Thank you message overlay styles */
.thank-you-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.thank-you-overlay.active {
  opacity: 1;
}

.thank-you-message {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 80%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.thank-you-header {
  color: #1034a6;
  margin-bottom: 20px;
  font-size: clamp(18px, 5vw, 28px);
  line-height: 1.3;
}

.thank-you-text {
  color: #333;
  margin-bottom: 30px;
  font-size: clamp(14px, 4vw, 18px);
  line-height: 1.5;
}

.thank-you-hashtag {
  color: #333;
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.5;
  font-weight: 500;
}

.thank-you-action-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: #5F5F67;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.thank-you-action-btn:hover {
  transform: translateX(-50%) scale(1.05);
}

.download-links-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.download-subtitle {
  margin-bottom: 15px;
  color: #666;
  font-size: clamp(12px, 3.5vw, 16px);
}

.download-links-container .btn-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-link {
  min-width: 150px;
  transition: all 0.3s ease;
  background-color: #1034a6;
  color: white;
}

.download-link:hover {
  background-color: rgb(220, 170, 53);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Sparkle animation */
.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 0%;
  pointer-events: none;
}

/* Media queries for mobile responsiveness */
@media (max-width: 576px) {
  .thank-you-message {
    padding: 15px;
    max-width: 95%;
  }
  
  .download-links-container .btn-container {
    flex-direction: column;
    width: 100%;
  }
  
  .download-link {
    width: 100%;
    min-width: auto;
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .thank-you-action-btn {
    font-size: 14px;
  }
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  /* Removed border-radius to make squares instead of circles */
  background-color: #1034a6;
  pointer-events: none;
  opacity: 0;
  animation: sparkle-animation 3s ease-in-out forwards;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
  /* Add rotation for more dynamic effect */
  transform-origin: center center;
}

@keyframes sparkle-animation {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0;
  }
}

/*# sourceMappingURL=bd-wizard.css.map */

/* Custom styles for meal toggle switches */
.custom-switch .custom-control-label::before {
  right: -2.25rem;
  left: auto;
}

.custom-switch .custom-control-label::after {
  right: calc(-2.25rem + 2px);
  left: auto;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(-0.75rem);
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #1034a6;
  border-color: #1034a6;
}

.meal-toggle-container .form-group.disabled label {
  color: #6c757d;
}

.font-weight-medium {
  font-weight: 500;
}

.meal-toggle-container input[type="number"] {
  height: 50px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background-color: #f8f9fa;
}

.meal-toggle-container input[type="number"]:focus {
  background-color: #fff;
  border-color: #1034a6;
  box-shadow: 0 0 0 0.2rem rgba(16, 52, 166, 0.25);
}

.meal-toggle-container input[type="number"]:disabled {
  background-color: #e9ecef;
  opacity: 0.65;
}

.total-meals .card {
  border-radius: 8px;
  border: 1px solid rgba(16, 52, 166, 0.2);
}

.total-meals .card-title {
  color: #6c757d;
  font-size: 1rem;
}

.total-meals #total-meal-count {
  font-size: 2rem;
  font-weight: 700;
}

/* Add flatpickr styles if needed */
.flatpickr-calendar {
  z-index: 10000 !important;
}
