
* {
  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: linear-gradient(135deg, #088395, #21cfb3);
  color: #fff;
  border-radius: 0 50px 50px 0;
}

.right {
  right: 0;
  background: #fff;
  color: #005966;
  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 #fff; 
  background: transparent; 
  color: #fff; 
  cursor: pointer;
  transition: 0.3s;
}

.signin-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;
}


.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: #555;
  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: #088395;
  padding-right: 10px;
  border-right: 2px solid #21cfb3;
}

.input-box input {
  width: 100%;
  padding: 16px 15px 16px 50px;
  border-radius: 25px;
  border: 1px solid #d8d8d8;
  outline: none;
  font-size: 16px;
  background: #f9f9f9;
  transition: 0.3s;
}

.input-box input:focus {
  border-color: #088395;
  box-shadow: 0 0 8px rgba(33, 207, 179, 0.3);
}

.signup-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;
}

.signup-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;
}


/* Password Alert Box - Red Theme */
.password-requirements {
    display: none;
    background: #fff5f5;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #feb2b2;
    text-align: left;
}

.password-requirements p {
    font: 700 0.85rem 'Poppins', sans-serif;
    margin-bottom: 8px;
    color: #c53030;
}

#req-list div {
    font: 500 0.8rem 'Poppins', sans-serif;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s ease;
}

/* Status Colors */
.invalid { color: #ef4444; } /* Red */
.valid { color: #21CFB3; }   /* Green */




/* --- RESPONSIVE ADJUSTMENTS --- */

/* Para sa Tablets at Small Laptops (Max 1024px) */
@media (max-width: 1024px) {
    .split {
        width: 100%;       /* Full width na ang bawat panel */
        position: relative; /* Inalis ang fixed para makapag-scroll */
        height: auto;      /* Content na ang magdidikta ng haba */
        min-height: 50vh;
        padding: 60px 20px;
        border-radius: 0;
    }

    .left {
        /* Rounded corners sa ilalim para sa transition sa susunod na card */
        border-radius: 0 0 40px 40px; 
    }

    .right {
        /* Rounded corners sa itaas */
        border-radius: 40px 40px 0 0;
        margin-top: -30px; /* Konting overlap para sa style */
        z-index: 2;
        background: #ffffff;
    }

    .name-box {
        flex-direction: column; /* Stacked na 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;
    }

    /* Gawing mas madaling pindutin ang buttons sa maliit na screen */
    .signin-btn, 
    .signup-btn {
        width: 100%; 
        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;
        font-size: 14px;
    }
}
