.signup-section {
  background: #0b0b0b;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.signup-container {
  display: flex;
  gap: 70px; 
  align-items: center;
  justify-content: center;
}

.signup-card {
  background: #2c2c2c;
  padding: 25px;              
  border-radius: 16px;        
  width: 400px;              
  color: #fff;
}

.signup-card h2 {
  font-size: 20px;           
  margin-bottom: 4px;
}

.subtitle {
  font-size: 12px;           
  color: #aaa;
  margin-bottom: 15px;
}

.form-row-s {
  display: flex;
  gap: 8px;                  
  margin-bottom: 10px;
}

.form-group-s {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group-s label {
  font-size: 11px;            
  margin-bottom: 3px;
  color: #ccc;
}

.form-group-s input {
  padding: 8px;               
  font-size: 12px;
  border-radius: 8px;
  border: none;
  background: #3a3a3a;
  color: #fff;
  outline: none;
}

.form-group-s input:focus {
  border: 1px solid #4da6ff;
}

/* Button */
.btn-primary {
  width: 100%;
  padding: 10px;              /* reduced */
  font-size: 13px;
  border-radius: 8px;
  border: none;
  background: #fff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
}

.btn-primary:hover {
  background: #ddd;
}

/* Divider */
.divider {
  text-align: center;
  margin: 10px 0;
  font-size: 10px;
  color: #aaa;
}

/* Google Button */
.google-btn {
  width: 100%;
  padding: 8px;               /* reduced */
  font-size: 12px;
  border-radius: 8px;
  border: none;
  background: #444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.google-btn img {
  width: 16px;               /* smaller */
}

/* Login text */
.login-text {
  margin-top: 10px;
  font-size: 11px;
  text-align: center;
}

.login-text a {
  color: #4da6ff;
  text-decoration: none;
}

/* Image */
.signup-image img {
  width: 250px;              /* reduced */
  border-radius: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .signup-container {
    flex-direction: column;
  }

  .signup-image {
    display: none;
  }
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background-color: #d11a1a; /* Error Red */
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}


.star{
  color: #d11a1a;
}

/* 1. Wrapper handles the layout */
.password-containers {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-containers input {
  width: 100%;
  padding: 8px 35px 8px 10px !important; /* Extra padding on the right for the eye */
  font-size: 12px;
  background: #3a3a3a;
  border-radius: 8px;
  border: none;
  color: #fff;
  outline: none;
}

.password-containers i {
  position: absolute;
  right: 10px;          
  top: 50%;              
  transform: translateY(-50%); 
  cursor: pointer;
  color: #888;         
  font-size: 13px;     
  z-index: 10;
  transition: color 0.2s ease;
}

.password-containers i:hover {
  color: #69737c;
}


/* ==========================================
   RESPONSIVE MEDIA QUERIES FOR SIGNUP SECTION
   ========================================== */

/* Tablets and medium screens (900px and down) */
@media screen and (max-width: 900px) {
    .signup-section {
        padding: 30px 20px;
        min-height: 100vh;
    }

    .signup-container {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        max-width: 380px; /* Reduced to make the container compact */
    }

    .signup-card {
        width: 100%;
        max-width: 100%;
        padding: 20px; /* Reduced padding for a smaller look */
        border-radius: 14px;
    }

    .signup-image {
        display: none; 
    }
}

/* Mobile phones and small viewports (480px and down) - Extra Compact */
@media screen and (max-width: 480px) {
    .signup-section {
        padding: 15px 8px;
    }

    .signup-container {
        max-width: 72%;
        width: 72%;
    }

    .signup-card {
        padding: 12px 10px;
        border-radius: 10px;
    }

    .signup-card h2 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .subtitle {
        font-size: 9px;
        margin-bottom: 8px;
    }

    .form-row-s {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 0px;
    }

    .form-group-s {
        width: 100%;
    }

    .form-group-s label {
        font-size: 9px;
        margin-bottom: 1px;
    }

    .form-group-s input,
    .password-containers input {
        padding: 6px 8px;
        font-size: 11px;
        border-radius: 6px;
    }

    .password-containers input {
        padding-right: 30px !important;
    }

    .password-containers i {
        font-size: 11px;
    }

    .btn-primary,
    .google-btn {
        padding: 7px;
        font-size: 11px;
        margin-top: 5px;
        border-radius: 6px;
    }

    .google-btn img {
        width: 13px;
    }

    .divider {
        margin: 6px 0;
        font-size: 8px;
    }

    .login-text {
        margin-top: 6px;
        font-size: 9px;
    }

    #toast-container {
        top: 8px;
        right: 8px;
        left: 8px;
    }

    .toast {
        padding: 8px 12px;
        font-size: 11px;
        text-align: center;
    }
}