@font-face {
  font-family: "Poppins Regular";
  src: url("../fonts/Poppins-Regular.eot");
  src: url("../fonts/Poppins-Regular.eot#iefix") format("embedded-opentype"),
    url("../fonts/Poppins-Regular.woff2") format("woff2"),
    url("../fonts/Poppins-Regular.woff") format("woff"),
    url("../fonts/Poppins-Regular.ttf") format("truetype"),
    url("../images/Poppins-Regular.svg#Poppins-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins Medium";
  src: url("../fonts/Poppins-Medium.eot");
  src: url("../fonts/Poppins-Medium.eot#iefix") format("embedded-opentype"),
    url("../fonts/Poppins-Medium.woff2") format("woff2"),
    url("../fonts/Poppins-Medium.woff") format("woff"),
    url("../fonts/Poppins-Medium.ttf") format("truetype"),
    url("../images/Poppins-Medium.svg#Poppins-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins Light";
  src: url("../fonts/Poppins-Light.eot");
  src: url("../fonts/Poppins-Light.eot#iefix") format("embedded-opentype"),
    url("../fonts/Poppins-Light.woff2") format("woff2"),
    url("../fonts/Poppins-Light.woff") format("woff"),
    url("../fonts/Poppins-Light.ttf") format("truetype"),
    url("../images/Poppins-Light.svg#Poppins-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins SemiBold";
  src: url("../fonts/Poppins-SemiBold.eot");
  src: url("../fonts/Poppins-SemiBold.eot#iefix") format("embedded-opentype"),
    url("../fonts/Poppins-SemiBold.woff2") format("woff2"),
    url("../fonts/Poppins-SemiBold.woff") format("woff"),
    url("../fonts/Poppins-SemiBold.ttf") format("truetype"),
    url("../images/Poppins-SemiBold.svg#Poppins-SemiBold") format("svg");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins ExtraBold";
  src: url("../fonts/Poppins-ExtraBold.eot");
  src: url("../fonts/Poppins-ExtraBold.eot#iefix") format("embedded-opentype"),
    url("../fonts/Poppins-ExtraBold.woff2") format("woff2"),
    url("../fonts/Poppins-ExtraBold.woff") format("woff"),
    url("../fonts/Poppins-ExtraBold.ttf") format("truetype"),
    url("../images/Poppins-ExtraBold.svg#Poppins-ExtraBold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
.modalType {
  transition: 0.3s;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999999999;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  top: 0;
  left: 0;
}
.modalType.active {
  transition: 0.3s;
  visibility: inherit !important;
  pointer-events: auto;
  opacity: 1;
}
.modalType .modalbg {
  position: fixed;
  background: #000;
  width: 100%;
  height: 100%;
  opacity: 0.75;
  z-index: -1;
  left: 0;
  top: 0;
}
.modalType .buttonCloses {
  position: absolute;
  top: -40px;
  right: 0;
  cursor: pointer;
  height: 100%;
}
@media only screen and (max-width: 480px) {
  .modalType .buttonCloses {
    top: 0;
    margin: 10px;
  }
}
.modalType .buttonCloses span {
  display: block;
  width: 40px;
  height: 3px;
  background: #fff;
}
@media only screen and (max-width: 480px) {
  .modalType .buttonCloses span {
    background: #000;
    width: 30px;
  }
}
.modalType .buttonCloses span:first-child {
  transform: rotate(45deg);
  position: relative;
  top: 17px;
}
.modalType .buttonCloses span:last-child {
  transform: rotate(-45deg);
  position: relative;
  top: 14px;
}
.modalType strong {
  font-family: "Poppins SemiBold";
}
.modalType .mcmodal {
  width: 900px;
  height: auto;
  margin: 70px auto;
  padding: 0;
  max-width: 90%;
  background: #fff;
  border-radius: 20px;
}
@media only screen and (max-width: 767px) {
  .modalType .mcmodal {
    margin: 0 auto;
  }
}
@media only screen and (max-width: 480px) {
  .modalType .mcmodal {
    max-width: 100%;
    border-radius: initial;
  }
}
.modalType .mcmodal .modalTitle {
  padding: 15px 60px 12px 40px;
  border-bottom: 1px solid #d7d7d7;
  position: relative;
  text-transform: capitalize;
  color: #000;
  font-size: 21px;
}
.modalType .mcmodal .modalTitle h3 {
  color: #e01717;
  font: 27px "Poppins SemiBold";
}
.modalType .mcmodal .modalTitle h4 {
  margin: 0;
  text-transform: capitalize;
  color: #000;
  font-size: 24px;
}
.modalType .mcmodal .modalContent {
  padding: 40px;
  max-height: 80vh;
  overflow: auto;
}
@media only screen and (max-width: 480px) {
  .modalType .mcmodal .modalContent {
    max-height: 100vh;
  }
}
.modalType .mcmodal .modalContent::-webkit-scrollbar {
  width: 5px;
}
.modalType .mcmodal .modalContent::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.modalType .mcmodal .modalContent::-webkit-scrollbar-thumb {
  background: #e01717;
}
.modalType .mcmodal .modalContent::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.modalType .mcmodal table {
  width: 100% !important;
  border: none;
  margin: 0 0 1.3rem 0;
}
.modalType .mcmodal table th,
.modalType .mcmodal table td {
  border: 1px solid #f0f0f0;
  padding: 6px 15px;
}
.modalType .mcmodal table th a,
.modalType .mcmodal table td a {
  transition: 0.3s;
  color: #000 !important;
}
.modalType .mcmodal table th a:hover,
.modalType .mcmodal table td a:hover {
  transition: 0.3s;
  opacity: 0.6;
}
.modalType .mcmodal p {
  font: 16px/25px "Poppins Light";
}
.modalType .mcmodal p:first-child {
  margin-top: 0;
}
.modalType .mcmodal p:last-child {
  margin-bottom: 0;
}
.modalType .mcmodal p a {
  color: #000;
}
.modalType .mcmodal ul {
  padding: 0 20px;
}
.modalType .mcmodal ul li {
  font: 16px/25px "Poppins Light";
  margin: 5px 0;
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate3d(-50%, 24px, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-width: min(620px, 94vw);
  background: #10172a;
  color: #fff;
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: 0 28px 60px rgba(12, 16, 34, 0.34);
  z-index: 999999;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  font-family: "Poppins Light", sans-serif;
}

.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}

.cookie-consent__title {
  font-family: "Poppins SemiBold", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.cookie-consent__text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-family: "Poppins Medium", sans-serif;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cookie-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.cookie-btn--primary {
  background: linear-gradient(135deg, #e81116 0%, #ff6a3d 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(232, 17, 22, 0.32);
}

.cookie-btn--secondary {
  background: rgba(15, 27, 52, 0.62);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.cookie-btn--link {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  padding-left: 0;
  padding-right: 0;
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-btn--link:hover {
  transform: none;
  color: #fff;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 26, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000000;
}

.cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal__dialog {
  background: #fff;
  border-radius: 26px;
  width: min(680px, 92vw);
  padding: 36px 38px;
  box-shadow: 0 32px 70px rgba(9, 12, 28, 0.35);
  position: relative;
}

.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(9, 16, 36, 0.08);
  color: #0c1327;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-modal__close:hover,
.cookie-modal__close:focus-visible {
  background: rgba(9, 16, 36, 0.14);
  outline: none;
}

.cookie-modal__title {
  font-family: "Poppins SemiBold", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #131933;
}

.cookie-modal__text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5363;
  margin-bottom: 26px;
}

.cookie-option {
  border: 1px solid rgba(19, 25, 51, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  background: rgba(246, 248, 253, 0.7);
}

.cookie-option:last-of-type {
  margin-bottom: 0;
}

.cookie-option__content h4 {
  font-family: "Poppins Medium", sans-serif;
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #131933;
}

.cookie-option__content p {
  margin: 0;
  font-size: 0.92rem;
  color: #5e6678;
  line-height: 1.55;
}

.cookie-option.is-disabled {
  opacity: 0.7;
  background: rgba(241, 243, 248, 0.9);
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 54px;
  height: 28px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: rgba(19, 25, 51, 0.24);
  border-radius: 40px;
  transition: background 0.3s ease;
}

.cookie-toggle__slider::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 16, 33, 0.25);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: linear-gradient(135deg, #e81116 0%, #ff6a3d 100%);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(26px);
}

.cookie-toggle input:focus-visible + .cookie-toggle__slider {
  outline: 2px solid rgba(232, 17, 22, 0.4);
  outline-offset: 2px;
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
  background: rgba(19, 25, 51, 0.18);
}

.cookie-toggle input:disabled + .cookie-toggle__slider::before {
  box-shadow: none;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: flex-end;
}

.cookie-modal__actions .cookie-btn--link {
  margin-right: auto;
  padding-left: 0;
}

.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cookie-consent {
    padding: 22px;
    border-radius: 20px;
  }

  .cookie-modal__dialog {
    padding: 30px 24px 28px;
  }

  .cookie-option {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-modal__actions {
    justify-content: stretch;
  }

  .cookie-modal__actions .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cookie-consent {
    bottom: 16px;
    padding: 20px 18px;
  }

  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-modal__dialog {
    border-radius: 20px;
  }
}
