/* Custom styles */
body {
  background-color: #f5efd8;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-bar,
.bottom-bar {
  height: 50px;
  background-color: #483b35;
}

.bottom-bar {
  margin-top: 40px;
}

.content {
  flex: 1;
  padding: 1rem;
}

.container {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Container 1 */
.container-1 {
  margin-top: -18.5px;
  height: 297px;
  background-image: url("images/farm-header.png"); /* Add padding to create space */
  background-repeat: no-repeat;
  background-size: 1140px;
  text-align: right;
}

.greeting {
  font-size: 18px;
  color: #483b35;
  padding-right: 20px;
  padding-top: 20px;
}

.user-links {
  margin-top: 10px;
}

.user-link {
  color: #483b35;
  text-decoration: underline;
  margin-right: 10px;
}

/* Container 2 */
.container-2 {
  height: 55px;
  background-color: #483b35;
  margin-bottom: 30px;
  color: white;
}

/* Container 3 */
.container-3 {
  height: 320px;
  display: flex;
}

/* Container 4 */
.container-4 {
  margin-top: 20px;
  display: flex; /* Use flex layout for sidebar and repeated content */
  flex-wrap: wrap; /* Allow content to wrap to new rows */
}

.repeated-content {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.repeated-content-container {
  flex: 1; /* Use the available space */
  min-width: 300px; /* Minimum width for each repeated content */
  border-radius: 5px;
  margin-left: 40px; /* Add space between items */
}

.left-side {
  width: 800px;
  background-color: #ffffff;
  box-sizing: border-box;
  margin-right: 10px;
}

.right-side {
  flex: 1;
  background-color: #ffffff;
  padding: 10px;
  box-sizing: border-box;
}

.left-content {
  /* Add styles for the content within each side */
  /* Example styles:
    font-size: 18px;
    color: #483b35;
    */
}

/* Add these styles to your existing styles.css */

.right-content {
  background-color: #dacdc0;
  padding: 10px;
  border-radius: 5px;
}

.search-form {
  margin-bottom: 20px;
}

/* New Form Styles */
#form {
  margin: 0 auto;
  width: 400px;
}
label {
  display: block;
  margin-top: 20px;
}
#form input,
textarea,
#form select {
  width: 379px;
  background: #efefef;
  border: 1px solid #533d03;
  font-size: 0.9em;
  color: #000;
  height: 45px;
  padding: 10px;
  margin-top: 3px;
}
#form input:focus,
textarea:focus {
  border: 1px solid #99cc66;
}
#form input,
textarea,
#form select {
  -mox-border-radius: 6px;
  -weblit-border-radius: 6px;
  border-radius: 6px;
}

.search-button {
  background-color: #be4c20;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.links {
  text-align: right;
  margin-top: 10px;
}

.links a {
  color: #483b35;
  text-decoration: underline;
  margin-left: 5px;
  margin-right: 5px;
}

