
#content2 {
margin: 0px auto;
    background-color: #ffffff;
    padding: 0px;
    width: 95%;
}

.tabs-container {
  display: flex;
}

.tab {
    padding: 15px 10px 15px;
    color: #ffffff;
    cursor: pointer;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-right: 0px;
}

.tab.active {
    background-color: #24ace4;
    color: #ffffff;
    border-bottom: 4px solid #0877A8;
}

.taxPrepTab-container {
  display: flex;
  flex-direction: row; /* Ensure horizontal flex direction */
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  margin-top: 10px;
  overflow-x: auto; /* Enable horizontal scrolling */
  max-width: 100%; /* Ensure it does not overflow the viewport */
  white-space: nowrap; /* Prevent line breaks */
}

.taxPrepTab-container > * {
  flex-shrink: 0; /* Prevent flex items from shrinking */
}




.taxPrepTab {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-bottom: none;
  background-color: #f1f1f1;
  margin-right: 5px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.taxPrepTab.active {
  background-color: #24ace4;
  font-weight: bold;
  color: #ffffff;
  border-bottom: 4px solid #0877A8;
}

.taxPrepTab-content {
  display: none;
  padding: 10px;
  
}

.taxPrepTab-content.active {
  display: block;
}

.businessOrRentalQuestion{
  display:block;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size:19px;
  color: #000000;
}

.businessOrRentalContainer{
  padding-left: 30px;
}

#content3 {
    padding: 5px 10px;
    border-radius: 0 0 20px 20px;
    background: #FFF;
    box-shadow: 0px 0px 13px 4px rgba(0, 0, 0, 0.09);
}

#salesClientsTable th,#salesClientsTable td{
    padding:8px;
}

button.saveQuarterliesAnswer, button.save1099Answer, button.saveBalanceAnswers, button.saveWhiteLabelAnswer,button.nextFromGeneral, button.nextFromPersonal, button.saveBalanceSheet{
    display: block;
    width: 100%;
    padding: 15px;
    font-weight: 500;
    line-height: normal;
    max-width: 390px;
    margin: 10px auto;
}

/* Add the following CSS to align the tabs horizontally */
.tabs-container {
    justify-content: space-between;
    background: #24ace4;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}


.question, .subQuestion {
  margin-bottom: 10px;
  margin-top:15px;
  margin-left: 10px;
}

.finishedQuestion {
  border-left: 5px solid green; 
  padding-left: 10px;
}

.notFinishedQuestion {
  border-left: 5px solid yellow; /* Set the width and color of the left border to yellow */
  padding-left: 10px; /* Add some padding to separate the content from the border */
}

.questionText {
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.50);
}

.textareaStyle{
    width: 98%;
    box-sizing: border-box;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 50px;
    font-size: 15px;
    font-weight: 400;
    font-family: inherit;
  
}

.inputStyle{
  width: 98%;
  box-sizing: border-box;
  padding: 10px;
  margin-bottom: 5px;
  margin-top:3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: auto;
  font-size:17px;
}

.dropDownAnswer, .dropDownAnswerMultiMulti, .dropDownQuarterlies, .dropdownCurrentStep, .deleteBankAccountList{
  
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #000000d1;
    width: 98%;
    font-weight: 500;
}

.dropDownStyle {
  
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size:19px;
  color: #000000;
}

.bkDropDown {
  
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size:16px;
  color: #000000;
}

.circle {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #007bff;
  color: white;
  text-align: center;
  line-height: 18px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 12px;
  padding-right: 1px;
  padding-top: 1px;
}

.info-icon {
  display: inline;  /* You can also use inline-block if you need to set width, margin, padding, etc. */
}

.saveCurrentStep:disabled, .uploadButtonAccounts:disabled {
  background-color: #999;/* Change text color to gray for disabled elements */
  pointer-events: none;
}

#deleteBankAccountModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}



.deleteBankAccountModal .modal-content p,span,h3,h4,b,#bankDescription{
  text-align: left !important; 
}



.deleteBankAccount, .deleteAnAccount,#confirmDeleteBankAccount {
  background-color:red !important;
  color:white !important;
}

.saveAnswerButton, .saveMultiAnswer, .saveMultiMultiAnswer, .addMultiButton,.addMultiFormButton, .saveBusinessMultiMultiAnswer,
.uploadButton, .linkPlaidAccount, .uploadButtonAccounts, .addNewBusinessButton, 
.addAccountManuallyButton, .addAccountButton, .saveQuarterliesAnswer, .save1099Answer, .saveLlcSetUpAnswer, .saveWhiteLabelAnswer,
.saveCurrentStep, .deleteMultiButton, .saveMultiMultiAnswerBankAccounts, .addSubMultiButton,.saveRentalAnswer,
.deleteBankAccount, .deleteAnAccount, #cancelDeleteBankAccount, #confirmDeleteBankAccount , .saveBalanceAnswers, #addBusinessOrRentalButton, .saveBusinessOrRental, .nextFromGeneral, .nextFromPersonal, .copyAnswersFromLastYear , .saveBalanceSheet, .deleteBusinessBalanceSheetButton, .uploadBalanceSheetButton, .showBalanceSheetLink{
  background-color: #24ace4;
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.sameAsTaxAddressButton, .deleteButton {
  background-color: #24ace4;
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin-bottom: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.uploadLoader {
   width: 20px;
    height: 20px;
    margin-top:15px;
    Margin-left:10px; /* Center horizontally */
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite; /* CSS animation */
    display: 'none';
    
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.referral-link-container {
    display: flex;
    margin-bottom:40px;
    align-items: center;
    background-color: #f2f2f2;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    width: auto; /* Adjust based on your layout needs */
}


.referral-link-container input {
    border: none;
    padding: 5px;
    border-radius: 4px;
    margin-right: 5px;
    flex-grow: 1; /* Makes the input field grow to fill available space */
    font-size: 14px;
    background-color: transparent;
    cursor: pointer;
    color: #24ace4; /* Text color blue */
    overflow-x: auto; /* Allows scrolling if text is too long */
}


.referral-link-container button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

.copy-alert {
    display: none;
    color: green;
    font-size: 12px;
    margin-left: 5px;
}


.saveAnswerButton:hover, .saveMultiAnswer:hover, .uploadButton:hover, .addAccountButton:hover, .uploadButtonAccounts:hover, .addNewBusinessButton:hover, .nextFromGeneral:hover, .nextFromPersonal:hover
.sameAsTaxAddressButton:hover, .deleteButton:hover,.saveWhiteLabelAnswer, .save1099Answer:hover , .saveQuarterliesAnswer:hover,.saveBalanceAnswers:hover ,.saveLlcSetUpAnswer:hover, .saveCurrentStep:hover, .deleteMultiButton:hover, #addBusinessOrRentalButton:hover, .saveBusinessOrRental:hover, .copyAnswersFromLastYear:hover, .saveBalanceSheet:hover, .deleteBusinessBalanceSheetButton:hover, .uploadBalanceSheetButton:hover {
  background-color: #1e8ac9;
}

#rentalNotice{
    color: rgb(0 0 0 / 50%);
    text-align: center;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 132.523%;
    background: #f1f1f1;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    margin-top: 10px;;
}

