/* General page style */
/* body {
  margin: 0;
  padding: 40px 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-y: auto; 
} */

body {
  margin: 0;
  padding: 60px 20px; /* vertical and horizontal padding */
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  text-align: center; /* center h1 and a tags */
}
p{
  text-align: left;
}
/* Form styling */
/* form {
  background-color: white;
  padding: 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
} */

.form-wrapper {
  display: flex;
  justify-content: center; /* center horizontally */
  padding: 40px 20px;      /* some breathing room */
}

form {
  background-color: white;
  padding: 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Label styling */
label {
  display: block;
  text-align: left;
  font-weight: bold;
}
/* Input fields */
input, select, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
}

input:hover, select:hover, textarea:hover {
  border-color: #007BFF;
}

/* Submit button */
button {
  padding: 10px 15px;
  background-color: #007BFF;
  border: none;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

/* Link styled as a button */
a {
  display: inline-block;
  padding: 15px 25px;
  margin: 0px 2px;
  text-decoration: none;
  border: 1px solid #007BFF;
  color: #007BFF;
  border-radius: 25px;
  transition: background-color 0.3s, color 0.3s;
}

a:hover {
  background-color: #007BFF;
  color: white;
}

/* Main wrapper to stack vertically */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertical centering */
  gap: 30px;
  min-height: 70vh; /* only fill viewport if needed */
  padding: 20px; /* optional: avoids touching edges */
  box-sizing: border-box;
}



/* Heading style */
.mainheading {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* Buttons container */
.button-container {
  display: flex;
  gap: 15px;
}

.stylish-button {
  background-color: #3498db;       /* blue */
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.stylish-button:hover {
  background-color: #21618c;       /* dark blue */
}
.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: #e0e0e0;
}
