/* Reset default margins and padding */
body {
    margin: 0;
    padding: 0;
    background-image: url("ens.png");
    backdrop-filter: blur(4px); 
    background-size: cover; 
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
  }
  
  /* Form container - made more compact */
  form {
    width: 380px; /* Reduced from 440px */
    padding: 30px; /* Reduced from 40px */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced spacing between elements */
  }
  input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #6e8efb;               /* Changes border color to blue */
  outline: none;                       /* Removes default browser outline */
  box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2); /* Adds subtle glow */
}
  
  /* Fieldset adjustments */
  fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Consistent with form gap */
  }
  
  /* Legend styling */
  legend {
    font-size: 1.3rem; /* Slightly smaller */
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
  }
  
  /* Label styling - ensure all labels are visible */
  label {
    display: block;
    margin-bottom: 3px; /* Reduced spacing */
    font-weight: 500;
    color: #555;
    font-size: 0.9rem; /* Smaller font size */
  }
  
  /* Input field adjustments */
  input[type="text"],
  input[type="password"] {
    width: 100%;
    padding: 10px 12px; /* Slightly reduced padding */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem; /* Smaller font size */
    transition: all 0.3s ease;
    box-sizing: border-box;
  }
  
  /* Fix for the missing cin label */
  #cin {
    display: block !important; /* Forces label to show */
    margin-bottom: 3px;
  }
  
  /* Submit button adjustments */
  #submit {
    width: 100%;
    padding: 10px; /* Reduced padding */
    background: linear-gradient(to right, #6e8efb, #a777e3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem; /* Smaller font */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px; /* Reduced margin */
  }