/* General  *//* General  *//* General  *//* General  *//* General  *//* General  *//* General  *//* General  *//* General  */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
}

/* Hero section styles */
/*.hero {
  background: url('https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
  color: white;
  padding: 6em 1.5em 8em;
  text-align: center;
}*/

/* Hero section styles */
.hero {
  --hero-image: url('https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?auto=format&fit=crop&w=1470&q=80');
  --hero-min-height: 48vh;
  background: var(--hero-image) center/cover no-repeat;
  color: white;
  padding: 6em 1.5em 8em;
  text-align: center;
  min-height: var(--hero-min-height);
  display: grid;
  place-items: center; /* nicely center text vertically */
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5em;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  color: #fff;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.hero.page-home {--hero-min-height: 70vh; --hero-image: url('/assets/img/blurred-night.jpg'); }
.hero.page-contact {
	--hero-min-height: 30vh;
	--hero-image: url('/assets/img/blurred-night.jpg');
	padding: 3em 1.5em 4em; 
	}
	
.hero.page-musician-profile { 
	--hero-min-height: 10vh;
	--hero-image: url('/assets/img/blurred-night.jpg');
	padding: 2em 1.5em 3em; 
}
	

@media (max-width: 600px) {
  .hero { --hero-min-height: 42vh; }
  .hero.page-contact {--hero-min-height: 20vh;padding: 2em 1em 2.5em;}
}


/* If you want a subtle darkener without editing each image, uncomment:
.hero {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)),
    var(--hero-image);
}
*/



#content {
  flex: 1 0 auto; /* grow to fill remaining space */
  max-width: 480px;
  margin: 20px auto;
  padding: 0 15px;
}

h1,h2,h3 {
  color: #333;
  text-align: center;
 }

.left-align-headings h1,
.left-align-headings h2,
.left-align-headings h3 {
  text-align: left;
}

/* Back button style */
.back-btn {
  margin-bottom: 20px;
  background-color: #555;
  width: auto;
  padding: 8px 14px;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  border: none;
}

/* Small helper text */
small {
  display: block;
  margin-top: 4px;
  color: gray;
}

label {
  display: block;
  margin-top: 12px;
}

/* Form inputs, selects, textareas */
input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.btn-styled-links {
  color: #394243;            /* dark gray, same as nav links */
  text-decoration: none;     /* no underline */
  white-space: normal;       /* allow text wrapping */
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s ease;
  display: inline-block;     /* so padding works properly */
  /*padding: 2px 6px;          /* small padding for better click area */
  border-radius: 4px;
}

.band-name-link:hover {
  background-color: #f0f0f0; /* light gray background on hover */
}



/*USER REGISTERATION*//*USER REGISTERATION*//*USER REGISTERATION*//*USER REGISTERATION*//*USER REGISTERATION*/
/* Compact checkbox group styling */
/*fieldset {
  border: none;
  margin: 0;
  padding: 0;
}*/

fieldset {
  border: none;
  padding: 0;
  margin-bottom: 0.5em;
}
	
fieldset legend {
  font-weight: bold;
  margin-bottom: 0.3em;
}

/*fieldset label {
  display: flex;
  align-items: center;
  margin-bottom: 4px;   
  cursor: pointer;
  font-size: 0.9em;*/
}
fieldset label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: 0.3em; /* tighter spacing */
}
	