.checkbox-group {
  margin-bottom: 3px;
  margin-top:3px;
}

.subQuestionText {
margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.50) !important;
}

.multiName {
  font-size:15px;
  margin-top:30px; 
  margin-bottom:3px;
  font-weight: bold;
  
}

.businessOrRentalText {
  font-size:20px;
  margin-top:30px; 
  margin-bottom:3px;
  font-weight: bold;
  
}

.dateStyle {
  font-size:17px;
  margin-top:3px; 
  margin-bottom:10px;
  border:none;
}

.uploadHolder {
  
  margin-top:15px;
  
}


#autoConnectAccounts, #manualConnectAccounts{
  margin-top: 15px;
}

#addAccount{
  margin-top: 5px;
}

#accountQuestions{
  margin-top: 5px;
}

.progressbarHolder {
  width: 100%;
}

.questionProgress {
  width: 90%;
  margin-left: 15px;
  background-color: #f0f0f0;
}

.questionProgress::-webkit-progress-value {
  background-color: #24ace4; 
}

.updatedColorGreen::-webkit-progress-value {
  background-color: green;
}

.updatedColorYellow::-webkit-progress-value {
  background-color: #FFD700;
}

.progress-bar-container {
    width: 90%;
    height: 18px;
    border: 1px solid #c5c5c5;
    position: relative;
    border-radius: 100px;
    background: #F1F1F1;
    margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: green;
  transition: width 0.3s;
  border-radius: 100px;
}



.fileHolder {
  display: flex;
  align-items: center;
  height: 30px;
  margin-top: 3px;
  margin-bottom: 3px;
  max-width: 100%;
  overflow: hidden;
}

.fileHolder a,
.fileHolder p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fileHolder a {
  max-width: 60%;
  flex-shrink: 1;
  min-width: 0;
}

.fileHolder .deleteButton {
  flex-shrink: 0;
}

.deleteButton {
  display: inline-block;
  margin-left: 5px;
}

.progressbarText {
  display: flex;
}

.progressText {
  margin-left: 10px;
  font-weight: bold;
}


.statements {
  display: flex;
}


#loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}




#businessNameWarning {
  color: red;
}


.issuesHolder {
  margin: 10px 0;
}

.warningMessage {
  color: #ff7b7b; 
  font-size: 10px; 
  width: 250px; 
  margin-left: 10px; 
  margin-top: 5px; 
  margin-bottom:-8px;
  font-style: italic;
}

.feedbackMessage {
  margin-left: 10px;
  margin-top: 13px; 
}


#chatArea {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  border: 1px solid #2724243b;
  height: 400px;
  position: relative;
  overflow-y: scroll;
  padding: 10px;
  border-radius: 15px;
  
}

#textBox {
  width: 100%;
  height: 20%;
  display: flex;
}

#textArea {
width: 80%;
    height: 45px;
    margin: 10px;
    padding: 5px;
    font-family: inherit;
    border-radius: 10px;
    border: 1px solid #c5c5c5;
    background: #F5F5F5;
}

#chatArea p {
  position: relative;
  margin: 5px 0;
  font-size: 15px;
  max-width: 60%;
}


.message {
  padding: 10px;
  background-color: rgb(36, 172, 228);
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 0 15px;
  position: relative;
  margin-left: 50px !important;
  max-width: 60%;
  align-self: flex-end;
}

.archiveMessage {
  position: absolute;
  left: -25px;
  background-color: #1718183b; /* Background color of the tooltip */
  color: #fff; /* Text color of the tooltip */
  padding: 4px 6px; /* Padding for the tooltip */
  border-radius: 4px; /* Border radius for the tooltip */
  font-size: 12px; /* Font size for the tooltip */
  white-space: nowrap; /* Prevent line breaks in the tooltip */
  margin-right: 20%;
  border: none;
  display: none;
  bottom: 10px;
}

span.convertToTicket {
  position: absolute;
  left: -60px;
  background-color: #17a2b8; /* Blue background for convert button */
  color: #fff; /* Text color of the tooltip */
  padding: 4px 6px; /* Padding for the tooltip */
  border-radius: 4px; /* Border radius for the tooltip */
  font-size: 12px; /* Font size for the tooltip */
  white-space: nowrap; /* Prevent line breaks in the tooltip */
  margin-right: 20%;
  border: none;
  display: none;
  bottom: 10px;
  cursor: pointer;
  z-index: 1000;
}

.pArchOutgoingFile {
  padding: 10px;
  background-color: rgb(36, 172, 228);
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 0 15px;
  position: relative;
  margin-left: 50px !important;
  max-width: 60%;
  align-self: flex-end;
}

.archiveIncoming {
  position: absolute;
  right: -40px;
  background-color: #1718183b;
  color: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  right: -30px;
  border: none;
  display: none;
  top: 10px;
  text-align: left;
}

.pdfDownloadBtn {
  position: absolute;
  right: -30px;
  top: 10px;
  background-color: #1718183b;
  color: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.pdfDownloadBtn:hover {
  background-color: #171818;
  color: #fff;
}
.pdfDownloadBtn ~ .archiveIncoming,
.pdfDownloadBtn ~ .archiveMessage {
  right: -58px;
}
.messageFile .pdfDownloadBtn {
  right: auto;
  left: -30px;
}
.messageFile .pdfDownloadBtn ~ .archiveMessage {
  right: auto;
  left: -58px;
  bottom: auto;
  top: 10px;
}

.archIncoming {
  align-self: baseline;
  padding: 10px;
  background-color: #e7b4b4;
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 15px 0;
}

.archOutgoing {
  padding: 10px;
  background-color: #e7b4b4;
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 0 15px;
  position: relative;
}

#sendChat, #sendChat1 {
  background-color: transparent;
  padding: 0;
  border: none;
  color: inherit;
  margin: auto;
}

#attachment {
  background-color: transparent;
  padding: 0;
  border: none;
  color: inherit;
  margin: auto;
}


