@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f0f5f7;
}


.split {
  height: 100vh;
  width: 50%;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  transition: 0.5s;
  overflow: hidden;
}

.left {
  left: 0;
  background: #ffffff;
  color: #005966;
  border-radius: 0 50px 50px 0;
  text-align: center;
}

.right {
  right: 0;
  background: linear-gradient(135deg, #088395, #21cfb3);
  color: #fff;
  border-radius: 50px 0 0 50px;
  text-align: center;
}


.left-content {
  max-width: 400px;
  text-align: center;
}

.left-content .brand {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.illustration img {
  width: 200px;
  margin: 20px 0;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.left-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.left-content p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.left-bottom p {
  margin-bottom: 10px;
}

.signin-btn {
  padding: 16px 60px;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  border: 2px solid #088395; 
  background: #088395;       
  color: #fff;              
  cursor: pointer;
  transition: 0.3s;
}

.signin-btn:hover {
  background: transparent;   
  color: #088395;            
  border: 2px solid #088395; 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}


.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}


.admin-btn {
  padding: 12px 40px 12px 20px; 
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  border: 2px solid #21CFB3;
  background: transparent;
  color: #21CFB3;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px; 
  transition: 0.3s;
  width: fit-content; 
}

.admin-btn:hover {
  background: #21CFB3;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.admin-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}




.right-content {
  max-width: 400px;
  width: 100%;
}

.right-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.small-text {
  font-size: 1rem;
  color: #ffffffcc; 
  margin-bottom: 30px;
}

.form-container {
  width: 100%;
}

.name-box {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.input-box {
  position: relative;
  flex: 1;
  margin-bottom: 20px;
}

.input-box .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  padding-right: 10px;
  border-right: 2px solid #ffffff66;
}

.input-box input {
  width: 100%;
  padding: 16px 15px 16px 50px;
  border-radius: 25px;
  border: 1px solid #d8d8d8; 
  outline: none;
  font-size: 16px;
  background: #f9f9f9; 
  color: #005966; 
  transition: 0.3s;
}

.input-box input::placeholder {
  color: #888; 
}

.input-box input:focus {
  border-color: #088395; 
  box-shadow: 0 0 8px rgba(8, 131, 149, 0.3);
  background: #fff; 
}


.input-box .icon {
  color: #088395;
  border-right: 2px solid #21cfb3;
}

.forgot-link {
  display: block;
  text-align: right;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #088395;
  font-weight: 500;
  transition: 0.3s;
}

.forgot-link:hover {
  color: #21cfb3;
  text-decoration: underline;
  letter-spacing: 0.5px;
}

.signup-btn {
  padding: 16px 60px;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  border: 2px solid #fff; 
  background: transparent; 
  color: #fff; 
  cursor: pointer;
  transition: 0.3s;
}

.signup-btn:hover {
  background: #fff; 
  color: #088395; 
  border: 2px solid #fff; 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}


@media (max-width: 1024px) {
  .split {
    width: 100%;
    position: relative;
    padding: 50px 20px;
    border-radius: 0;
  }
  .left, .right { border-radius: 0; }
  .name-box { flex-direction: column; }
}

@media (max-width: 768px) {
  .left-content h1 { font-size: 2rem; }
  .left-content .brand { font-size: 1.8rem; }
  .right-content h3 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .left-content h1 { font-size: 1.5rem; }
  .signin-btn, .signup-btn { padding: 12px 40px; font-size: 1.1rem; }
  .illustration img { width: 150px; }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Para sa Tablets at Small Laptops (Max 1024px) */
@media (max-width: 1024px) {
    .split {
        width: 100%; /* Gawing full width ang panels */
        position: relative; /* Alisin ang fixed position para makapag-scroll */
        height: auto; /* Hayaan ang content ang mag-determine ng height */
        min-height: 50vh;
        padding: 60px 20px;
        border-radius: 0;
    }

    .left {
        border-radius: 0 0 40px 40px; /* Rounded corners sa ilalim na lang */
    }

    .right {
        border-radius: 40px 40px 0 0; /* Rounded corners sa itaas na lang */
        margin-top: -20px; /* Konting overlap para sa disenyo */
        z-index: 2;
    }

    .name-box {
        flex-direction: column; /* Gawing vertical ang First Name at Last Name inputs */
        gap: 0;
    }
}

/* Para sa Mobile Phones (Max 768px) */
@media (max-width: 768px) {
    .left-content h1, .left-content .brand {
        font-size: 2rem;
    }

    .right-content h3 {
        font-size: 1.6rem;
    }

    .illustration img {
        width: 180px;
    }

    .signin-btn, .signup-btn {
        width: 100%; /* Gawing full width ang buttons sa mobile para madaling pindutin */
        padding: 14px 20px;
        font-size: 1.2rem;
    }
}

/* Para sa Small Phones (Max 480px) */
@media (max-width: 480px) {
    .split {
        padding: 40px 15px;
    }

    .left-content h1 {
        font-size: 1.6rem;
    }

    .left-content p, .small-text {
        font-size: 0.9rem;
    }

    .illustration img {
        width: 140px;
    }

    .input-box input {
        padding: 14px 15px 14px 45px; /* Konting liit sa padding */
        font-size: 14px;
    }
}