/*
 * Global Styles
 */

/* Button Style */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #4b3832; /* rich brown for contrast */
  text-shadow: none;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}


/*
 * Body and Background
 */

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to bottom, #f5e8d8, #f0e0ce);
  color: #4b3832; /* replace white with softer brown */
  font-family: 'Segoe UI', Roboto, sans-serif;
}


/*
 * Container Max Width
 */

.cover-container {
  max-width: 42em;
}


/*
 * Typography and Headings
 */

h1, h2, h3, h4 {
  color: #4b3832;
  text-shadow: none;
  font-weight: 700;
}

.lead {
  color: #5c443a;
}


/*
 * Header and Navigation
 */

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 600;
  color: rgba(75, 56, 50, 0.6);
  background-color: transparent;
  border-bottom: .2rem solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  color: #4b3832;
  border-bottom-color: rgba(75, 56, 50, 0.25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #4b3832;
  border-bottom-color: #4b3832;
}


/*
 * Main Alignment
 */

main {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}


/*
 * Optional: Smooth transitions
 */

a, button {
  transition: all 0.3s ease-in-out;
}


/* Form styling for LashB̂ān */
form:not(.logout-form-nav) {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  color: #4b3832;
  font-size: 1rem;
}

form h2 {
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #4b3832;
}

form p {
  margin-bottom: 1.25rem;
}

form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  color: #4b3832;
}

form input[type="text"],
form input[type="datetime-local"],
form input[type="email"] {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  background-color: #fff;
}

form input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

form .form-check {
  margin-bottom: 0.5rem;
}

form button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.75rem;
  font-weight: bold;
  border-radius: 0.5rem;
  background-color: #4b3832;
  color: white;
  border: none;
}

form button:hover {
  background-color: #3a2e29;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  form {
    max-width: 650px;
    margin: auto;
  }
}


/* Button form */

.btn-primary {
  background-color: #7a4e2c;  
  border-color: #7a4e2c;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #633f24;
  border-color: #633f24;
  color: #fff;
}

/*Cusnavbar*/

.logout-form-nav {
  display: inline;
  padding: 0;
  margin: 0;
}

.logout-form-nav button {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 0 0rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(75, 56, 50, 0.6);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 0.2rem solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.logout-form-nav button:hover,
.logout-form-nav button:focus {
  color: #4b3832;
  border-bottom: 0.2rem solid rgba(75, 56, 50, 0.25);
}