/* General Body and Page Container Styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(125deg, #3094ff 0%, #d9ebff 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.page-container {
  width: 90%;
  max-width: 960px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-self: center;
}

/* Header Styling */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f7f7f7;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 45px;
  margin-right: 15px;
}

.tagline h1 {
  margin: 0;
  font-size: 1.4em;
  color: #333;
}

.tagline p {
  margin: 0;
  font-size: 0.85em;
  color: #666;
}

.auth-nav .sign-in-link {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

/* Main Navigation (Horizontal Bar) */
.main-nav {
  background: linear-gradient(to bottom, #f2f2f2 0%, #e0e0e0 100%);
  border-bottom: 1px solid #c0c0c0;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-item a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  margin-top: 2px;
  text-decoration: none;
  color: #333;
  font-size: 0.9em;
  border: 1px solid transparent;
  border-bottom: none;
  transition: background-color 0.2s ease;
}

.nav-item a:hover {
  background-color: #d5d5d5;
  border-radius: 5px 5px 0 0;
  border-color: #c0c0c0;
}

.nav-item.active a {
  background-color: #fff;
  border: 1px solid #c0c0c0;
  border-bottom: 1px solid #fff;
  border-radius: 5px 5px 0 0;
  position: relative;
  top: 1px;
  box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.nav-icon {
  margin-right: 8px;
  font-size: 1.1em;
}

/* Content Area (right main section) */
.content-area {
  flex-grow: 1;
  padding: 30px 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.welcome-section {
  flex: 2;
}

.welcome-section h2 {
  color: #007bff;
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 15px;
}

.welcome-section p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95em;
}

.action-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 200px;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: #0099ff;
  color: white;
}

.btn-primary:hover {
  background: #007acc;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: #90c346;
  color: white;
}

.btn-secondary:hover {
  background: #76a332;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Footer Styling */
.footer {
  text-align: center;
  padding: 15px 25px;
  background-color: #f7f7f7;
  border-top: 1px solid #e0e0e0;
  color: #333;
  font-size: 11px;
}

.footer p {
  margin: 5px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .content-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .action-buttons {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .auth-nav {
    width: 100%;
    text-align: right;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-item a {
    justify-content: center;
    margin-top: 0;
    border-radius: 0;
  }
  .nav-item.active a {
    border-radius: 0;
  }
}
