html {
  height: 100%;
  background: linear-gradient(135deg, #ff6ec4, #7873f5, #48c6ef, #6f86d6);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 12px;
  line-height: 16px;
  padding: 0;
  margin: 0;
}

body[dir="rtl"] .legal-content {
  font-size: 12px;
  line-height: 16px;
}

.service-text {
  padding: 0;
  margin: 0 0 10px 0;
  color: #ffffff;
  font-size: 2rem;
}

.img-wrapper {
  margin-top: 10px;
}

.price-text-top {
  font-size: 12px;
  font-weight: 600;
  padding: 10px;
}

.legal-content {
  max-width: 650px;
  margin: auto;
  padding: 10px;
}

.label-text {
  font-size: 20px;
  font-weight: 800;
  margin-top: 15px;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: auto;
  border-radius: 25px;
  margin-top: 15px;
  border: 2px solid #000;
  background: #ffffff;
  overflow: hidden;
  height: 50px;
}

.phone-input-wrapper input {
  width: 70%;
  border: none;
  padding: 5px 10px;
  outline: none;
  border: none;
  display: inline-block;
  margin-left: 0;
  margin-right: auto;
}

.country-prefix {
  padding: 0 15px;
  font-size: 16px;
  color: #000;
  background-color: #f5f5f5;
  border-right: 1px solid #ccc;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

.alert-danger {
  background-color: #fe8787;
  color: #ffffff;
  border-bottom: 4px solid #ff0000;
  max-width: 400px;
  margin: auto;
  padding: 10px;
}

.subscribe-btn {
  text-align: center;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  max-width: 400px;
  background-color: #0c0c0c;
  color: #ffffff;
  border-radius: 50px;
  padding: 10px 15px;
  display: inline-block;
  border: none;
  margin: 10px auto;
}

body[dir="rtl"] .subscribe-btn {
  font-size: 18px;
  font-family: "Noto Sans Arabic", sans-serif;
  font-weight: 600;
}

.mobileText {
  padding-left: 55px;
  /* enough space for prefix */
  width: 100%;
  font-size: 16px;
  color: #000;
}

.content-area {
  margin-top: 1.5rem;
  padding-bottom: 20px;
}

.container {
  max-width: 960px;
  margin: auto;
}

section {
  height: 100vh;
  width: 100%;

  margin: auto;
}

.text-center {
  text-align: center;
}

.pricing-text ul {
  padding: 0;
  margin: 0;
}

.pricing-text ul li {
  list-style-type: circle;
  font-size: 12px;
}

.top-bar {
  text-align: center;
}

/* colors */
.language-switcher {
  display: inline-block;
  position: relative;
}

*[dir="rtl"] {
  font-family: "Noto Sans Arabic", sans-serif;
}

.language-switcher .current {
  padding: 5px 36px 5px 20px;
  background: #fff;
  border: 3px solid rgba(1, 4, 117, 0.7);
  border-radius: 38px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  top: 8px;
  color: #0c0c0c;
  min-width: 55px;
  display: inline-block;
}

.language-switcher .current::after {
  content: "";
  position: absolute;
  top: 55%;
  right: 20px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-top-color: #0c0c0c;
}

.language-switcher ul {
  position: absolute;
  top: 35px;
  left: 0;
  right: 0;
  margin: auto;
  min-width: 100px;
  background: #fff;
  border-radius: 5px;
  padding: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  overflow: hidden;
  text-align: left;
  z-index: 1000;
}

.language-switcher ul li {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
  color: #0c0c0c;
}

.language-switcher ul li:hover {
  background: #ccc;
}

.language-switcher:hover ul {
  opacity: 1;
  transform: translateY(5px);
  pointer-events: auto;
}

.form-pin .input-wrapper {
  width: 100%;
  max-width: 360px;
  padding: 10px;
  outline: none;
  border-radius: 26px;
  margin: auto;
  font-size: 16px;
  text-align: center;
}

.form-pin input {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  outline: none;
  border: 2px solid #0c0c0c;
  border-radius: 20px;
  margin: auto;
  margin: auto;
  font-size: 20px;
  text-align: center;
}

/* =========test================ */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background-color: #333;
  color: #fff;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 16px;
  min-width: 200px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background-color: #28a745;
}

.toast.error {
  background-color: #dc3545;
}

.toast.warning {
  background-color: #ffc107;
  color: #000;
}

.toast.info {
  background-color: #17a2b8;
}
/* =========test================ */

@media (max-width: 767px) {
  .legal-content,
  section {
    height: auto;
    width: 100%;

    margin: auto;
  }

  .subscribe-btn,
  .phone-input-wrapper {
    width: 320px;
  }
}
