/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff, #00b3cb);
  }
  
  /* Main Card */
  .main-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 350px;
    text-align: center;
  }
  
  /* Headings */
  h2 {
    color: #00bcd4;
    margin-bottom: 1.5rem;
  }
  
  /* Inputs */
  input {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  /* Buttons */
  button {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 8px;
    background: #00bcd4;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  button:hover {
    background: #0097a7;
  }
  
  /* Error/Message text */
  #message {
    margin-top: 1rem;
    color: red;
  }
  .navbar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    min-height: 80px;
    display: flex;
    align-items: center;
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* logo left, menu right */
    align-items: center;
    padding: 0 20px; /* slight inset from edges */
    width: 100%;
  }
  
  .nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .nav-logo i {
    color: rgb(0, 225, 225);
    font-size: 2rem;
  }
  
  .nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
  }
  
  .nav-link {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: rgb(0, 225, 225);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(0, 225, 225);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    color: white;
    cursor: pointer;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
    }
    .mobile-menu-btn {
      display: block;
    }
  }