@keyframes loadIn {
    0%{
        opacity: 0;
        transform: translateX(-10deg);
    }
    100%{
        opacity: 1;
        transform: translateX(0deg);
    }
    
}
html, body{ 
    font-size: 13px;
    color: black;
    /* animation: 0.5s ease-in 0.5s 1 opacityLoad; */
    background-image: linear-gradient(to right,#ffffff, #ffffff );
    /* background-image: linear-gradient(to right,#3c6e71, #284b63 ); */
    font-family: -apple-system,BlinkMacSystemFont,'Roboto','Segoe UI','Oxygen-Sans','Ubuntu','Cantarell','Helvetica Neue',sans-serif;
}
.mainContainer{
    animation-name: loadIn;
    animation-duration: 0.75s;

}
h4,h5,h6{
    font-family: sans-serif;
    color: black;
}

.rightSideSection{
  
}

#submitForm{
    margin: 0;
    color: rgb(48, 48, 48);
    font-size: 14px;
  
}
.container-fluid{
    padding-left: 0;
    padding-right: 0;
}

#instructionsAndDataContainer{

    background-image: linear-gradient(to right,#ffffff, #ffffff );
    height: 100%;

    color: black;
}
#instructionsContainer{
    color: rgb(49, 49, 49);

}
#accountInfoContainer{
    color: rgb(49, 49, 49);
    border-radius: 5px;
    max-width: 1000px;
    background-color: transparent;
}
.instructionTip{
    color: #fca311;
}

.InfoHeader{
    width: 100%;
    min-width: 300px;
    background-color: #14213d;
    color: white;
    border-radius: 3px;
    box-shadow: 2px 2px 2px #353535;
    padding: 6px 12px;
    color: black;
}

#contactInfoHeader{
    width: 40%;
    min-width: 300px;
    /* border: 0.3px solid rgb(179, 179, 179); */
    background-color: #284b63;
    color:white;
    border-radius: 3px;
    box-shadow: 2px 2px 2px #353535;
    padding: 6px 12px;
    color: black;
}

.ownerHeader{
    width: 40%;
    padding: 4px;
    color:white;
}
#secondaryContactHeaderContainer{
    animation-name: loadIn;
    animation-duration: 0.95s;
}


#removeSecondaryContact, #removePrimaryContact{
    width: 100px;
    color: white;
    text-align: center;
    padding: 6px 12px;
    align-self: flex-end;
    border-radius: 3px;
    background-color: rgb(239, 25, 25);
    border: 1px solid #000000;
    border-radius: 4px;
}
#removeSecondaryContact:hover, #removePrimaryContact:hover{
    cursor: pointer;
    border: 1px solid white;
    background-color: rgb(187, 21, 21);
    color: white;
    transition: 0.15s all;
}
.accountInfoLabel{
    color: rgb(49, 49, 49);
    font-weight: 600;
    font-size: 13px;
}

input{
    color: #3f3f3f;
}

#lenderSectionContainer{
    width: 100%;
    max-width: 1000px;
    /* border: 1px solid #d9d9d9; */
}


.lenderLabel{
    color: black;
    font-family: 'Open Sans', sans-serif;
    width: 100px;
    padding: 5px 3px;
    text-align: center;
    background-color:#ffffff ;
    border: 1px solid rgb(107, 107, 107);
    font-size: 13px;
    border-radius: 3px;
}

.lenderCheckboxes:checked ~ label{
    transition: 0.12s all;
    background-color: #0B6EFD;
    color: white;
}
 
.lenderLabel:hover{
    cursor: pointer;
    box-shadow: 0.5px 0.5px 4px 1px #0B6EFD;
    transition: .08s all;
}

label.error.fail-alert {
    line-height: 0.95;
    padding-top: 3px;
    color: rgb(235, 0, 0);
    font-size: 10px;
}
input.valid.success-alert {
    border: 1px solid #4CAF50;
    color: green;
}

.filesContainer{
    max-width: 1000px ;

}

#fakeAppUpload, #fakeQuotesUpload, #fakeCreditsUpload, #fakeBanksUpload, #button1{
    padding: 6px 10px ;
    font-size: 10pt;
    background-color: #14213d;
}
#fakeAppUpload:hover, #fakeQuotesUpload:hover, #fakeCreditsUpload:hover, #fakeBanksUpload:hover, #button1:hover{
    box-shadow: 0.5px 0.5px 4px 1px #0B6EFD;
}