.incoming {
  align-self: baseline;
  padding: 10px;
  background-color: #26252a;
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 15px 0;
  position: relative;
  margin-right: 50px !important;
  text-align: left;
}

#fileDisplay {
  margin: 5px auto 0 auto;
  width: 100%;
  border: none;
  background: #16161617;
  border-radius: 5px;
  border-bottom: 1px solid #6ba2db8c;
  text-align: center;
}

.messageFile {
  padding: 10px;
  background-color: #3d84f6;
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 0 15px;
  position: relative;
  font-size: 15px;
  text-decoration: underline;
  margin: 2px 0;
  align-self: flex-end;
}

.incomingFile {
  align-self: baseline;
  padding: 10px;
  background-color: #26252a;
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 15px 0;
  position: relative;
  font-size: 15px;
  text-decoration: underline;
  margin: 2px 0;
  cursor: pointer;
}

.archIncomingFile {
  background-color: #e7b4b4;
  align-self: baseline;
  padding: 10px;
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 15px 0;
  position: relative;
  font-size: 15px;
  text-decoration: underline;
  margin: 2px 0;
}

.archOutgoingFile {
  padding: 10px;
  background-color: #e7b4b4;
  color: white;
  font-size: 18px;
  border-radius: 15px 15px 0 15px;
  position: relative;
  font-size: 15px;
  text-decoration: underline;
  margin: 2px 0;
}


.icon-value, .badge{
  color: white;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
  background: #e9a403;
  padding: 3px 6px;
  border-radius: 50%;
  position: absolute;
  left:-4px;
  top:-4px;
}

.hasUnread {
  color: white;
  background-color: rgb(233, 3, 3);
}

#chatArea p a {
  color: white;
  display: block;
  word-wrap: break-word;
}

#referralBonusContent {
  display: none;
  width: 100%;
}

#quarterliesContent, #llcSetupContent, #scorpContent, #finalizedTaxForms {
  display: none;
  width: 100%;
}


#invoicesDetailsPopup {
  position: fixed;
  /* top: 30px; */
  /* bottom: 20px; */
  left: 50%;
  width: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 15px;
  border: 1px solid #0000006e;
  z-index: 9999;
  overflow-y: auto;
  max-height: 80vh;
  border-radius: 5px;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ccc;
}

/* Style table header */
table thead {
  background-color: #f2f2f2;
}

table th {
  font-weight: bold;
}

table {
  width: 100%;
  margin: 10px 0;
  padding: 5px 10px;
  color: gray;
  border-radius: 5px;
  border-color: #e9d9d999;
  border-collapse: collapse;
}

#referralBonusDisplay table {
  width: max-content;
  min-width: 100%; /* Set your desired minimum width */
  border-collapse: collapse;
  white-space: nowrap; /* Prevent text wrapping within cells */
}

#referralBonusDisplay {
  overflow: auto;
}


#totals {
    display: flex;
    justify-content: space-between; /* Distributes columns with equal spacing between */
    width: 100%; /* Adjust the width as needed */
}

.totalAmounts {
    flex-basis: calc(33.33% - 10px); /* Adjust as needed, subtracting margin/padding */
    background-color: #f2f2f2;
    padding: 10px;
}

.deleteBusinessButton, #confirmDeleteBusinessButton , .hideDropdown {
  background-color: #ff7b7b;
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 15px;
  cursor: pointer;
  border-radius: 4px;
}

#closeDeleteBusinessPopup {
  background-color: #24ace4;
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.deleteBusinessButton:hover, #confirmDeleteBusinessButton:hover {
  background-color: #c75d5d;
}

#deleteBusinessPopup {
  position: fixed;
  top: 30%;
  bottom: 20px;
  left: 50%;
  width: 60%;
  max-width: 300px;
  transform: translateX(-50%);
  background-color: white;
  padding: 10px;
  border: 1px solid black;
  z-index: 9999;
  overflow-y: auto;  /* Enable vertical scrolling */
  max-height: 20vh; 
}

.buttonContainer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 200px;
  margin: 0 auto;
}

.serviceButtons {
  margin: 5px;
  border: 1px solid #a3a3a3;
  border-radius: 5px;
  padding: 5px;
  display: none;
}

#preferredPaymentSections input, #preferredPaymentSections select {
  padding: 5px;
  margin: 5px;
  border-radius: 5px;
  border: 1px solid #16141499;
  width: 40%;
}

#preferredPaymentSections button {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #fff;
  background: #24ace4;
  color: white;
  width: 15%;
}


.indentRight {
  margin-left: 0;
}

.timestamp {
  margin:0 auto;
  font-size: 10px;
}


.percentValue {
  font-size: 20px;
  padding:5px;
  
}
.sliderContainer {
    position: relative;
    width: 70%;
    margin:15px;
}
.percentSlider {
    width: 70%; /* Makes the slider expand to fill the container */
}
.hidden{
  display:none !important;
}

.addAnotherBusiness,.saveBusinessQuestionDropdowns, .btn{
    font-size: 15px;
    padding: 5px 10px;
    cursor: pointer;
    background-color: #24ace4;
    border: 1px solid #24ace4;
    border-radius: 5px;
    color: white;
}

.accountsInitialNext {
  font-size: 25px;
  padding: 5px 50px;
  cursor: pointer;
  background-color: #24ace4;
  border: 1px solid #24ace4;
  border-radius: 5px;
  color: white;
  
}


.saveBusinessQuestionDropdowns{
    margin-top: 5px;
}
#initialquestionsheadertitle{
  text-align: center;
  font-weight: bold;
  font-size: larger;
  margin-top: 1em;
  margin-bottom: 25px;
  margin-left: 5px;
}

#accountsInitialNextHolder{
  display:flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom:20px;
}

#anotherbusinessbtnholder{
  display:flex;
  justify-content: center;
  margin-left: 5px;
  margin-bottom: 1.5em;
}
#anotherbusiness{
  text-align: center;
  margin-top: 40px;
  margin-left: 5px;
  margin-right: 5px;
}#anotherbusiness p{
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 1.5em;
}
#anotherbusiness .btn{
  width: 12%;
  margin-right: 7px;
  padding: 5px 20px;
  display:inline-block;
}

.businessDropdown{
  display: block;
}
#initialquestionsinstructions{
  text-align: center;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 30px;
  font-size: 15px;
  font-weight: 500;
}
.NAhide{
  display:none;
}

