* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  overflow: hidden;
}


/* ================================================= */
/* MAIN PAGE */
/* ================================================= */

.login-page {
  width: 100%;
  height: 100vh;
  display: flex;
}


/* ================================================= */
/* LEFT BANNER */
/* ================================================= */

.login-banner {
  width: 58%;
  height: 100vh;
  position: relative;
  background-image: url('/Images/travel-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* Overlay */

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( 135deg, rgba(30, 41, 59, 0.88), rgba(108, 43, 217, 0.70) );
}


/* Banner content */

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
  padding: 60px;
  color: white;
}


/* Logo */

.banner-logo img {
  width: 190px;
  margin-bottom: 35px;
}


/* Heading */

.banner-content h1 {
  font-size: 58px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 25px;
}


/* Description */

.banner-content p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 35px;
}


/* Features */

.travel-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

  .travel-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
  }

  .travel-features i {
    font-size: 22px;
  }


.login-section {
  width: 42%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  padding: 20px 20px 20px 0;
  overflow-y: auto;
}

.login-card {
  width: 100%;
  height: calc(100vh - 40px);
  max-width: none;
  padding: 25px 38px 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: none;
  border-radius: 0 22px 22px 0;
  box-shadow: 0 15px 40px rgba(30, 41, 59, 0.12);
  margin-bottom: 20px;
}

  /* Purple border */

  .login-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient( 135deg, #6C2BD9, transparent 35%, transparent 65%, #9D4EDD );
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
  }

  .login-card:hover::before {
    opacity: 1;
  }


/* ================================================= */
/* LOGO */
/* ================================================= */

.login-logo {
  text-align: center;
  margin-bottom: 15px;
}

  .login-logo img {
    width: 135px;
    transition: 0.3s;
  }

    .login-logo img:hover {
      transform: scale(1.05);
    }


/* ================================================= */
/* HEADING */
/* ================================================= */

.login-heading {
  text-align: center;
}

.admin-icon {
  width: 65px;
  height: 65px;
  margin: 5px auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient( 135deg, #6C2BD9, #9D4EDD );
  color: white;
  font-size: 27px;
  box-shadow: 0 10px 25px rgba(108,43,217,0.25);
  animation: iconPulse 2.5s infinite;
}


.login-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}


.login-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}


/* ================================================= */
/* TABS */
/* ================================================= */

.login-tabs {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 22px;
}


.login-tab {
  flex: 1;
  height: 45px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #64748b;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}


  .login-tab i {
    margin-right: 6px;
  }


  .login-tab:hover {
    color: #6C2BD9;
  }


  .login-tab.active {
    background: white;
    color: #6C2BD9;
    box-shadow: 0 5px 15px rgba(30,41,59,0.10);
  }


/* ================================================= */
/* FORM */
/* ================================================= */

.login-form {
  animation: formSlide 0.35s ease;
}


.input-group-custom {
  margin-bottom: 17px;
}


  .input-group-custom label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
  }


.input-box {
  height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #f8fafc;
  transition: all 0.3s ease;
}


  .input-box i {
    margin-left: 16px;
    color: #6C2BD9;
    font-size: 17px;
  }


  .input-box input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
  }


  .input-box:focus-within {
    border-color: #6C2BD9;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(108,43,217,0.10);
  }


/* ================================================= */
/* LOGIN BUTTON */
/* ================================================= */

.login-submit {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 11px;
  background: linear-gradient( 135deg, #6C2BD9, #9D4EDD );
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(108,43,217,0.25);
}


  .login-submit i {
    margin-right: 7px;
  }


  .login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(108,43,217,0.35);
  }


  .login-submit:active {
    transform: scale(0.98);
  }


/* ================================================= */
/* BACK HOME */
/* ================================================= */

.back-home {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: #6C2BD9;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: 0.3s;
}


  .back-home:hover {
    color: #9D4EDD;
    transform: translateX(-2px);
  }


/* ================================================= */
/* FOOTER */
/* ================================================= */

.login-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
  font-size: 10px;
  color: #94a3b8;
}


  .login-footer span {
    color: #6C2BD9;
    font-weight: 600;
  }


  .login-footer small {
    font-size: 9px;
  }


/* ================================================= */
/* ANIMATIONS */
/* ================================================= */

@keyframes cardEntrance {

  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


@keyframes formSlide {

  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes iconPulse {

  0% {
    box-shadow: 0 0 0 0 rgba(108,43,217,0.25);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(108,43,217,0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(108,43,217,0);
  }
}


/* ================================================= */
/* MOBILE */
/* ================================================= */

@media (max-width: 900px) {

  body {
    overflow: auto;
  }

  .login-page {
    min-height: 100vh;
    height: auto;
  }

  .login-banner {
    display: none;
  }

  .login-section {
    width: 100%;
    min-height: 100vh;
    padding: 25px 15px;
  }

  .login-card {
    max-width: 430px;
    padding: 25px 22px;
  }

  .login-logo img {
    width: 125px;
  }

  .login-title {
    font-size: 25px;
  }
}
