* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
      'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
      sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
  }

.navbar {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand h1 {
    color: #667eea;
    font-size: 24px;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: #666;
    text-transform: capitalize;
}

.logout-btn {
    padding: 8px 20px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #d32f2f;
}

  img {
    height: 144px;
  }

  p {
    color: darkgrey;
  }

  #hta {
    margin-top: 1rem;
    color: #3F4409;
  }

  #rmd {
    color: black;
  }

  #content {
    text-align: center;
    color: #e7cffe;
  }
  
  #cta {
    margin-top: 2rem;
  }

  #cta input {
    border: none;
    border-radius: 0.2rem;
    padding: 0.5rem;
    margin: 0.5rem;
    color: white;
    font-size: large;
    background-color: #8021e0;
  }

  #cta input:hover {
    background-color: #4e0596;
  }
  
  #cta a {
    text-decoration: none;
    background-color: #f9b485;
    color: #4e0596;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    font-size: 1.5rem;
  }
  
  #cta a:hover {
    background-color: #fc9e5f;
  }
  
  #main-navigation {
    padding: 2rem 15%;
    display: flex;
    justify-content: center;
  }
  
  #main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
  }
  
  .nav-item a {
    text-decoration: none;
    color: #e7cffe;
  }
  
  .nav-item a:hover,
  .nav-item .active {
    color: #fc9e5f;
  }
  
  .error {
    max-width: 25rem;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    background-color: #f9b485;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
  }
  
  .info-message {
    margin: 2rem;
    text-align: center;
    color: #dcbcfb;
    font-size: 1.5rem;
  }
  
  @keyframes fade-blur-in {
    from {
      opacity: 0;
      filter: blur(1rem);
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fade-slide-in {
    from {
      opacity: 0;
      transform: translateY(-2rem);
    }
    to {
      opacity: 1;
    }
  }