#personalbusinessExtform{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.personalbusiness-instruction,.floatinglabel,.personalbusiness-label,.personalbusiness-select,
.personalbusiness-fieldset-gridcol1,.personalbusiness-fieldset-gridcol2,.personalbusiness-fieldset-gridcol3{
  margin-bottom: 1em;
}
.personalbusiness-radiobtngroup{
  margin-bottom: 0.4em;
}
.personalbusiness-title{
  text-align: center;
  margin-bottom: 1em;
}
.personalbusiness-subtitle{
  font-size: large;
  font-weight: 600;
  margin-top: 2em;
}
.personalbusiness-instruction{
  font-size: 1em;
  margin-bottom: 1.8em;
}
.personalbusiness-fieldset-gridcol1,.personalbusiness-fieldset-gridcol2,.personalbusiness-fieldset-gridcol3{
  border: solid #dddddd 1.5px;
  display: grid;
  grid-template-rows: auto;
  margin: 0;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 1.5em;
  padding-bottom: 0em;
  box-sizing: border-box;
  margin-bottom: 1em;
}
.personalbusiness-fieldset-gridcol1{
  grid-template-columns: 1fr;
}
.personalbusiness-fieldset-gridcol2{
  grid-template-columns: 3fr 1fr;
}
.personalbusiness-fieldset-gridcol3{
  grid-template-columns: 2fr 2fr 1fr
}
.personalbusiness-legend,.personalbusiness-legend-right{
  padding-left: 0.3em;
  padding-right: 0.3em;
}
.personalbusiness-legend-right{
  text-align: right;
  text-align: right;
  font-size: small;
  color: #c20f0f;
  cursor: pointer;
}

.floatinglabel{
  position: relative;
}
.floatinglabel label{
  font-size: smaller !important;;
  position: absolute;
  background-color: white;
  font-size: smaller;
  position: absolute;
  background-color: white;
  top: -0.65em;
  left: 0.6em;
  padding: 0em 0.5em;
  display: none;
  width: max-content;
}
.personalbusiness-select,.personalbusiness-inputtext,.floatinglabel input[type="text"],.personalbusiness-dateinput{
  font-size: 1em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  width: 100%;
  box-sizing: border-box;
}
#personalbusiness-statesworkedlist{
  display: flex;
  margin-top: -1.1em;
  margin-bottom: 1em;
}
.personalbusiness-statesworked{
  padding:1em;
  background-color: gray;
}
.personalbusiness-stateworked{
  display: inline-block;
  padding: 0.3em;
  border: 1px solid #937f7f;
  border-radius: 5px;
  margin-top: 0.5em;
  background-color: #c9e4ef;
}
.personalbusiness-stateworked-close{
    margin-left: 0.3em;
    cursor: pointer;
    font-weight: 500;
    color: #e73737;
}

#personalbusiness-addnewbusiness-container{
    text-align: center;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 1em;
}
#personalbusiness-businessselector{
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 0.5em;
}

.fulladdressstate{
  padding-bottom: 0.6em;
}

.personalbusiness-business-container{
    margin-bottom: 2em;
    padding-bottom: 1em;
}
.personalbusiness-removebtn{
    display: inline-block;
    background-color: white;
    padding: 0 0.5em;
    cursor: pointer;
    color: red;
}
.personalbusiness-removebtn-container{
  text-align: right;
  margin-top: -1.7em;
}
#personalbusiness-modal,#personalbusiness-confirm{
  display: none;
  z-index: 3000;
  background-color: rgba(78, 82, 83, 0.5);
  position: absolute;
  top: 0;
  left: 0;
}

#personalbusiness-modal-content p,#personalbusiness-confirm-p{
  text-align: center;
  padding: 2em 3em;
  background-color: white;
  margin: auto;
}

#personalbusiness-modal-content,#personalbusiness-confirm-content{
  left: 50%;
  transform: translate(-50%, -50%);
}

#personalbusiness-modal-btngroup{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1em;
}
#personalbusiness-modal-btngroup button,#personalbusiness-btn-ok{
  padding: 0.4em;
  border: none;
  cursor: pointer;
}
#personalbusiness-btn-ok{
  width: 100%;
  font-size: 1.1em;
}
#personalbusiness-btn-yes:hover,#personalbusiness-btn-ok:hover{
  background-color: #e6ffe6;
}
#personalbusiness-btn-no:hover{
  background-color: #ffcccc
}
#personalbusiness-saveAnswer, #uploadAssessment{
  font-size: 1.1em;
  margin-bottom: 2em;
  padding: 1em 4em;
  background-color: #24ace4;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}
.spanerrormsg{
  color: #c92f2f;
  display: block;
  font-size: 0.85em;
}

#personalbusiness-personal,#personalbusiness-business{
  padding: 1em;
}
#removenotificationforextensions{
  text-align: right;
  padding: 0.3em;
  cursor: pointer;
}
.exttab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.exttab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 1.1em;
}

/* Create an active/current tablink class */
.exttab button.active,.exttab button:hover {
  background-color: #24ace4;
  color: white;
}
#personalBusinessExt,#chat{
 position: relative; 
}#personalbusinessnotifbadge,#chatnotifbadge{
  display: none;
  background-color: red;
  padding: 0.25em;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
  background: #e90303;
  padding: 3px 6px;
  border-radius: 50%;
  position: absolute;
  top: 2em;
  right: 0;
}
#chatnotifbadge{
  top: 0;
}
#removenotificationforextensions button,.removenotifications button{
  padding: 0.3em;
  cursor: pointer;
}
.chatmsg_subject{
  display: block;
  margin-bottom: 1em;
  font-weight: 600;
}
.chatmsg_header{
  display: block;
  margin-bottom: 1em;
}
#teleIcon,#attachment{
  cursor: pointer;
}
.fileuploaddiv{
  display: flex;
  gap: 0.5em;
  align-items: center;
}

#textBox button{
  cursor: pointer;
}

.getFileButton {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 500px; /* Adjust the max-width as needed */
    vertical-align: bottom;
}

.add1099Modal, .addFormTaxPrepModal, .addPreviousTaxFormModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-1099, .modal-content-TaxPrep, .modal-content-PreviousTax {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 60%;
    background-color: #ffffff; 
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 
    max-height: 80vh;
    overflow-y: auto;
  
}

#wagesMultiStateTable,
#stateIncomeTaxWithheldMultiStateTable,
#localWagesMultiStateTable,
#localIncomeTaxWithheldMultiStateTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#wagesMultiStateTable th,
#stateIncomeTaxWithheldMultiStateTable th,
#localWagesMultiStateTable th,
#localIncomeTaxWithheldMultiStateTable th,
#wagesMultiStateTable td,
#stateIncomeTaxWithheldMultiStateTable td,
#localWagesMultiStateTable td,
#localIncomeTaxWithheldMultiStateTable td {
    padding: 10px;
    width: 40%;
    text-align: left;
    border: 1px solid #ccc;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