.appContainer, .creditsContainer, .quotesContainer, .banksContainer{
    font-weight: 600;
    font-size: 13px;
    display:flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    height: 180px;
    width: 300px;
    border: 1px dashed #14213d;
    padding: 15px;
    text-align: center;
    color: rgb(56, 56, 56);
}
input[type="checkbox"]{
    zoom: 1.08;
    border: 2px solid grey;
}
input[type="checkbox"]:hover{
    cursor: pointer;
}

#submitSection{

}
#submitButton{
    width: 150px;
    border: 1px solid #000000;
    border-radius: 4px;
    background-color: #1ebc2d;
    color: white;
    padding: 18px 15px;
}
#submitButton:hover{
    transition: 0.2s all;
    background-color: #e4ffe7;
    border: 1px solid #deffe4;
    color: #17a417;
    box-shadow: 0.5px 0.5px 4px 1px #17a417;
}
#mobileSubmit{
    display: none;
    background-color: #003879;
    color: white;
    padding: 8px 15px;
}

.dragAndDropContainer{
    min-height: 200px;
}

.positionsContainers{
    animation-name: loadIn;
    animation-duration: 0.75s;
}
  

@media screen and (max-width: 768px) {
    #instructionsAndDataContainer{
        height: auto;
    }
    #accountInfoContainer{

    }

}


.alert{
    font-family: -apple-system,BlinkMacSystemFont,'Roboto','Segoe UI','Oxygen-Sans','Ubuntu','Cantarell','Helvetica Neue',sans-serif;
    position: fixed;
    min-height: 38px;
    padding: 12px 15px 15px;
    left: 0;
    right: 0;
    top: 40%;
    margin: auto;
    border-radius: 4px;
    border-left: 4px solid;
    opacity: 1;
    transition: 0.3s all;
    width: 30%;
    min-width: 480px;
    height: 180px;
}

.warning {
    background: rgb(255, 204, 204);
    color: #d93025;
    border-color: #d93025;
}

.alert-close {
    padding-left: 15px;
    font-weight: bold;
    float: right;
    font-size: 20px;
    line-height: 18px;
    cursor: pointer;
    transition: .30s all;
}

.alert-close:hover {
    color: #000;
}

.alert code, .alert .mark {
    background: #fff;
    opacity: 0.9;
    padding: 3px 5px;
    border-radius: 4px;
    font-family: Consolas,Monaco,'Andale Mono',monospace;
    font-size: 89%;
    font-weight: normal;
}

/* New loading spinner styles */
.submit-spinner-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.submit-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #14213d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.submit-text {
  color: white;
  font-size: 18px;
  margin-top: 15px;
  font-weight: 500;
}

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

/* Remove old spinner styles */
.spinner {
  display: none;
}

.salesforceFilesDisplay, .manualFilesDisplay{
    display: flex;
    animation-name: loadIn;
    animation-duration: 0.75s;
  }
  .manualFilesDisplay{
    display: none;
  }

  #chooseManualButton {
    width: 120px;
    background-color: #f8f8f8 ;
    border: 1px solid #001229;
    border-radius: 0px 2px 2px 0px;
    color: black;
    border-left: 0px;
  }
  #chooseSalesforceButton{
    border-right: 0px;
    border-radius: 2px 0px 0px 2px;
    width: 120px;
    background-color: #001229 ;
    border: 1px solid #001229;
    color: white;
  }
  #chooseManualButton:hover, #chooseSalesforceButton:hover {
    cursor: pointer;
    border: 1px solid #001229;
    transition: 0.3s all;
  }

/* Page load animation styles */
.page-load-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.page-load-spinner {
  width: 40px;
  height: 40px;
  position: relative;
}

.page-load-spinner:before,
.page-load-spinner:after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

.page-load-spinner:before {
  width: 100%;
  height: 100%;
  background-color: #14213d;
  animation-delay: -0.9s;
}

.page-load-spinner:after {
  width: 100%;
  height: 100%;
  background-color: #fca311;
  animation-delay: 0s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Add a fade out animation */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-out {
  animation: fadeOut 0.5s ease-out forwards;
}