@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
  margin: 0;
  font-family: "Rubik", sans-serif;
  background: #fff;
}

.ui-wrap {
    border-radius: 30px;
    margin: 40px auto;
    max-width: 95%;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 8px 48px #b0aafa60;
    --r: 20px;
    --s: 20px;
    --x: 270px;
    --y: 50px;
    width: 100%;
    aspect-ratio: 1;
    background: #1e263d;
    border-radius: var(--r);
    --_m: /calc(2*var(--r)) calc(2*var(--r)) radial-gradient(#000 70%, #0000 72%);
    --_g: conic-gradient(from 180deg at var(--r) calc(100% - var(--r)), #0000 25%, #000 0);
    --_d: (var(--s) + var(--r));
    mask: calc(var(--_d) + var(--x)) 100% var(--_m), 0 calc(100% - var(--_d) - var(--y)) var(--_m), radial-gradient(var(--s) at 0 100%, #0000 99%, #000 calc(100% + 1px)) calc(var(--r) + var(--x)) calc(-1*var(--r) - var(--y)), var(--_g) calc(var(--_d) + var(--x)) 0, var(--_g) 0 calc(-1*var(--_d) - var(--y));
    mask-repeat: no-repeat;
    background-color: #FFA26D;
    background: url(../images/login-bg-img.png), #001f41;
    background-size: cover;
}
.ui-nav {
  display: flex;
  padding: 30px 40px 0 40px;
  color: #fff;
}

.ui-logo {
  display: flex;
  align-items: center;
}

.ui-logo img {
    height: 80px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}
.ui-logo span {
    font-weight: bold;
    font-size: 23px;
    line-height: 1;
    color: #ffffff;
}

.ui-logo span b {
  font-weight: 400;
  font-size: 20px;
  display: block;
  letter-spacing: normal;
  margin-top: 8px;
}

.ui-menu {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 24px;
  margin-left: 60px;
  margin-left: auto;
  padding-right: 30px;
  height: 38px;
  align-items: center;
}

.ui-menu li a {
  padding: 0;
  color: #f75700;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.ui-menu li a:hover {
  color: #fff;
}

.ui-right {
  display: flex;
  align-items: normal;
  gap: 20px;
  height: 38px;
}

.ui-btn {
    border: none;
    border-radius: 5px;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 22px;
    background: #f75700;
    color: #fff;
    transition: background 0.14s;
    white-space: nowrap;
    font-size: 13px;
    position: relative;
}

.ui-btn:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-top: 10px solid #f75700;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.ui-btn.signup {
    background: rgb(255 255 255);
    color: #101010;
}

.ui-btn.signup:after {
  display: none
}

.ui-btn.signup:hover {
  background: #f75700;
  color: #ffffff;
}

.ui-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 77%;
  margin: 0px 40px;
}

.ui-image {
  flex: none;
  padding-top: 0px;
  width: 22vw;
}

.ui-image img {
  width: 100%;
  max-width: 100%;
  -webkit-animation: mover 1.6s infinite alternate;
  animation: mover 1.6s infinite alternate;
}

@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes mover {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

.ui-main .ui-left-data {
  width: 33vw;
}

.ui-main .ui-left-data h2 {
    color: #fff;
    font-size: 1vw;
    border-left: 2px solid rgb(255 255 255 / 30%);
    padding-left: 2rem;
    line-height: normal;
    margin-bottom: 1rem;
    font-weight: 500;
}
.ui-main .ui-left-data p {
  color: #fff;
  font-size: 0.8vw;
  padding-left: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.ui-main .ui-left-data ul {
  margin: 0;
  padding: 0;
  row-gap: 0vw;
  column-gap: 0.5vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-left: 1.6vw;
}

.ui-main .ui-left-data ul li {
    color: #ffffff;
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    /* border: 1px solid rgb(82 82 82); */
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    flex: 1;
    line-height: normal;
    font-size: 0.8vw;
    align-items: center;
    background: rgb(247 87 0);
    /* background: linear-gradient(157deg, rgb(255 155 98) 0%, rgb(255 177 133) 50%, rgb(250 129 203 / 60%) 90%); */
    transition: .3s;
    font-weight: 500;
}

.ui-main .ui-left-data ul li:hover {
  transform: scale(1.1);
  z-index: 2;
  box-shadow: 0 2px 22px rgb(0 0 0 / 12%);}

.ui-main .ui-left-data ul li img {
    /* filter: brightness(0) invert(1); */
    width: 2.1vw;
    height: 2.1vw;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.ui-card {
    background: rgb(255 255 255);
    border-radius: 15px;
    box-shadow: 0 2px 22px rgb(0 0 0 / 12%);
    padding: 30px 30px;
    width: 420px;
    position: relative;
    margin-bottom: 2vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.ui-card .bi {
    position: absolute;
    top: 9px;
    left: 12px;
    color: #c7c7c7;
}

.ui-card h2 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 500;
}

    .ui-card input, .ui-card select {
        width: 100%;
        padding: 10px 16px;
        margin-bottom: 10px;
        border-radius: 8px;
        border: 1px solid rgb(217 216 216);
        background: #ffffff;
        color: #8f8f8f;
        font-size: 14px;
        padding-left: 33px;
        font-weight: 300;
        appearance: auto;
    }

.ui-card input:focus,
.ui-card select:focus {
  border: 1px solid #5e60cf;
  outline: none;
  box-shadow:none;
}

.ui-card input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
color: #8f8f8f;
}

.ui-card input::-moz-placeholder {
  /* Firefox 19+ */
color: #8f8f8f;
}

.ui-card input:-ms-input-placeholder {
  /* IE 10+ */
color: #8f8f8f;
}

.ui-card input:-moz-placeholder {
  /* Firefox 18- */
 color: #8f8f8f;
}

.ui-login {
    background: #32348b;
    color: #ffffff;
    padding: 8px 0;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    /* border: none; */
    margin-bottom: 4px;
    font-weight: 500;
    background: #f75700;
    border: 0px;
    /* background: linear-gradient(157deg, rgba(255, 162, 109, 1) 0%, rgba(255, 162, 109, 1) 50%, rgba(250, 129, 203, 1) 90%); */
    background-size: 100% 100%;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.ui-login:hover {
    background: #d5520b;
  background-position: 100% 0;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  transform: scale(1.05);
  z-index: 1;
}

.ui-linkrow {
  width: 100%;
  font-size: 14px;
  text-align: center;
}

.ui-linkrow a {
    color: #32348b;
    text-decoration: none;
}

.ui-footer {
  display: flex;
  align-items: center;
  /* padding: 50px 52px; */
  color: #fff;
  background: none;
  gap: 0px;
  position: absolute;
  bottom: 1vw;
  left: 0;
  width: calc(100% - 0px);
  z-index: 99;
  width: 90%;
  margin: auto;
  right: 0px;
  height: 100px;
}

.ui-avatar {
  height: 40px;
}

.ui-foottext {
  display: flex;
  gap: 24px;
  align-items: center;
  position: relative;
  top: -1vw;
}

.ui-foottext span {
  color: #2e2e2e;
  font-size: 12px;
  font-weight: 400;
  display: block;
  border-right: 1px solid #8688c9;
  padding-right: 1rem;
  position: relative;
  top: 8px;
}

.ui-footerlinks {
    color: #ffffffd6;
    font-size: 12px;
    margin-left: auto;
}

/* Open Button */
.open-btn {
    padding: 5px 10px;
    background: #1e263d;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
    position: absolute;
    right: 6px;
    top: 7px;
}

.open-btn:hover {
  background: #24115e;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease forwards;
}

.modal-content {
  background: #fff;
  margin: 0% auto;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transform: scale(0.7);
  opacity: 0;
  animation: popup 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popup {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Header */
.modal h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #333;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.close:hover {
  color: #000;
}

/* OTP Input */
.otp-input {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.otp-input input {
  width: 45px;
  height: 55px;
  text-align: center;
  font-size: 22px;
  border: 2px solid #ccc;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.otp-input input:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
  outline: none;
  transform: scale(1.05);
}

/* Verify Button */
.verify-btn {
  padding: 12px 24px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.verify-btn:hover {
  background: #1e7e34;
}

/* Result Message */
.result {
  margin-top: 15px;
  font-weight: bold;
  transition: 0.3s;
}

.modal-backdrop {
  z-index: 1;
}

.modal-footer {
  justify-content: center;
  border: 0px;
  padding-top: 0px;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.btn-close {
  background: transparent var(--bs-btn-close-bg) center/0.8em auto no-repeat;
  position: absolute;
  right: 10px;
  top: 10px;
}


.inputs input {
  width: 40px;
  height: 40px
}

.inputs input[type=number]::-webkit-inner-spin-button,
.inputs input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0
}

@media screen and (min-width: 320px) and (max-width: 1024px) {
  .ui-main .ui-left-data {
    width: 100%;
  }

  .ui-image {
    display: none;
  }

  .ui-main {
    display: block;
    height: auto;
    margin: 10px 10px;
  }

  .ui-nav {
    display: block;
    padding: 10px;
  }

  .ui-menu li a {
    white-space: normal;
  }
.ui-wrap {
    border-radius: 0px;
    margin: auto;
    max-width: none;
    max-height: none;
    position: relative;
    box-shadow: 0 8px 48px #b0aafa60;
    --r: 20px;
    --s: 20px;
    --x: 270px;
    --y: 50px;
    width: 100%;
    aspect-ratio: auto;
    border-radius: inherit;
    --_m: /calc(2*var(--r)) calc(2*var(--r)) radial-gradient(#000 70%, #0000 72%);
    --_g: conic-gradient(from 180deg at var(--r) calc(100% - var(--r)), #0000 25%, #000 0);
    --_d: (var(--s) + var(--r));
    mask: none;
    mask-repeat: no-repeat;
    padding-bottom: 2rem;
    min-height: 100vh;
}
  .ui-btn {
    border: none;
    padding: 5px 8px;
    white-space: normal;
    font-size: 12px;
    position: relative;
    line-height: normal;
  }

  .ui-right {
    align-items: normal;
    gap: 10px;
    height: auto;
  }

  .ui-footer {
    display: block;
    align-items: center;
    padding: 5px;
    color: #fff;
    background: none;
    gap: 0px;
    position: relative;
    bottom: 0px;
    left: 0;
    width: calc(100% - 0px);
    z-index: 99;
    width: 100%;
    margin: auto;
    right: 0px;
    height: auto;
    text-align: center;
  }

  .ui-card { 
    border-radius: 10px;
    box-shadow: 0 2px 22px #5446901a;
    padding: 20px 20px;
    width: 100%;
    position: relative;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 1rem;
  }

  .ui-main .ui-left-data h2 {
    display: none;
  }

  .ui-main .ui-left-data p {
    display: none;
  }

  .ui-logo img {
    height: 60px;
    margin-right: 5px;
  }

  .ui-logo span {
    font-weight: 700;
    font-size: 16px;
  }

  .ui-logo span b {
    font-weight: 500;
    font-size: 12px;
    display: block;
    letter-spacing: 0px;
    margin-top: 8px;
  }

  .ui-login {
    font-size: 14px;
  }

  .ui-card input,
  .ui-card select {
    border-radius: 5px;
    font-size: 12px;
    padding-left: 33px;
  }

  .ui-card .bi {
    top: 8px;
  }

  .ui-linkrow {
    font-size: 12px;
  }

  .ui-menu {
    display: none;
  }

  .ui-main .ui-left-data ul li img {
    width: 20px;
    height: 20px;
  }

  .ui-main .ui-left-data ul li {
    margin-bottom: 5px;
    font-size: 10px;
    padding: 5px;
  }

  .ui-main .ui-left-data ul {
    column-gap: 5px;
    margin-left: 0px;
  }

  .ui-logo {
    margin-bottom: 1rem;
  }

  .ui-foottext {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    top: 0px;
    justify-content: center;
    margin-bottom: 1rem;
    margin-bottom: 10px;
  }

  .ui-avatar {
    height: 30px;
  }

  .ui-foottext span {
    font-size: 10px;
    padding-right: 10px;
    top: 6px;
  }

  .ui-footerlinks {
    font-size: 10px;
    margin-left: auto;
    color: #353535;
  }

  .ui-card h2 {
    margin-bottom: 6px;
    font-size: 1em;
  }
}