#Choose1099Form, .ChooseTaxPrepForm, .ChoosePreviousTaxForm {
    width: 250px; 
    padding: 8px; /* Add padding for better appearance */
    font-size: 16px; /* Adjust font size if needed */
    border: 1px solid #ccc; /* Add border for clarity */
    border-radius: 4px; /* Add border radius for rounded corners */
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

/* Horizontal line */
.modal-content-1099 hr, .modal-content-TaxPrep hr  {
  border: 0;
  border-top: 1px solid #ccc;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Form container */
.Form1099, .FormTaxPrep, .FormhomeOffice{
    width: 70%;
    margin: 0 auto;
}

/* Form sections */
.Form1099Section, .FormTaxPrepSection {
    margin-bottom: 20px;
}

/* Labels */
.Form1099 label, .FormTaxPrep label , .FormhomeOffice label {
    display: block;
    margin-bottom: 5px;
}

/* Input fields */
.Form1099 input[type="text"], .FormTaxPrep input[type="text"], .FormhomeOffice input[type="text"],
.Form1099 input[type="checkbox"], .FormTaxPrep input[type="checkbox"], 
.Form1099 select, .FormTaxPrep select, .FormhomeOffice select,
.Form1099 textarea, .FormTaxPrep textarea , .FormhomeOffice textarea{
    width: calc(100% - 10px);
    padding: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Textarea */
.Form1099 textarea, .FormTaxPrep textarea {
    width: calc(100% - 10px);
    padding: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Button */
.Form1099 button, .FormTaxPrep button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

.Form1099 button:hover, .FormTaxPrep button:hover {
    background-color: #0056b3;
}

/* Checkbox */
.Form1099 input[type="checkbox"], .FormTaxPrep input[type="checkbox"] {
    width: auto;
}

/* Additional styling for better separation and layout */
.Form1099 h2, .FormTaxPrep h2,
.Form1099 p, .FormTaxPrep p {
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.Form1099 h3, .FormTaxPrep h3 {
  margin-top: 20px;
}

#stateLocalTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#stateLocalTable th, #stateLocalTable td {
  border: 1px solid #ccc;
  padding: 5px;
  text-align: left;
}

#stateLocalTable input[type="text"] {
    width: 100%;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

#addRowButton, .deleteRowButton {
  margin-top: 10px;
  padding: 5px 10px;
  cursor: pointer;
}

#addRowButton {
  display: block;
  margin-bottom: 10px;
}

.saveButton, .saveTaxPrepFormButton, #addFormButton {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  background-color: #24ace4;
  color: white;
  cursor: pointer;
  display: inline-block;
}

.saveButton:hover, .saveTaxPrepFormButton:hover, #addFormButton:hover{
  background-color: #0056b3;
}

/* Center the button */
.buttonContainer {
  text-align: center;
  margin-top: 20px;
}


/* The hidden modal container */
#uploadEsigModal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 10%;
  left: 50%;
  width: 700px;
  height: 85%;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  overflow: auto;
  z-index: 1000;
  transform: translateX(-50%); /* Shift it back by half its width */
}

/* Modal header row */
#modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

/* Close icon in the header */
#modalClose {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#modalClose:hover,
#modalClose:focus {
  color: black;
  text-decoration: none;
}

/* The scrollable container for rendering all PDF pages */
#pdfContainer {
  display: none;        /* Shown via JS once PDF is loaded */
  width: 650px;
  height: 700px;      /* scrollable height */
  border: 1px solid #ccc;
  overflow: auto;
  position: relative;
  margin-bottom: 10px;
}

/* Each PDF page container (created dynamically via JS).
   We'll typically set its width/height and possibly transform in JS. */
.pageDiv {
  position: relative;
  margin-bottom: 20px;
  /* transform: scale(0.5);       (example: do in JS if you want hiDPI trick)
     transform-origin: top left;  (set in JS if needed) */
}

/* By default, your canvas could fill the .pageDiv's space. 
   You might also set canvas { display:block; margin:0 auto; } if you want it centered. */

/* Markers for placeholders */
.placeholder-marker {
  position: absolute;
  background-color: rgba(255, 0, 0, 0.3);
  border: 1px solid red;
  padding: 2px 4px;
  font-size: 20px;
  pointer-events: auto; /* Allow pointer events for dragging if needed */
}

.placeholderTabContainer {
  display: inline-flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

/* Hide the radio buttons */
.placeholderTabContainer input[type="radio"] {
  display: none;
}

/* Style the labels as tabs */
.placeholderTabContainer label {
  padding: 8px 12px;
  cursor: pointer;
  background-color: gray;  /* Inactive tab background */
  color: white;
  font-weight: bold;
  margin: 0;
  border-right: 1px solid #ccc;
}

/* Remove the right border on the last label */
.placeholderTabContainer label:last-of-type {
  border-right: none;
}

/* Style the active (checked) tab */
.placeholderTabContainer input[type="radio"]:checked + label {
  background-color: #24ace4;  /* Active tab background */
}




/* Archive/Delete Tab Button Styles */
.taxPrepTab .deleteTabButton {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 5px;
    margin-left: 10px;
    float: right;
    line-height: 1;
}

.taxPrepTab .deleteTabButton:hover {
    color: #cc0000;
}

.taxPrepTab.archived-tab .deleteTabButton {
    color: #cc0000;
}

.taxPrepTab .linkToLastYearButton {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 0 5px;
    margin-left: 5px;
    float: right;
    line-height: 1;
    opacity: 0.6;
}

.taxPrepTab .linkToLastYearButton:hover {
    opacity: 1;
}

/* Mileage Calculator Styles */
.FormMileageCalculator {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Universal Inputs Section */
.universal-inputs-section {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.universal-inputs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.universal-input-item {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.universal-input-item label {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.universal-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.universal-input:focus {
    outline: none;
    border-color: #24ace4;
    box-shadow: 0 0 3px rgba(36, 172, 228, 0.3);
}

.calculated-universal {
    background: #f5f5f5;
    color: #333;
}

/* Vehicle Forms Section */
.vehicle-form {
    background: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Simplified Car Form Grid Layout */
.car-form-simple {
    display: grid;
    gap: 8px;
}

.car-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.car-title-row label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin: 0;
}

.car-percentage-simple {
    width: 60px;
    padding: 4px 6px;
    border: 2px solid #24ace4;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.percentage-symbol {
    font-weight: bold;
    color: #24ace4;
    font-size: 14px;
}

/* Single Row Layout for Car Forms */
.single-row-layout {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.field-group {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.single-row-input {
    width: 100%;
    padding: 6px 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
}

/* Legacy styles for backward compatibility */
.labels-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 5px 0;
}

.values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 5px 0;
}

.miles-labels-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 5px 0;
}

.miles-values-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 5px 0;
}

.field-label {
    font-size: 12px;
    color: #666;
    font-weight: bold;
    text-align: center;
}

.value-input {
    width: 100%;
    padding: 6px 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
}

.empty-cell {
    /* Empty cell for alignment */
}

/* Input styling */
.currency-input, .miles-input, .percentage-input, .mpg-input, .number-input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Disposition Form Styling */
.dispositionForm {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
}

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

.disposition-header h3 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.deleteDispositionButton,
.deleteMultipleFormButton {
    background-color: #dc3545 !important;
    color: white !important;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.deleteDispositionButton:hover,
.deleteMultipleFormButton:hover {
    background-color: #c82333 !important;
}

/* Balance Sheet Styles */
#balanceSheetPdfDisplay {
    position: absolute;
    top: 25px;
    right: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px;
    min-width: 280px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    z-index: 0;
}

#pdfDisplayHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
}

#pdfDisplayHeader .pdf-title {
    font-weight: bold;
    color: #333;
    font-size: 12px;
}

#pdfCount {
    color: #666;
    font-weight: normal;
    font-size: 11px;
}

