body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header Section */
header {
    background-color: #c7e8fa;
    color: #1b1919;
    padding: 1em 0;
    text-align: center;
    font-size: 1.5em;
}

/* Header Navigation */
.header-nav {
    background-color: #b8e0f5;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.header-nav li {
    display: inline-block;
}

.header-nav a {
    color: #333435;
    text-decoration : none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.header-nav a:hover {
    background-color: #ffffff;
    color: #2c2e2f;
}

/* Header Container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
}

.logo {
    position: absolute;
    left: 10px;
    width: 75px;
    height: auto;
}

.header-container h1 {
    flex: 1;
    text-align: center;
    margin: 0;
}




/* Add spacing and styling for dropdowns and text fields */
select, input[type="text"] {
    margin: 10px 0;
    width: 100%;
    padding: 10px;
}

/* Keep file upload inline */
#income-tax-upload {
    margin-top: 10px;
}


/* General Container Styling */
.container {
    /* display: flex; */
    /* flex-direction: column;
    gap: 20px; */
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: auto; /* Allow scrolling if content overflows */
}

/* General Container Styling */
.container-main {
   
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
    background-color: #e4e4e4;
    border-radius: 9px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: auto; /* Allow scrolling if content overflows */
}



/* Form Container */
.form-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Adjust Employee and Dependent Form Sections */
.employee-form-container, .dependent-form-container {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

/* Form Fields */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form .form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

form .form-group label {
    flex: 1;
    margin-right: 10px;
    text-align: right;
}

form .form-group input,
form .form-group select,
form .form-group textarea {
    flex: 2;
    max-width: 300px; /* Prevent stretching */
}


/* CSS */
button , .btn {
  align-items: center;
  appearance: none;
  background-color: #cee9f7;
  border-radius: 24px;
  border-style: none;
  box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
  box-sizing: border-box;
  color: #3c4043;
  cursor: pointer;
  display: inline-flex;
  fill: currentcolor;
  font-family: "Google Sans",Roboto,Arial,sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  justify-content: center;
  letter-spacing: .25px;
  line-height: normal;
  max-width: 100%;
  overflow: visible;
  padding: 2px 24px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
  user-select: none;
  touch-action: manipulation;
  width: auto;
  will-change: transform,opacity;
  z-index: 0;
}

button:hover {
  background: #F6F9FE;
  color: #174ea6;
}

.form-submit-button:active {
  box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%), 0 8px 12px 6px rgb(60 64 67 / 15%);
  outline: none;
}

.form-submit-button :focus {
  outline: none;
  border: 2px solid #4285f4;
}

form button {
    align-items: center;
    appearance: none;
    background-color: #cee9f7;
    border-radius: 24px;
    border-style: none;
    box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
    box-sizing: border-box;
    color: #3c4043;
    cursor: pointer;
    display: inline-flex;
    fill: currentcolor;
    font-family: "Google Sans",Roboto,Arial,sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    justify-content: center;
    letter-spacing: .25px;
    line-height: normal;
    max-width: 100%;
    overflow: visible;
    padding: 2px 24px;
    position: relative;
    text-align: center;
    text-transform: none;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
    user-select: none;
    touch-action: manipulation;
    width: auto;
    will-change: transform,opacity;
    z-index: 0;
}

form button:hover {
    background: #F6F9FE;
    color: #174ea6;
}


/* Children Section */
#children-section {
    margin-top: 20px;
}

#children-section h3 {
    text-align: center; /* Center-align heading */
    margin-bottom: 10px;
}

.child-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.child-form input {
    flex: 1;
    max-width: 200px; /* Prevent stretching */
}

/* Save Button */
.save-button-container {
    text-align: right;
    margin-top: 20px;
}

/* Footer Fix */
footer {
    background-color: #DAEFFA;
    color: #1f1d1d;
    text-align: center;
    padding: 1em 0;
    position: static; /* Remove fixed positioning */
    margin-top: 20px;
}