fieldset label input[type="checkbox"] {
  margin-right: 8px; /* space between checkbox and text */
  vertical-align: middle;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

label[for="okToEmail"], 
label input[name="okToEmail"] {
  display: flex;
  align-items: center;
  margin-top: 0.5em;
  font-size: 0.9em;
  cursor: pointer;
}

label input[name="okToEmail"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/*USER LOGIN*//*USER LOGIN*//*USER LOGIN*//*USER LOGIN*//*USER LOGIN*//*USER LOGIN*//*USER LOGIN*//*USER LOGIN*/
.form-section {
  margin-bottom: 2em;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa;
}

input,
select,
button {
  margin: 0.5em 0;
  padding: 0.5em;
  width: 100%;
  box-sizing: border-box;
  font-size: 1em;
}

#status {
  margin-top: 1em;
  font-weight: bold;
  min-height: 1.2em;
}

.button-row {
  display: flex;
  gap: 1em;
}

.toggle-link {
  color: #394243;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 0.5em;
  display: inline-block;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  input[type="text"] {
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .search-buttons {
    flex-direction: column;
  }

  #content button, 
  form button {
    width: 100% !important;
  }
}

/*Add Musician*//*Add Musician*//*Add Musician*//*Add Musician*//*Add Musician*//*Add Musician*//*Add Musician*//*Add Musician*//*Add Musician*/
/* Form labels */

/* Buttons only inside #content or inside forms */
#content button, 
form button {
  background-color: #394243;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  width: 100%;
  transition: background-color 0.3s ease;
}

#content button:hover:not(:disabled),
form button:hover:not(:disabled) {
  background-color: #2e3333;
}

#content button:disabled,
form button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* Message text */
.message {
  margin-top: 16px;
  font-weight: bold;
  min-height: 1.4em;
}


/*FIND MUSICIANS TABLE*//*FIND MUSICIANS TABLE*//*FIND MUSICIANS TABLE*//*FIND MUSICIANS TABLE*//*FIND MUSICIANS TABLE*/

/*FIND MUSICIANS TABLE: SEARCH*//*FIND MUSICIANS TABLE: SEARCH*/

/* Search inputs width & margin override */
input[type="text"] {
  width: 200px;
  padding: 8px;
  margin-right: 5px;
}

/* Container for search buttons to align side by side */
.search-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* Search buttons specific */
#btnSearch, #btnClearSearch {
  width: auto;
  padding: 8px 16px;
}

/* Pagination container */
.pagination {
  margin-top: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  font-weight: 600;
  color: #394243;
  font-size: 1em;
}

/* Pagination buttons styled like search buttons */
.pagination button {
  background-color: #394243;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  /*min-width: 100px; /* equal width */
  transition: background-color 0.3s ease;
}

.pagination button {
  width: auto !important;
}

.pagination button:hover:not(:disabled) {
  background-color: #2e3333;
}

.pagination button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* Page info text */
.pagination .page-info {
  min-width: 120px; /* space between buttons */
}

/*FIND MUSICIANS TABLE: RESULTS*//*FIND MUSICIANS TABLE: RESULTS*/

main.musician_table {
  margin-left: 15px;
  margin-right: 15px;
  /* Optional: constrain max width so table doesn't get too wide on big screens */
  max-width: 100%;
  overflow-x: auto; /* allow horizontal scroll if table is wider than viewport */
  box-sizing: border-box;
}

/* Table styles */
table {
  border-collapse: collapse;
  margin-top: 20px;
  width: 100%;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: center;
}

th {
  background-color: #eee;
  cursor: pointer;
  position: relative;
}

th:hover {
  background-color: #ddd;
}

th .arrow {
  font-size: 12px;
  margin-left: 4px;
  position: absolute;
  right: 8px;
}

.band-name-link {
  color: #394243;            /* dark gray, same as nav links */
  text-decoration: none;     /* no underline */
  white-space: normal;       /* allow text wrapping */
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s ease;
  display: inline-block;     /* so padding works properly */
  padding: 2px 6px;          /* small padding for better click area */
  border-radius: 4px;
}

.band-name-link:hover {
  background-color: #f0f0f0; /* light gray background on hover */
}

/* Genre tags and filter buttons styling */
.genre-tag {
  display: inline-block;
  background-color: #394243;
  color: white;
  padding: 6px 12px;       /* slightly bigger padding for a nice pill shape */
  margin: 2px 4px 2px 0;
  font-size: 0.85em;
  border-radius: 6px;      /* small rounded corners, not full pill */
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  min-width: auto;         /* remove min-width */
  width: auto;             /* don't stretch full width */
  text-align: center;
  transition: background-color 0.3s ease;
  border: none;
}

.genre-tag:hover {
  background-color: #2e3333;
}

/* Genre tags inside table buttons smaller */
table button.genre-tag {
  padding: 4px 10px;
  font-size: 0.8em;
  min-width: auto;
  width: auto;
  border-radius: 6px;
}


/*ADD MUSICIAN*//*ADD MUSICIAN*//*ADD MUSICIAN*//*ADD MUSICIAN*//*ADD MUSICIAN*//*ADD MUSICIAN*//*ADD MUSICIAN*//*ADD MUSICIAN*/
/* Compact form layout *//* Outer form container styling */
.add-musician-form-container {
  width: 80%;
  max-width: 650px;
  margin: 0 auto 2em;
  padding: 20px;
  border: 1px solid #ccc;      /* thin gray outline */
  border-radius: 8px;          /* slightly rounded corners */
  background-color: #fff;      /* white background for clarity */
  box-sizing: border-box;
}

.compact-form {
  width: 75%;
  max-width: 600px;
  margin: 0 auto;
}

.compact-form .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* tighter spacing */
}