#pdfToggleIcon {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s;
    transform: rotate(-90deg);
}

#pdfListContainer {
    max-height: 180px;
    overflow-y: auto;
    display: none;
}

#balanceSheetPdfDisplay .fileHolder {
    margin-bottom: 8px;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

#balanceSheetPdfDisplay .file-info {
    flex: 1;
    overflow: hidden;
    margin-right: 10px;
}

#balanceSheetPdfDisplay .fileHolder a {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#balanceSheetPdfDisplay .fileHolder p {
    font-size: 10px;
    color: #666;
    margin: 2px 0 0 0;
}

#balanceSheetPdfDisplay .deleteButton {
    background-color: #24ace4;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    flex-shrink: 0;
    margin: 0;
}

#balanceSheetPdfDisplay .deleteButton:hover {
    background-color: #1a8bb5;
}

#balanceSheetBookingMessage {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
}

#balanceSheetConcernsMessage {
    text-align: center;
    padding: 30px 20px;
    background-color: #f0f8ff;
    border: 1px solid #007cba;
    border-radius: 8px;
    margin: 20px 0;
}

.createBalanceSheetButton {
    background-color: #24ace4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 20px;
}

.deleteBusinessBalanceSheetButton {
    background-color: #24ace4;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    height: 30px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .universal-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-single-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .calculated-results {
        grid-template-columns: 1fr;
    }
}

/* MISC Calculator Styles - Simplified */
.misc-summary-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.misc-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.misc-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.misc-summary-item label {
    font-weight: 600;
    color: #495057;
}

.misc-summary-item span {
    font-weight: 700;
    color: #24ace4;
}

.misc-category-breakdown {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

.misc-category-breakdown h4 {
    margin-bottom: 15px;
    color: #333;
}

.misc-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.misc-category-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
}

.misc-category-item span:first-child {
    color: #6c757d;
}

.misc-category-item span:last-child {
    font-weight: 600;
    color: #28a745;
}

.misc-total-classified {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.misc-total-classified strong {
    color: #333;
}

.misc-total-classified span {
    font-weight: 700;
    color: #24ace4;
}
.misc-gas-total {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff7e6;
    border: 1px solid #ffd700;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}
.misc-gas-total strong {
    color: #333;
}
.misc-gas-total span {
    font-weight: 700;
    color: #ff9500;
}

.misc-note {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    color: #856404;
}

/* MISC Calculator Styles */
.FormMiscCalculator {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.FormMiscCalculator h2 {
    color: #24ace4;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
}

.misc-params-section {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.misc-params-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.misc-input-item {
    flex: 1;
    min-width: 150px;
}

.misc-input-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.misc-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.misc-input:focus {
    border-color: #24ace4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(36, 172, 228, 0.2);
}

.misc-transactions-section {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.misc-transactions-section h3 {
    color: #24ace4;
    margin-bottom: 15px;
    font-size: 18px;
}

.misc-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.misc-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.misc-btn-primary {
    background-color: #24ace4;
    color: white;
}

.misc-btn-primary:hover {
    background-color: #1a8db8;
}

.misc-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.misc-btn-secondary:hover {
    background-color: #5a6268;
}

.misc-btn-info {
    background-color: #17a2b8;
    color: white;
}

.misc-btn-info:hover {
    background-color: #138496;
}

.misc-btn-success {
    background-color: #28a745;
    color: white;
}

.misc-btn-success:hover {
    background-color: #218838;
}

.misc-btn:not(.misc-btn-primary):not(.misc-btn-secondary):not(.misc-btn-info):not(.misc-btn-success) {
    background-color: #28a745;
    color: white;
}

.misc-btn:not(.misc-btn-primary):not(.misc-btn-secondary):not(.misc-btn-info):not(.misc-btn-success):hover {
    background-color: #218838;
}

.misc-btn-small {
    padding: 4px 8px;
    font-size: 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.misc-btn-small:hover {
    background-color: #c82333;
}

.misc-transactions-table {
    overflow-x: auto;
}

#miscTransactionsTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    table-layout: fixed; /* Force fixed table layout for better column control */
}

#miscTransactionsTable th,
#miscTransactionsTable td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

/* Define column widths */
#miscTransactionsTable th:nth-child(1),
#miscTransactionsTable td:nth-child(1) { /* Amount column */
    width: 15%;
}

#miscTransactionsTable th:nth-child(2),
#miscTransactionsTable td:nth-child(2) { /* Merchant column */
    width: 45%;
}

#miscTransactionsTable th:nth-child(3),
#miscTransactionsTable td:nth-child(3) { /* Subcategory column */
    width: 25%;
}

#miscTransactionsTable th:nth-child(4),
#miscTransactionsTable td:nth-child(4) { /* Actions column */
    width: 15%;
    text-align: center;
}

#miscTransactionsTable th {
    background-color: #24ace4;
    color: white;
    font-weight: 600;
}

#miscTransactionsTable tr:nth-child(even) {
    background-color: #f8f9fa;
}

.misc-table-input {
    width: calc(100% - 4px); /* Reduce width to account for borders */
    max-width: 100%;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    box-sizing: border-box;
}

.misc-table-input:focus {
    border-color: #24ace4;
    outline: none;
}

