* {
    box-sizing: border-box;
}

/* Single body style combining both concerns */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    /* Remove flex centering and height */
}

/* Sticky header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007BFF;
}

.main-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    padding: 6px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: #007BFF;
    color: white;
}

/* Form container styling */
.form-container {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;

    /* Add margin top to clear sticky header */
    margin: 80px auto 40px; /* Adjust 80px to header height */
}

/* Form heading */
.form-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

/* Labels and inputs */
label {
    font-weight: 500;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}


select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}


form button {
  width: 100%;
  margin-top: 25px;
  padding: 12px;
}

button {
	
  padding: 6px 12px;
  width: 100%;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  background-color: #007BFF;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


button:hover {
    background-color: #0056b3;
}

#message {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: green;
}



@media (max-width: 480px) {
    .form-container {
        padding: 20px;
        border-radius: 8px;
    }

    h2 {
        font-size: 20px;
    }

    input, button {
        font-size: 15px;
    }
}









/* Hide menu on small screens initially */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}


@media (max-width: 768px) {
	.logo {
	  width: 100%;
	  text-align: center;
	  cursor: pointer; /* good for mobile UX */
	}
  .container {
    flex-direction: column;
    align-items: flex-start;
	align-items: center;
  }

  
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center; /* center nav items horizontally */
    justify-content: center; /* center nav items vertically */
	vertical-align: middle;
    width: 100%;
    margin-top: 8px;
  }


  
  .main-nav.show {
     display: flex;
   }

   .main-nav a {
     width: 100%;
     text-align: center;
     padding: 8px 0;
     border-top: 1px solid #eee;
     border-bottom: 1px solid #eee;
   }
}








body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: #f5f7fa;
}

.header {
  background-color: #007bff;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  margin: 0;
  font-size: 26px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
}

.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  margin-top: 0;
  font-size: 20px;
  color: #007bff;
}

.card p {
  margin: 10px 0;
  color: #555;
}


.hidden-column {
    display: none;
}














