* {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

#matador-connect-text-label-header,#matador-connect-text-label-new,#matador-connect-text-label-badge,#userwayAccessibilityIcon {
  display: none !important;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.hover-blue:hover {
  background-color: #1b2dd3 !important;
  border: 1px solid #16317b !important;
}

body {
  margin: 0;
  background: #f5f5f5;
}

.choose-page {
  background-color: white;
}

.header {
  background: #fff;
  padding: 14px;
  width: 100%;
}

.centred {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  border: 1px solid #20419a57;
  box-shadow: 1px 1px #20419a17;
  border-radius: 28px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  /* gap: 20px; */
  justify-content: space-between;
}

/* Logo */
.logo, .logo-mobile {
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #20419a;
  margin-right: 20px;
}

.logo-h {
  color: #f58220;
  margin-right: 2px;
}

.logo-dot {
  font-weight: 500;
  font-size: 14px;
  margin-left: 2px;
}

/* Search */
.search-box {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  padding: 8px 14px;
  border-radius: 20px;
  min-width: 300px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  margin-left: 8px;
  width: 100%;
}

.phone-btn {
    text-decoration: none;
    color: white;
    background-color: #20419a;
    border-radius: 16px;
    padding: 16px 32px;
    font-weight: bold;
    cursor: pointer;
}

.phone-btn img {
  margin-right: 10px;
}

/* Navigation */
.nav {
  display: flex;
  gap: 22px;
  /* margin-left: auto; */
  font-size: 24px;
  font-weight: 600;
  margin-right: 30px;
}

.nav a,
.dropdown-btn {
  text-decoration: none;
  color: #13275c;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.nav a:hover,
.dropdown-btn:hover {
  transform: scale(1.02);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  border: 2px solid #20419a;
  border-radius: 30px;
  width: 50px;
  height: 50px;
}

.burger >span {
  width: 22px;
  height: 2px;
  background: #20419a;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  padding: 90px 24px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 1000;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu nav a {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  text-decoration: none;
  color: #111;
}

.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 1001;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #f1f1f1;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.mobile-menu-close:hover {
  background: #e5e5e5;
}

.search-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  transform: scale(0.9);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 250px;
}

#modal-search-input {
  width: 100%;
  margin-top: 20px;
  height: 40px;
  border-radius: 10px;
  padding: 5px 10px;
}

#modal-search-apply {
  background-color: #20419a;
  color: white;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  width: 200px;
  border-radius: 10px;
  border: 1px solid #16317b;
  margin-top: 40px;
}

.search-modal.active .search-modal-content {
  transform: scale(1);
}

.close-search {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
}

.search-icon img {
    width: 20px;
}

footer {
  background-color: #1e1c1c;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 40px 20px;
  color: #ffffffc2;
  margin-top: 120px;
  font-size: 18px;
}

.logo-mobile {
  display: none;
}

.footer-main > .logo, .footer-main > .logo-mobile {
  font-size: 42px;
  align-items: start;
}

.footer-main {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 20px 0 40px 0;

}

.footer-container {
  display: flex;
  flex-direction: row;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  margin-right: 50px;
}

.footer-nav a {
  text-decoration: none;
  color: #ffffffc2;;
  margin-top: 10px;
}

.footer-phone {
  display: flex;
  flex-direction: row;
  font-weight: 700;
  height: min-content;
  align-items: center;
  text-decoration: none;
}

.footer-phone-number a {
  color: inherit !important;
  text-decoration: none !important;
}

.footer-phone >div> div{
  font-weight: 500;
  margin-top: 5px;
}

.footer-phone-img {
  background-color: rgba(128, 128, 128, 0.48);
  padding: 5px;
  width: 36px;
  height: 36px;
  margin-right: 5px;
  border-radius: 30px;
}

.footer-addition {
  border-top: 1px solid grey;
  color: rgba(255, 255, 255, 0.181);
  padding: 15px 0 0 0;

}

.breadcrumbs {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: start;
  font-size: 14px;
  padding-left: 20px;
  margin: 30px 0px 40px 0px;
}

.breadcrumbs a {
  text-decoration: none;
  color: #20419a;
}

.centred.burger-container {
  display: none;
}
.actions {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.actions>a:hover {
  transition: 0.5;
  transform: scale(1.01);
}


#loader-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  visibility:hidden;
  opacity:0;
  transition:.2s;
}

#loader-overlay.active{
  visibility:visible;
  opacity:1;
}

.loader{
  width:40px;
  height:40px;
  border:4px solid #fff;
  border-top:4px solid transparent;
  border-radius:50%;
  animation:spin .8s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg)}
}


.success-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  visibility:hidden;
  opacity:0;
  transition:.2s;
  z-index: 999999;
}

.success-content>button {
  padding: 10px 24px;
  border: 1px solid #16317b;
  background: #20419A;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.25s;
  font-weight: 600;
}

.success-modal.active{
  visibility:visible;
  opacity:1;
}

.success-content{
  background:#fff;
  padding:30px;
  text-align:center;
  border-radius:10px;
}

.success-content>h2 {
  font-size: 36px;
}

.success-content>p {
  font-size: 24px;
}


@media (max-width: 1024px) {
.centred.burger-container {
  display: flex;
}
.breadcrumbs {
  margin: 20px 0px 20px 0px;
}

     .nav,
  .search-box,
  .actions {
    display: none;
  }

  

    .m-hide {
        display: none;
    }

  .burger,
  .search-mobile-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: #20419a;
  } 

  .header-inner {
    padding: 14px 14px;
  }

  .logo {
    font-size: 34px;
  }
  
  .search-mobile-btn {
    /* background-image: url(/img/search-icon.svg); */
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-items: center;
    margin-right: 15px;
  }

  .search-mobile-btn>img {
    width: 36px;
    height: 36px;
    justify-self: center;
    align-self: center;
  }

  .header-inner {
    justify-content: space-between;
  }

  .header {
    padding: 8px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-nav {
    margin: 0 0 30px 0;
  }

  .footer-phone-img {
    display: none;
  }

  .desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

.logo-mobile {
  display: block;
}

.logo {
  display: none;
}

header .logo {
  display: none;
}
}
 