body {
 background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                  url('../edu_bg.jpg') center/cover no-repeat fixed;
      min-height: 100vh;
      background: #f2f6fc ;
      background-size: cover;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      align-items: center;

    }
    .signup-container {
      max-width: 450px;
      margin: 64px auto;
      background: rgba(255, 255, 255, 0.97);
            padding: 2.5rem;

      padding: 32px 28px 24px 28px;
      border-radius: 20px;
      box-shadow: 0 6px 32px rgba(60,80,180,0.09), 0 1.5px 4px rgba(0,0,0,0.07);
      position: relative;
       backdrop-filter: blur(10px);
      animation: slideIn .5s ease-out;
    }


     @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .signup-container h1 {
  




      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      text-align: center;
      color: #000;
    }
    .signup-container .brand-logo {
     width: 80px;
      height: 80px;
      margin-bottom: 1rem;
      animation: pulse 2s infinite;
      display: block;
      margin-left: auto;
      margin-right: auto; 
    }


     @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }

    .form-label {
     


       font-weight: 600;
      color: #333;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .form-control:focus {
       border-color: #ffd700;
      box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
      outline: none;
    }
    .error {
      color: #e3342f;
      font-size: .92em;
      margin-top: 3px;
      display: block;
    }
    .btn-primary, .btn-danger {
     width: 100%;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      color: #000;
      border: none;
      border-radius: 50px;
      padding: 0.875rem;
      font-weight: 700;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      margin-top: 1rem;
      box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    .btn-primary:hover, .btn-danger:hover {
      background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
      color: #000;
    }
    .btn-outline-secondary {
      color: #000000;
       display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
        flex: 1;
      border: 2px solid #e0e0e0;
      background: white;
      border-radius: 50px;
      padding: 0.75rem;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    .signup-divider {
      margin: 1.4rem 0 1rem 0;
      border-top: 1.6px solid #ecedf1;
    }
    .btn-group {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-top: 16px;
    }
    .input-group .password-strength {
      margin-left: 10px;
      font-size: .85em;
      font-weight: 500;
    }
    .input-group.with-strength {
      align-items: center;
    }
    .password-strength-weak { color: #d54034; }
    .password-strength-good { color: #e0a00c; }
    .password-strength-strong { color: #1eaf4b; }

    @media (max-width: 500px) {
      .signup-container { margin: 14px 4px; padding: 20px 8px 14px 8px;}
    }

.password-toggle {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      color: #666;
      transition: color 0.3s ease;
    }

    .password-toggle:hover {
      color: #ffd700;
    }


     
 
 /* Loader covers entire screen */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Simple spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
 
 