.misc-results-section {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.misc-results-section h3 {
    color: #24ace4;
    margin-bottom: 15px;
    font-size: 18px;
}

.misc-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.misc-results-col h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    border-bottom: 2px solid #24ace4;
    padding-bottom: 5px;
}

.misc-result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.misc-result-item label {
    font-weight: 500;
    color: #666;
}

.misc-result-item span {
    font-weight: 600;
    color: #333;
}

.misc-archive-section {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #24ace4;
}

.misc-archive-section h3 {
    color: #24ace4;
    margin-bottom: 15px;
}

.archive-summary {
    background-color: white;
    padding: 15px;
    border-radius: 4px;
}

.misc-archive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.misc-archive-table th,
.misc-archive-table td {
    padding: 6px 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.misc-archive-table th {
    background-color: #24ace4;
    color: white;
}

.misc-archive-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Responsive design for MISC Calculator */
@media (max-width: 768px) {
    .misc-params-row {
        flex-direction: column;
    }
    
    .misc-controls {
        flex-direction: column;
    }
    
    .misc-results-grid {
        grid-template-columns: 1fr;
    }
    
    .misc-transactions-table {
        font-size: 12px;
    }
}

/* Balance Sheet PDF Modal Styles */
.balance-sheet-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
}

.balance-sheet-modal-content {
    background-color: #fefefe;
    margin: 1% auto 0;
    border: 1px solid #888;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 1400px;
    height: 95vh;
    display: flex;
    flex-direction: column;
}

.balance-sheet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.balance-sheet-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.modal-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.balance-sheet-modal-header .close {
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    line-height: 20px;
}

.balance-sheet-modal-header .close:hover,
.balance-sheet-modal-header .close:focus {
    color: #000;
    text-decoration: none;
}

.balance-sheet-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background-color: #f5f5f5;
    min-height: 400px;
    position: relative;
}

#balanceSheetContent {
    background-color: white;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Balance Sheet Content Styles */
#balanceSheetContent .header {
    text-align: center;
    margin-bottom: 20px;
}

#balanceSheetContent .company-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

#balanceSheetContent .report-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

#balanceSheetContent .report-date {
    font-size: 12px;
    margin-bottom: 20px;
}

#balanceSheetContent table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#balanceSheetContent th,
#balanceSheetContent td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#balanceSheetContent th {
    font-weight: bold;
    background-color: #24ace4;
}

#balanceSheetContent .amount {
    text-align: right;
}

#balanceSheetContent .total-row {
    font-weight: bold;
    border-top: 2px solid #000;
    background-color: #f0f0f0;
}

#balanceSheetContent .category-header {
    font-weight: bold;
    background-color: #24ace4;
    color: white;
}

#balanceSheetContent .indent {
    padding-left: 20px;
}

#balanceSheetContent .section-title {
    font-size: 14px;
    font-weight: bold;
    margin: 20px 0 10px 0;
    text-align: left;
}

#balanceSheetContent .net-income {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

.balance-sheet-modal-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    border-top: 1px solid #ddd;
}

/* Button Styles */
.btn-download {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-accept {
    background-color: #4CAF50;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-reject {
    background-color: #f44336;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-download:hover,
.btn-accept:hover,
.btn-reject:hover {
    opacity: 0.8;
}

/* Balance Sheet Modal Styles */
.balance-sheet-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* Balance Sheet Content Table Styles */
#balanceSheetContent table,
#createBalanceSheetContent table {
    color: black;
}

#balanceSheetContent table td,
#balanceSheetContent table th,
#createBalanceSheetContent table td,
#createBalanceSheetContent table th {
    color: black;
}

.balance-sheet-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.balance-sheet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.balance-sheet-modal-header h2 {
    margin: 0;
    color: #333;
}

.balance-sheet-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.balance-sheet-modal-close:hover,
.balance-sheet-modal-close:focus {
    color: #000;
}

.balance-sheet-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.balance-sheet-modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #ddd;
    position: relative;
}

.balance-sheet-button-group {
    display: flex;
    gap: 15px;
}

.balance-sheet-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s;
}

.balance-sheet-btn-accept {
    background-color: #28a745;
    color: white;
    width: 120px;
}

.balance-sheet-btn-reject {
    background-color: #dc3545;
    color: white;
    width: 120px;
}

.balance-sheet-btn-download {
    background-color: #007cba;
    color: white;
    position: absolute;
    right: 20px;
}

.balance-sheet-btn:hover {
    opacity: 0.85;
}

