body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #000000, #1c1c1e);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: rgba(30, 30, 30, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  width: 90%;
  max-width: 600px;
}

h2 {
  text-align: center;
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
p {
  color: #ffffff;
}


label {
  color: #ffffff;
  display: block;
  margin-top: 15px;
}

input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
}

input[type="checkbox"] {
  margin-left: 10px;
  transform: scale(1.2);
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background-color: #ff9500;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #cc7a00;
}

.results {
  margin-top: 25px;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
}

.results p {
  margin: 6px 0;
}

.results p strong {
  color: #34C759;
}
.button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.salary-inputs {
  margin-right: 20px;
}
.salary-inputs #dropdown {
  margin-right: -20px;
}
/* Target input fields inside .salary-inputs */
.salary-inputs select,
.salary-inputs textarea
{
  width: 100%;
  box-sizing: border-box;
}

.button-group button {
  flex: 1;
}
.person-breakdown {
  margin-top: 15px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.person-breakdown h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #ff9500;
}

.person-breakdown p {
  margin: 4px 0;
  color: #ffffff;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 1400px; /* was 1200px */
  margin: 0 auto;
  padding: 2rem;
}


.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.card.secondary h2 {
  color: #34C759;
}

#taxInfo p {
  margin: 8px 0 6px;
  color: #ff9500;
  font-weight: 600;
}

#taxInfo ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #ffffff;
  margin-bottom: 12px;
}

#taxInfo li {
  margin-bottom: 4px;
}

.menu-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly; /* or use space-between */
  flex-wrap: wrap; /* Optional: allows wrapping on small screens */
  gap: 1rem; /* Controls vertical spacing when wrapping */
  
}

.menu-card button {
  background-color: #ff9500;
  color: white;
  border: none;
  border-radius: 50%;
  max-width: 40px;
  max-height: 40px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.menu-card button:hover {
  background-color: #cc7a00;
}

.menu-card h2 i {
  font-size: 2rem;
  color: #ff9500;
}
#disc {
	color: #ffffff;
}

/* Container styling for form elements */
div {
  margin-bottom: 1rem;
}

/* Label styling */
#dropdown label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

/* Select dropdown styling */
#dropdown select {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 2px solid #ffa500; /* Orange border to match your theme */
  border-radius: 6px;
  background-color: rgba(20, 20, 20, 0.6);
  color: #ffa500;
  appearance: none; /* removes default OS dropdown styling */
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23ffa500" viewBox="0 0 24 24" width="18" height="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5H7z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* On focus */
#dropdown select:focus {
  outline: none;
  border-color: #ffa500;
  background-color: rgba(20, 20, 20, 1);
  box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.2);
}



/* On wider screens: two columns */
@media (min-width: 1200px) {
  .grid-container {
    grid-template-columns: 1fr 4fr 2fr;
  }
  .menu-card {
    flex-direction: column;
    justify-content: space-around;
    padding: 1rem 0;

  }
 
 .main-content {
	 	min-height: 60vh; /* Limit height */
	max-height: 60vh; /* Limit height */
	overflow: hidden; /* Prevent overflow outside the card */
 }
  /* Content inside the calculator area */
.calculator-scrollable {
  overflow-y: auto;
  min-height: 900px;
  max-height: 59vh; /* Or slightly less than .menu-card height to allow padding */
  padding-bottom: 1rem; /* optional: avoids scrollbar overlay */
}
}
