/*
======================================================
  1. Base & Layout
======================================================
*/
body {
  /* DESIGN SUGGESTION: Choose a modern, highly readable font */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #f4f4f4;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/*
======================================================
  2. Header (Responsive)
======================================================
*/
.guest-header {
  background-color: #f53607;
  color: white;
  padding: 15px 20px; /* Adjusted padding */
  display: flex;
  flex-direction: column; /* Default: Stacked on mobile */
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.guest-nav {
    margin-top: 5px;
}

.guest-nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px; /* Adjusted margin */
  font-weight: 600;
  transition: color 0.3s;
}

.guest-nav a:hover {
  color: #ffc9b9; /* Lighter shade on hover */
  text-decoration: underline;
}

/*
======================================================
  3. Main Content (Forgot Username Card)
======================================================
*/
.forgot-username-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  margin: 40px auto;
  border-radius: 10px;
  max-width: 500px;
  width: 90%; /* Responsive width */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15); /* Slightly clearer shadow */
}

.forgot-username-container h2 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #f53607;
}

.forgot-username-container p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Styling for the semantic <address> element */
.forgot-username-container address {
    font-style: normal;
    margin: 15px 0;
}

.forgot-username-container a {
    color: #007bff; /* Secondary link color for contrast */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.forgot-username-container a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/*
======================================================
  4. Footer (NEW)
======================================================
*/
.main-footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    margin-top: auto; /* Pushes footer to the bottom */
}

.footer-links a,
.footer-contact span,
.main-footer p {
    color: white;
    margin: 5px 10px;
    text-decoration: none;
    display: inline-block;
}

.footer-links a:hover {
    text-decoration: underline;
}


/*
======================================================
  5. Media Queries for Tablet and Desktop Layouts
======================================================
*/
@media (min-width: 768px) {
  .guest-header {
    flex-direction: row; /* Header items horizontal */
    padding: 20px 40px;
  }
  .logo {
    margin-bottom: 0;
  }
}