@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
  * {
    box-sizing: border-box;
  }

  body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to top, #084b70 0%, #002b4d 80%);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://cdn.pixabay.com/photo/2017/11/20/20/40/bubbles-2967995_1280.png') no-repeat center center;
    background-size: 100px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
  }

  .container {
    display: flex;
    width: 850px;
    max-width: 95vw;
    background: linear-gradient(135deg, #457fca 0%, #5691c8 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1;
  }

  .form-side {
    flex: 1;
    padding: 40px 30px;
    background: linear-gradient(145deg, #3769a8, #5691c8);
    color: white;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    box-shadow: inset 0 0 12px rgba(207, 204, 204, 0.2);
  }

  .form-side h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    user-select: none;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .input-group {
    position: relative;
    display: flex;
    align-items: center;
  }

  .input-group input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border-radius: 20px;
    border: none;
    background-color: #d6d5d3;
    font-size: 0.95rem;
    outline: none;
    transition: background-color 0.3s;
  }

  .input-group input::placeholder {
    color: #ffffff;
  }

  .input-group input:focus {
    background-color: #c0c0c0;
  }

  .input-icon {
    position: absolute;
    left: 12px;
    color: #555;
    font-size: 1rem;
    pointer-events: none;
  }

  .checkbox-group {
    margin: 16px 0;
    display: flex;
    align-items: center;
  }

  .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #3a5fa8;
    cursor: pointer;
  }

  .checkbox-group label {
    font-size: 0.9rem;
    user-select: none;
    cursor: pointer;
  }

  button {
    padding: 12px 0;
    background: white;
    border-radius: 25px;
    border: none;
    color: #2F2F2F;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(255 255 255 / 0.7);
    transition: background-color 0.3s, box-shadow 0.3s;
  }

  button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  }

  .image-side {
    flex: 1;
    background: linear-gradient(to bottom, #7fa7f4 0%, #d2d4e8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.8);
    position: relative;
  }

  .circle-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #243e82;
    box-shadow: 8px 8px 15px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
  }

  .circle-image img {
    width: 200px;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(0 3px 2px rgba(0,0,0,0.3));
  }

  @media (max-width: 700px) {
    .container {
      flex-direction: column;
      width: 320px;
    }
    .form-side, .image-side {
      border-radius: 16px 16px 0 0;
      flex: none;
      width: 100%;
      padding: 25px;
    }
    .image-side {
      border-radius: 0 0 16px 16px;
      margin-top: 10px;
    }
    .circle-image {
      width: 200px;
      height: 200px;
    }
  }

  /* --- Global & Reset (Copied from login.css) --- */
:root {
    --primary-blue: #4a6ed9; /* Main action color */
    --font-color-light: #f0f2f7;
    --input-bg: #cbd3db;
    --text-input-color: #4a4a4a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; 
}

body, html {
    height: 100%;
    /* Deep blue/indigo gradient background */
    background: radial-gradient(circle at center, #073b5c 0%, #001e33 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--font-color-light);
}

/* --- Main Container: Glass-Morphic Card --- */
.container {
    width: 850px;
    max-width: 90vw;
    min-height: 500px;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    /* Soft, deep shadow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    /* Subtle glass effect on the main container */
    backdrop-filter: saturate(180%) blur(10px); 
    background: rgba(34, 55, 87, 0.8); /* Semi-transparent dark blue base */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Left Side - Form Section (Formerly .login-section in login.css) --- */
.form-side {
    flex: 1;
    padding: 50px;
    /* Stronger blue gradient for the form card itself */
    background: linear-gradient(135deg, #3b6bb6 0%, #2c547f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-side h1 {
    font-size: 2.5rem;
    margin-bottom: 35px;
    font-weight: 700;
    /* Neon glow effect */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); 
}

form {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Input Fields & Groups (Matching login.css) --- */
.input-group {
    background-color: var(--input-bg);
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-input-color);
    font-size: 0.9rem;
    /* Inner shadow for "pressed-in" look */
    box-shadow: inset 1px 1px 4px rgba(255,255,255,0.7),
        inset -1px -1px 4px rgba(0,0,0,0.1);
}

/* Icon style */
.input-group svg {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    fill: #7a7a7a;
    flex-shrink: 0;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 1rem;
    color: var(--text-input-color);
    font-weight: 500;
}

input::placeholder {
    color: #7a7a7a;
    font-weight: 500;
}

/* --- Checkbox Styling --- */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -10px; 
    font-size: 0.85rem;
    color: #aac0f7;
}

.checkbox-group input[type="checkbox"] {
    /* Style the checkbox appearance for better look on dark theme */
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #aac0f7;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    font-size: 14px;
    position: absolute;
    top: -2px;
    left: 2px;
}

/* --- Primary Sign Up Button (signup-btn) --- */
button.signup-btn {
    /* Same style as .login-btn */
    background: linear-gradient(145deg, var(--primary-blue), #3459b3);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(38, 81, 194, 0.7); /* Stronger shadow */
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
button.signup-btn:hover {
    background: linear-gradient(145deg, #3a5acb, #2a458f);
    box-shadow: 0 8px 20px rgba(50, 100, 250, 0.9);
    transform: translateY(-2px);
}
button.signup-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(38, 81, 194, 0.7);
}

/* Log In Link (Used instead of .create-account) */
.login-link {
    text-align: center;
    margin: 10px 0 15px;
    font-size: 0.85rem;
    color: #94a4cf;
}
.login-link a {
    color: #aac0f7;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}
.login-link a:hover {
    color: #d3dbfc;
}

/* --- Messages (Error/Success) - Dark/Neon Theme --- */
.message {
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid;
}

.message.error {
    background-color: rgba(255, 87, 34, 0.1); /* Orange/Red background */
    color: #ffc2b3; /* Light red text */
    border-color: #ff5722;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.5); /* Neon glow */
}


/* --- Right Side - Image Section (Copied from login.css) --- */
.image-side {
    flex: 1;
    background: linear-gradient(180deg, #8ca8e4 0%, #bcc6f2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    /* Soft internal light for the water section */
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.4); 
}

.water-bottle {
    background-color: #334a7e;
    border-radius: 50%;
    width: 280px;
    height: 340px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.6); /* Enhanced inner reflection */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    filter: drop-shadow(5px 5px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.8s ease-in-out;
    animation: bottle-tilt 8s ease-in-out infinite alternate; /* Added subtle animation */
}

.water-bottle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes bottle-tilt {
    0% { transform: rotate(1deg) translateY(0px); }
    100% { transform: rotate(-1deg) translateY(-5px); }
}


/* --- Responsiveness (Copied from login.css, adjusted section names) --- */
@media (max-width: 850px) {
    .container {
        flex-direction: column;
        min-height: auto;
        width: 95%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }
    
    /* Remove rounded corners from sections so the container handles it */
    .form-side {
        border-radius: 0;
        padding: 40px 30px;
    }
    
    /* Hide the image section on small screens to prioritize the form */
    .image-side {
        display: none; 
    }
}

@media (max-width: 450px) {
    .form-side h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    .form-side {
        padding: 30px 20px;
    }
    form {
        max-width: 100%;
    }
}
/* Input text color */
input[type="text"],
input[type="email"],
input[type="password"] {
  color: white;
}

/* Placeholder text color (optional - makes it semi-transparent white) */
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Autofill background fix (prevents browser default yellow background) */
input[type="text"]:-webkit-autofill,
input[type="email"]:-webkit-autofill,
input[type="password"]:-webkit-autofill {
  -webkit-text-fill-color: white;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}