.navigation {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.nav-links {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 10px;
}

.nav-item a {
  color: white;
  text-decoration: none;
  padding: 5px;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.nav-item.active a {
  border-color: #be4c20;
  background-color: #be4c20;
  color: white;
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px); /* Subtract top and bottom bar heights */
}

.auth-section {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-weight: bold;
}

.form-control {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%; /* Set a consistent width for all input fields */
  max-width: 400px; /* Add a max-width to prevent excessive width on larger screens */
  box-sizing: border-box; /* Include padding in the width calculation */
}

.auth-button {
  background-color: #be4c20;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  cursor: pointer;
}

.forgot-password {
  text-align: right;
  margin-top: 10px;
}

.forgot-password a {
  color: #483b35;
  text-decoration: underline;
}

.additional-fields {
  display: none;
}

/* Show additional fields for sellers */
.seller-fields {
  display: block;
}

.error-messages {
  margin-bottom: 10px;
  color: red;
}

.error-message {
  margin: 5px 0;
}

/*Old Site Code*/

.content-box {
  width: 890px;
  float: left;
  border: 1px solid #fff;
  margin-bottom: 35px;
  background: #e9e5cf;
  -moz-box-shadow: 0 0 4px #888;
  -webkit-box-shadow: 0 0 4px#888;
  box-shadow: 0 0 4px #888;
}
.content-box-header {
  width: 720px;
  height: 40px;
  padding: 10px 0 0 10px;
  background-image: url("images/content-box-header.png");
  background-repeat: no-repeat;
  float: left;
  margin-top: 15px;
  margin-left: -1px;
}
.content-box-inside {
  width: 890px;
  float: left;
  margin-top: 20px;
  padding: 5px 20px;
}

/* Sidebar */
.sidebar {
  width: 230px;
  float: left;
  margin-right: 18px;
}
.side-box {
  width: 230px;
  float: left;
  border: 1px solid #fff;
  margin-bottom: 35px;
  background: #e9e5cf;
  -moz-box-shadow: 0 0 4px #888;
  -webkit-box-shadow: 0 0 4px #888;
  box-shadow: 0 0 4px #888;
}
.side-box-header {
  width: 203px;
  height: 30px;
  float: left;
  margin-top: 15px;
  margin-left: -1px;
  padding: 6px 0 0 10px;
  background: url("images/sidebar-box-header.png") no-repeat;
}
.side-box-inside {
  width: 220px;
  float: left;
  padding: 5px 0 0 10px;
}

#sponsor-box {
  width: 1140px;
  display: flex;
  height: 75px;
  border: 1px solid #fff;
  margin-bottom: 35px;
  background: #e9e5cf;
  -moz-box-shadow: 0 0 4px #888;
  -webkit-box-shadow: 0 0 4px#888;
  box-shadow: 0 0 4px #888;
  float: left;
  margin-bottom: 35px;
}
.sponsor-shell {
  width: 150px;
  height: 75px;
  margin: 0 0 0 11px;
  float: left;
}

.white {
  color: #fff;
}
.small {
  font-size: 0.9em;
}
.xsmall {
  font-size: 0.8em;
}
.nodec {
  text-decoration: none;
}
.right {
  text-align: right;
}

a {
  color: #533d03;
}
a:hover {
  color: #c55b31;
  text-decoration: underline;
}
#nav-bottom a:hover {
  text-decoration: none;
}
#search-box p {
  margin: 20px 10px 0 0;
}
#content p {
  margin: 10px;
  padding: 10px;
  font-size: 0.9em;
  color: #533d03;
}
.content-box-header h2 {
  margin: 0;
  padding: 0;
  font-size: 1.1em;
  font-weight: normal;
}
.side-box-header h2 {
  margin: 0;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
}
#main-right-header h2 {
  margin: 0;
  padding: 0;
  font-size: 1.3em;
}
.result-info h2 {
  font-size: 1.2em;
  margin: 0;
  padding: 0;
  font-weight: normal;
}

/* Header Rotator */
#main-header {
  width: 1140px;
  height: 332px;
  float: left;
  margin-top: 30px;
  margin: auto;
}
#rotator {
  width: 812px;
  height: 332px;
  float: left;
  border-radius: 5px;
  margin-right: 20px;
  overflow: hidden;
}
#main-right {
  width: 307px;
  height: 332px;
  float: left;
  background: #f6f5f1;
  border: 1px solid #c55b31;
}
#main-right-header {
  width: 305px;
  height: 67px;
  background-image: url(images/content-box-header.png);
  background-repeat: no-repeat;
  float: left;
  padding: 7px 0 0 20px;
  margin-top: -3px;
}
#search-box {
  width: 263px;
  height: 223px;
  float: left;
  margin-top: 15px;
  padding: 20px 0 0 40px;
}

.market-details-button {
  display: inline-block;
  float: right;
  background-color: #be4c20;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.market-details-button:hover {
  background-color: #be4c20;
  color: white;
}