.balance-sheet-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* MISC Calculator Car Breakdown Styles */
.car-breakdown-section {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.car-breakdown-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.car-breakdown-header:hover {
    background-color: #e8f4f8;
    border-radius: 3px;
    padding: 5px 8px;
}

.car-breakdown-header h4 {
    margin: 0;
    color: #24ace4;
    font-size: 16px;
}

.breakdown-arrow {
    font-size: 14px;
    color: #24ace4;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.car-summary-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.car-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 10px 0;
}

.car-summary-item {
    padding: 8px 12px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #24ace4;
    font-size: 14px;
    min-width: 150px;
}

/* Responsive: 2 columns on smaller screens */
@media (max-width: 768px) {
    .car-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single column on very small screens */
@media (max-width: 480px) {
    .car-summary-grid {
        grid-template-columns: 1fr;
    }
}

.car-detailed-breakdown {
    margin-top: 10px;
}

.car-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.car-expense-breakdown {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.car-expense-breakdown strong {
    color: #24ace4;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

/* Responsive: 2 columns on smaller screens */
@media (max-width: 992px) {
    .car-breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single column on mobile */
@media (max-width: 576px) {
    .car-breakdown-grid {
        grid-template-columns: 1fr;
    }
}

.category-car-breakdown {
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 3px;
    border-left: 3px solid #24ace4;
}

.category-car-breakdown:last-child {
    margin-bottom: 0;
}

/* ===== Bank Account Card Redesign ===== */
.account-cards-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Top buttons row */
.account-add-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.account-add-buttons .linkPlaidAccount {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px !important;
    background: #fff !important;
    color: #24ace4 !important;
    border: 2px dashed #24ace4 !important;
    border-radius: 10px !important;
    font-weight: 600;
    font-size: 14px !important;
    text-align: center;
    transition: all 0.2s ease;
    margin-top: 0 !important;
}

.account-add-buttons .linkPlaidAccount:hover {
    background: #e8f7fd !important;
    border-color: #1a8db8 !important;
}

/* Manual connect section */
.account-manual-connect {
    text-align: center;
    margin-bottom: 20px;
}

.account-manual-connect .manual-toggle-link {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
}

.account-manual-connect .manual-toggle-link:hover {
    color: #24ace4;
}

#manualConnectAccounts {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-top: 12px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    text-align: left;
}

/* Progress bar area */
.account-progress-section {
    margin-bottom: 24px;
}

.account-progress-section .progressbarText {
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.account-progress-section .progress-bar-container {
    width: 100%;
    height: 10px;
    border: none;
    background: #e5e7eb;
    border-radius: 100px;
}

.account-progress-section .progress-bar {
    border-radius: 100px;
    background: linear-gradient(90deg, #24ace4, #0877A8);
}

/* Locked notice */
.account-locked-notice {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.account-locked-notice h3 {
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

/* Individual bank account card */
.account-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.account-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.06);
}

/* Card header */
.account-card-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f3f4f6;
}

.account-card-header .questionText {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.account-card-header .subQuestionText {
    font-size: 14px;
    color: #6b7280 !important;
    font-weight: 500;
    margin: 0;
}

/* Status border overrides for card context */
.account-card-header .questionText[style*="border-left: 5px solid green"] {
    padding-left: 12px;
    border-radius: 4px;
}

.account-card-header .questionText[style*="border-left: 5px solid #FFEB3B"] {
    padding-left: 12px;
    border-radius: 4px;
}

/* Account type badges */
.account-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    vertical-align: middle;
}

.credit-card-label {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px !important;
    font-weight: 600;
}

.account-badge-plaid {
    background: #dbeafe;
    color: #1e40af;
}

.account-badge-manual {
    background: #f3f4f6;
    color: #4b5563;
}

/* Card actions row */
.account-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 12px;
    flex-wrap: wrap;
}

.account-card-actions .refreshTransactionsButton {
    font-size: 13px;
    color: #24ace4;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.account-card-actions .refreshTransactionsButton:hover {
    color: #1a8db8;
}

.account-card-actions .deleteBankAccount {
    font-size: 12px;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    margin-top: 0 !important;
}

.account-card-actions .linkPlaidAccount {
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    margin-top: 0 !important;
}

/* Card body sections */
.account-card-section {
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
}

.account-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Transaction summary in card */
.account-card-section .subQuestionText {
    font-size: 14px;
    color: #4b5563 !important;
    font-weight: 500;
    margin-top: 6px;
    margin-bottom: 6px;
}

/* Upload section inside card */
.account-card-section .showUploadHolder {
    display: inline-block;
    color: #24ace4;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 0;
}

.account-card-section .showUploadHolder:hover {
    color: #1a8db8;
    text-decoration: underline;
}

.account-card-section .uploadHolder {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    margin-top: 10px;
}

.account-card-section .fileUploader {
    width: 100%;
    padding: 8px;
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.account-card-section .uploadButtonAccounts {
    border-radius: 6px !important;
    padding: 8px 20px !important;
}

.account-card-section .statements {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

.account-card-section .fileHolder {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 6px;
}

.account-card-section .fileHolder .deleteButton {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 0;
}

/* Radio button options inside card */
.account-card-section .checkbox-group {
    margin: 0;
}

.account-card-section .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.account-card-section .checkbox-group label:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.account-card-section .checkbox-group input[type="radio"],
.account-card-section .checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Business dropdown section */
.account-card-section .businessSelect {
    width: 100% !important;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    margin-top: 6px;
}

.account-card-section .addAnotherBusiness {
    border-radius: 6px;
    font-size: 13px;
    padding: 6px 14px;
}

.account-card-section .hideDropdown {
    border-radius: 6px;
    font-size: 13px;
    padding: 6px 14px;
}

.account-card-section .saveBusinessQuestionDropdowns {
    border-radius: 6px;
    font-size: 13px;
    padding: 6px 14px;
}

/* Delete modal update */
#lockedAccountModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#lockedAccountModal .modal-content {
    border-radius: 12px;
    padding: 24px;
    max-width: 500px !important;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#lockedAccountModal .modal-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

#lockedAccountModal button {
    border-radius: 6px;
    padding: 8px 20px;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    cursor: default;
}

#deleteBankAccountModal .modal-content {
    border-radius: 12px;
    padding: 24px;
    max-width: 500px !important;
    margin: 20vh auto;
    background: #fff;
}

#deleteBankAccountModal .modal-content h3 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 16px;
}

#deleteBankAccountModal #bankDescription {
    background: #f9fafb;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

#deleteBankAccountModal button {
    border-radius: 6px;
    padding: 8px 20px;
}

/* Initial account flow progress bar */
.account-initial-progress {
    max-width: 700px;
    margin: 30px auto 0 auto;
    padding: 0 4px;
}
.account-initial-progress-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}
.account-initial-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}
.account-initial-progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}
.account-initial-progress-bar-fill {
    height: 100%;
    background: #22c55e;
    border-radius: 99px;
    transition: width 0.3s ease;
    min-width: 4px;
}

/* Business tag selector */
.businessSelect {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    cursor: pointer;
}
.businessSelect:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}
.selected-businesses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.business-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 6px 10px 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
}
.business-tag:hover {
    background: #dbeafe;
}
.remove-business {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 16px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.remove-business:hover {
    color: #dc2626;
    background: rgba(220,38,38,0.08);
}
/* Statement status cards */
.statement-status {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}
.statement-status-complete {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.statement-status-action {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #78350f;
}
.statement-csv-tip {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

/* Auto-save banner */
.business-saved-banner {
    margin-top: 10px;
    padding: 8px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* Initial account flow card */
.account-initial-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    max-width: 700px;
    margin: 20px auto;
    padding: 24px;
}

.account-initial-card .questionText {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.account-initial-card .subQuestionText {
    font-size: 14px;
    color: #6b7280 !important;
}

.account-initial-card .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

.account-initial-card .checkbox-group label:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

#accountsInitialNextHolder {
    margin-top: 24px;
}

.accountsInitialNext {
    font-size: 16px !important;
    padding: 12px 40px !important;
    border-radius: 8px !important;
}

/* Rental / not-business notice */
#rentalNotice {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .account-add-buttons {
        flex-direction: column;
    }

    .account-add-buttons .linkPlaidAccount {
        min-width: auto;
    }

    .account-card-header {
        padding: 14px 16px 10px;
    }

    .account-card-section {
        padding: 14px 16px;
    }

    .account-card-header .questionText {
        font-size: 15px;
    }

    .account-card-section .checkbox-group label {
        padding: 8px 10px;
        font-size: 13px;
    }

    .account-card-section .businessSelect {
        width: 100% !important;
    }

    .account-initial-card {
        margin: 10px;
        padding: 16px;
    }
}