.compact-form label {
  flex: 0 0 35%; /* label takes up 35% width */
  text-align: right;
  margin-right: 12px;
  font-weight: bold;
}

.compact-form input,
.compact-form textarea,
.compact-form select {
  flex: 1;
  max-width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.compact-form textarea {
  resize: vertical;
}

.compact-form .submit-btn {
  background-color: #394243;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  width: auto; /* only as wide as needed */
  transition: background-color 0.3s ease;
  margin-left: auto; /* pushes button to align with inputs */
}

.compact-form .submit-btn:hover {
  background-color: #2e3333;
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
  .compact-form .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .compact-form label {
    text-align: left;
    margin-right: 0;
    margin-bottom: 4px;
    flex: unset;
    width: 100%;
  }

  .compact-form .submit-btn {
    margin-left: 0;
  }
}

/* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER */
footer {
  height: 50px;
  background-color: #394243; /* example dark background */
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between; /* space for links, logo, etc */
  padding: 0 20px;
  flex-shrink: 0; /* don't shrink */
  font-size: 0.9em;
  box-sizing: border-box;
}

/* Footer sections with alignment */
footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start; /* left align logo */
  flex: 1 1 auto;
}

footer .footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center; /* center links */
  flex: 2 1 auto;
}

footer .footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end; /* right align contact info */
  flex: 1 1 auto;
}

/* Footer links styling */
footer a {
  color: #ddd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Example small logo */
footer .footer-logo img {
  height: 30px;
  width: auto;
}


/* Responsive footer: stack vertically on small screens */
@media (max-width: 480px) {
  footer {
    flex-direction: column;
    height: auto;
    padding: 10px 15px;
    gap: 8px;
    text-align: center;
  }
  
  footer .footer-logo,
  footer .footer-links,
  footer .footer-contact {
    justify-content: center !important;
    flex: unset;
  }
}
/*CLAIMS */

.claims-table .profile-container button { 
  display: inline-block; 
  width: auto; 
  background-color: #394243;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.claims-table button:hover:not(:disabled) {
  background-color: #2e3333;
}

/*MUSICIAN PROFILE*/
/*
.profile-container {
	max-width: 800px;
	margin: 40px auto;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-header {
	text-align: center;
	margin-bottom: 20px;
}
.profile-header h1 {
	margin: 0;
	color: #394243;
}
.profile-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
.profile-details div {
	background: #f8f8f8;
	padding: 10px;
	border-radius: 5px;
}
.profile-details strong {
	display: block;
	color: #394243;
	margin-bottom: 5px;
}
@media (max-width: 600px) {
	.profile-details {
		grid-template-columns: 1fr;
	}
}
*/