@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100%;
  height: 93vh !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  overflow-x: hidden;
}

input::placeholder{
    font-size: max(0.7vw, 0.5rem);
}

.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    transition: opacity 0.75s, visibility 0.75s;
    z-index: 9999;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader::after {
    content: "";
    width: 75px;
    height: 75px;
    border: 15px solid #dddddd;
    border-top-color: rgba(0, 89, 179, 1);
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.contentWrap{
    width: 100%;
    height: 93vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.blueHeaderBarBG{
    width: 100%;
    height: 10vh;
    background: linear-gradient(
      to bottom,
      #83a5f8,
      #4e6dc0
    );
    max-height: 100px;
}

.bgContent{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mainContent{
    background: #f6f5f5;
    width: 97vw;
    height: 93vh;
    z-index: 3;
    border-radius: 15px;
    /*overflow: hidden;*/
}

.startingPage, .createPage, .createPageCshp,.backCreateBtn{
    width: 100%;
    height: 93vh;
    opacity: 0;
    pointer-events: none;
    
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    
    transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.backCreateBtn{
    display: flex !important;
    height: 100%;
    flex-direction: row;
    justify-content: flex-end;
    opacity: 1;
    pointer-events: auto;
    gap: 6px;
    padding-right: 12px;
}

.contentHeader{
    border-radius: 15px 15px 0 0;
    position: relative;
    width: 100%;
    height: 8vh;
    max-height: 80px;
    background: rgba(225,225,225);
    
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
}

.contentHeader img{
    width:  80px;
    height: 80px;
}

.contentHeader h2, .titleWrap h2, .createPageTitle h2{
    font-size: max(1.3vw, 1rem);
    color: #3d3d74;
    margin: 6px 0 6px 0 ;
    text-align: center;
}

.contentHeader h2, .createPageTitle h2, .createPageTitle h4{
    text-align: left !important;
}

.titleWrap h4, .createPageTitle h4, .footerWrap h4{
    font-weight: normal;
    font-size: max(0.8vw, 0.5rem);
    color: #3d3d74;
    margin: 0 6px 0 6px;
    text-align: center;
}

.titleWrap h4 a, .footerWrap h4 a{
    text-decoration: none;
    color: #3d3d74;
}

.titleWrap{
    width: 100%;
    height: 15%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.createPageTitle{
    width: 100%;
    height: 10%;
    
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding-left: 20px;
    margin: 12px 0 12px 0;
}

.lineFiller{
    width: 30%;
    height: 1px;
    border-top: 0.5px solid #8686ab;
}

.FirstNavButtonsContainer{
    width: 90%;
    height: 50%;
    max-height: 400px;
    
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
}

.firstNavButtons {
  width: 40%; /* grow, shrink, base width */
  height: 90%;
  background-color: #f5f5fe;
  color: #3d3d74;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  max-height: 300px;
}

.firstNavButtons h5 {
    font-size: max(0.7vw, 0.5rem);
    font-weight: normal;
    text-align: center;
}

.firstNavButtons h4 {
    font-size: max(0.9vw, 0.7rem);
    text-align: center;
}

.firstButtonHolder{
    width: 90%;
    height: 15%;
    border: 1px solid #3d3d74;
    border-radius: 3px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uploadIcon, .arrow-left{
    height: 100%;
    align-content: center;
}

.firstButtons{
    background: #3d3d74;
    color: white;
    width: 60%;
    height: 100%;
    border: none;
    border-radius: 3px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease-in;
    font-size: max(0.9vw, 0.5rem);
}

.firstButtons span, .deleteRow span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    width: 1.80em;
    height: 1.80em;
    
    flex-shrink: 0; /* prevents squishing beside text */
}

.firstButtons span svg, .deleteRow span svg{
    width: 100%;
    height: 100%;
    display: block;
}

.topButtons{
    background: #3d3d74;
    color: white;
    width: 9vh;
    height: 60%;
    border: 1px solid #3d3d74;
    border-radius: 3px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease-in;
}

.firstButtons:hover{
    transform: scale(1.03);
}

.firstButtons:active{
    transform: scale(1.01);
}

.active {
  display: flex;
  pointer-events: auto;
}

.activeGrid{
    display: grid !important;
    pointer-events: auto
}

.activeBtn{
    background: rgb(235,235,235) !important;
}

.fade-in {
  animation: fadeIn 300ms ease forwards;
}

.fade-out {
  animation: fadeOut 300ms ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.inputWrap{
    background: rgba(225,225,225);
    width: 100%;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 15px 0 15px;
    
}

.inputNav {
    width: 100%;
    height: 6%;
    background: #f6f5f5;
    border-radius: 3px 3px 0 0;
    display: flex;
    justify-content: flex-start;
    position: relative;
    margin-top: 6px;
    gap: 6px;
}

.inputNav > * {
    flex: 0 0 auto;
    white-space: nowrap;
}

.inputNav:has(:nth-child(2)) {/*ignore the error XD :has is for new browsers but parser is old*/
    justify-content: space-between;
}

.inputNav:has(:nth-child(2)) > * {/*ignore the error XD :has is for new browsers but parser is old*/
    flex: 1 1 0;
    text-align: center;
}

.inputNavButtons, .inputNavButtonsCshp{
    font-size:  max(0.8vw, 0.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding: 8px 12px;
    line-height: 1.2;
    text-align: center;
    
    white-space: normal;
    word-break: break-word;
    
    min-height: 34px;
    
    background: none;
    border: none;
    /*border-bottom: 3px solid rgb(225,225,225);*/
    color: #3d3d74;
    position: relative;              /* anchor for underline */
    transition: color 0.2s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
    cursor: pointer;
}

/* SINGLE underline */
.nav-underline {
  position: absolute;
  bottom: 0;
  height: 3px;
  background: #3b82f6;
  transition:
    left 0.35s cubic-bezier(.4,0,.2,1),
    width 0.35s cubic-bezier(.4,0,.2,1);
  left: 0;
  width: 0;
  z-index: 5;
}

.inputNavButtons:hover, .inputNavButtonsCshp:hover{
    background: rgb(235,235,235);
}

.mainInputs{
    position: relative;
    width: 100%;
    /*height: 100%;*/
    background: rgba(225,225,225);
    border-radius: 0 0 3px 3px;
    padding-top: 10px;
    
    display: flex;
    flex-direction: row-reverse;
    align-items:  flex-start;
    justify-content: flex-start;
    gap: 6px;
}

.complianceChecker{
    width: 25%;
    height: 76.5vh;
    background: #f6f5f5;
    border: none;
    border-radius: 6px;
    min-width: 150px;
    margin-top: 6px;
}

.checklistWrap {
  display: grid;
  grid-template-columns:
    clamp(10px, 1.1vw, 28px) minmax(6vw, 1fr)
    clamp(10px, 1.1vw, 28px) minmax(3vw, 1fr);
  align-items: center;
  width: 100%;
  gap: 3px;
}

.applicationChecklist{
    padding-top: 6px;
    width: 100%;
    height: 100%;
}

.applicationChecklist p{
    font-size: max(0.8vw, 0.4rem);
    color: #3d3d74;
    font-weight: bold;
}

/*.checklistWrap-checkbox{*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 30%;*/
/*}*/

.checklistWrap-textBox{
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: flex-start;*/
    font-size: max(0.9vw, 0.6rem);
    /*width: 70%;*/
}

.checklistWrap-textBox p{
    font-weight: normal;
}

.inputContainers{
    width: 100%;
    height: 70.5vh;
    
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 6px;
    overflow-y: scroll;
}

.inputFields{
    background: #f6f5f5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /*align-self: flex-start;*/
}

.inputContainers{
  overflow: auto;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #3d3d74 transparent;
}

.complianceCheckerWrap::-webkit-scrollbar{
    display: none;
}

/* Chrome, Edge, Safari */
.inputContainers::-webkit-scrollbar {
  width: 6px;
  /*height: 6px;*/
}

.inputContainers::-webkit-scrollbar-track {
  background: transparent;   /* removes track background */
}

.inputContainers::-webkit-scrollbar-thumb {
  background-color: #3d3d74;
  border-radius: 10px;
  border: none;              /* remove default padding illusion */
}

.inputFields section{
    width: 100%;
    height: 100%;
    padding: 12px;
}

.tableWrap{
    width: 100%;
    height: 100%;
    border: 2px solid rgb(205,205,205);
    border-radius: 6px;
    overflow: hidden;
}

.tableHeader{
    height: 4vh;
    border-bottom: 2px solid rgb(205,205,205);
    background: rgba(225,225,225);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.tableCell{
    height: 100%;
    padding: 3px 10px 3px 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tableCell p{
    color: #3d3d74;
    font-size: max(0.9vw, 0.6rem);
    font-weight: bold;
}

.stay-left{
    padding-left: 10px !important;
    display: flex;
    justify-content: flex-start;
}

.stay-right{
    display: flex;
    justify-content: flex-end;
}

.no-borders{
    border: none !important;
}

.inputFields--whole {
    grid-column: 1 / -1; /* span both columns */
}

.inputDesigns{
    width: 100%;
    max-height: 30px;
    font-size: max(0.8vw, 0.6rem);
    background: #f6f5f5;
    border: 2px solid rgb(205,205,205);
    border-radius: 4px;
    padding: 3px 3px 3px 6px;
    outline: none;
    color: #3d3d74;
}

.inputDesigns::placeholder{
    text-align: center;
    font-style: italic;
    font-weight: bold;
    color: lightgray;
}

.half-inputs{
    width: 50%;
}

.inputDesigns:focus{
    border: 2px solid #3d3d74;
}

.tableBody{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 6px 0 6px;
}

.hasGap{
    gap: 6px;
}

.noPadding{
    padding: 0 !important;
}

.hasBorders{
    box-shadow: 0 0 0 1px rgb(205,205,205);
}

.noBorders{
    border: none !important;
}

.noRadius{
    border-radius: 0 !important;
}

.centerTableText{
    text-align: center;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
}

.cellContainer{
    width: 100%;
    display: flex;
    /*justify-content: space-between;*/
}

.cellWrap{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*justify-content: space-between;*/
    padding: 6px;
}

.cellWrap label, .cellWrap p{
    color: #3d3d74;
    font-size: max(0.8vw, 0.4rem);
    margin-left: 3px;
}

.checkboxCellWrap div{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50%;
}

.checkboxCellWrap p{
    width: 100%;
}

.checkboxCellWrap div input[type="text"]{
    max-height: 20px;
}

input[type="checkbox"]{
    accent-color: #3d3d74;
}

.checkboxCellWrap p input{
    margin-right: 4px;
}

.cellVertical{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.actualTableWrap{
    width: 100%;
    border: 2px solid rgb(205,205,205);
    border-radius: 6px;
    overflow: hidden;
}

.actualTableHeader{
    padding: 6px 10px;
    border-bottom: 2px solid rgb(205,205,205);
    background: rgba(225,225,225);
}

.actualTableHeader p{
    color: #3d3d74;
    font-size: max(0.9vw, 0.6rem);
    font-weight: bold;
}

.customTable td p{
    color: #3d3d74;
    font-size: max(0.8vw, 0.4rem);
    font-weight: bold;
}

/* ===== TABLE ===== */

.customTable{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.customTable th,
.customTable td{
    border: 1px solid rgb(205,205,205);
    text-align: center;
    vertical-align: middle;
}

.customTable th{
    background: #f2f2f2;
    color: #3d3d74;
    font-size: max(0.8vw, 0.4rem);
    padding: 3px;
}

.customTable input{
    width: 100%;
    height: 25px;
    font-size: max(0.8vw, 0.4rem);
    background: #f6f5f5;
    border: none;
    outline: none;
    text-align: center;
    color: #3d3d74;
}


.textAreaDesigns{
    width: 100%;
    min-height: 30px;
    max-height: 209px;
    resize: none;
    font-size: max(0.8vw, 0.4rem);
    background: #f6f5f5;
    border: none;
    border-bottom: 2px solid rgb(205,205,205);
    border-radius: 4px;
    outline: none;
    color: #3d3d74;
    resize: none;
    padding-left: 6px;
    scrollbar-width: thin;
}

.footerWrap{
    height: 3vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    
    background: rgba(225,225,225);
    
    border-radius: 0 0 15px 15px;
}

.addtable{
    border: none;
    background: #3d3d74;
    color: #f2f2f2;
    border-radius: 3px;
    padding: 3px;
    margin: 6px;
    font-size: max(0.8vw, 0.4rem);
}

.tdSpan{
    margin: 0 !important;
    width: 100%;
    height: 25px;
}

.deleteRow {
  font-size: max(0.8vw, 0.6rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: auto 0;
  
  background: #df3030;
  border: none;
  outline: none;
  border-radius: 3px;
  transition: All 0.05s ease-in;
}

.deleteRow:hover{
    background: #f95b5b;
    transform: scale(1.03);
}

.previewContainerApplication,
.previewContainerCSHP{
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    
    background: #f6f5f5;
    border-radius: 6px 6px 0 0;
    border: 2px solid rgb(205, 205, 205);
    border-bottom: none;
    overflow: hidden;
    transition: height 0.35s ease;
    display: flex;
    flex-direction: column;
}

.previewApplication,
.previewCSHP{
    width: 100%;
    height: 100%;
}

.previewLoading{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100%;
    font-size:16px;
    font-weight:500;
}

.buttonWrapperApplication,
.buttonWrapperCSHP{
    display: none;
    width:100%;
    text-align:center;
    position:relative;
}

.closeButtonApplication,
.closeButtonCSHP{
    width:100%;
    height:7%;
    min-height:40px;

    border:none;
    background: rgb(60, 60, 60);
    color:white;
    font-weight:600;

    cursor:pointer;

}


.arrow{
    position: absolute;
    left: 50%;
    width:0;
    height:0;

    border-left:10px solid transparent;
    border-right:10px solid transparent;
    border-top:12px solid white;

    margin:auto;
    margin-top:5px;

    animation:arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce{

    0%{
        transform:translateY(0%);
    }

    50%{
        transform:translateY(22%);
    }

    100%{
        transform:translateY(0%);
    }

}

.closeButtonApplication:hover,
.closeButtonCSHP:hover{
    opacity: 0.8;
}

.buttonWrapperApplication:hover .arrow,
.buttonWrapperCSHP:hover .arrow{
    animation:none;
    transform:translateY(22%);
}

/* === OLD QCP CSS === */

/* === Upload QCP == */

.form-header {
    width: 100%;
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: rgb(140, 140, 190);
}

.form-body {
    width: 100%;
    padding: 25px;
    display: flex;
    gap: 0.5em;
    flex-direction: row;
    justify-content: flex-start;
    background-color: rgba(190, 212, 247, 0.741);
}

.form-body .input-field {
    width: 40%;
    height: 100%;
    display: flex;
    gap: 1em;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.input-field .input-group {
    width: 100%;
    display: flex;
    gap: 0.3rem;
    flex-direction: row;
    justify-content: flex-start;
}

.input-field .input-wrap {
    width: 100%;
    display: flex;
    gap: 0.3rem;
    flex-direction: column;
    justify-content: flex-start;
}

.input-wrap label {
    width: 100%;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    font-family: Poppins, sans-serif;
}

.input-wrap select {
    width: 100%;
    padding: 7px 10px;
    font-size: 13px;
    font-family: Poppins, sans-serif;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    appearance: none; /* Removes default OS styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    transition: border-color 0.2s ease-in-out;
}

.input-wrap select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}

.input-wrap input {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.input-wrap #upload {
    display: none;
}

.input-wrap .upload {
    width: 100%;
    height: 34px;
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 2.6;
    text-align: center;
    border-radius: 3px;
    background-color: #2b8fed;
    border: none;
}

.input-wrap .upload:hover,
.input-wrap .upload:focus {
    color: #2b8fed;
    background-color: #fff;
    border: 1px solid #2b8fed;
    cursor: pointer;
}

.input-wrap span {
    width: 100%;
    color: #495057;
    font-size: 11px;
    font-weight: 500;
    font-family: Poppins, sans-serif;
    text-align: center;
}

.form-body .preview-field  {
    width: 70%;
    display: flex;
    gap: 1em;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.form-btn {
    width: 100%;
    padding: 20px;
    display: flex;
    gap: 0.5em;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: rgba(190, 212, 247, 0.741);
}

.form-btn .submit {
    width: 100px;
    height: 34px;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    background: #04aa6d;
    border: none;
}

.form-btn .submit:hover,
.form-btn .submit:focus {
    color: #04aa6d;
    background-color: #fff;
    border: 1px solid #04aa6d;
    cursor: pointer;
}

.form-btn .back {
    width: 100px;
    height: 34px;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    background: #808080;
    border: none;
}

.form-btn .back:hover,
.form-btn .back:focus {
    color: #808080;
    background-color: #fff;
    border: 1px solid #808080;
    cursor: pointer;
}

#file {
  display: none;
}

.back {
    width: 100px;
    height: 34px;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    background: #dd0004;
    border: none;
}

.back:hover,
.back:focus {
    color: #dd0004;
    background-color: #fff;
    border: 1px solid #dd0004;
    cursor: pointer;
}

/* === Create QCP === */

.contentWrapInner {
    background: #ecf0f5; 
    width: 100%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.collapsible-horizontal {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    height: fit-content;
    margin-right: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.modal { 
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-qcp { 
    background-color: #fff;
    margin-top: 2%;
    margin-left: 10%;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: 92%;
    position: relative;
    border-radius: 10px; 
}

.close { 
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.container {
    position: relative;
    width: 100%;
    height: 87vh;
    background: white;
    display: flex;
    align-items: center;
}

.mimicHeaderTitle{
    width: 99%;
    height: 75%;
    color: white;
    background: #475877;
    margin:8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 4px black;
    letter-spacing: 3px;
    font-size: max(2vw, 16px);
}

.buttonPadding{
    margin: 2px 10px 2px 10px;
}

.preview {
    width: 100px;
    height: 34px;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    background: #04aa6d;
    border: none;
}

.preview:hover,
.preview:focus {
    color: #04aa6d;
    background-color: #fff;
    border: 1px solid #04aa6d;
    cursor: pointer;
}

.clear {
    width: 100px;
    height: 34px;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    background: #ff5705;
    border: none;
}

.clear:hover,
.clear:focus {
    color: #ff5705;
    background-color: #fff;
    border: 1px solid #ff5705;
    cursor: pointer;
}

.collapsible-panel {
    width: 100%;
    max-width: 230px;
    overflow: hidden;
    transition: max-width 0.3s ease;
    white-space: nowrap;
}

.collapsible-panel.open {
    max-width: 0; /* adjust to your needed width */
    white-space: normal;
}

.actionContainers2 {
    width: 100%;
    height: 85vh;
    padding: 6px;
    margin: 0 5px;
    border: 2px solid #475877;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    box-sizing: border-box;
    background-color: #f9f9f9;

    /* Hide scrollbar */
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE & Edge */
}

.actionContainers2::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.form-group {
    margin-bottom: 10px;
}

.formContent .form-group {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
}

.form-group textarea {
    border: 1px solid black; /* Correct way to set a border */
    width: 100%; /* Ensures it takes the full width of its container */
    min-height: 100px; /* Sets a minimum height */
    resize: none; /* Prevents manual resizing */
    padding: 5px; /* Adds padding for better appearance */
    border-radius: 5px;
    font-size: 13px;
}

.form-group select, .form-group input[type="date"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group select:focus, .form-group input[type="date"]:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}

.form-group label,
.form-file label {
  width: 100%;
  font-size: 12px;
}
.form-group input {
  width: 100%;
  height: 35px;
  padding: 3px 7px;
  font-size: 15px;
  border-radius: .25rem;
  border: 1px solid grey;
}

.form-group {
    margin-bottom: 5px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

label.hidden-label {
    visibility: hidden;
    display: block;
    height: 1.5em; /* Keep the height same as visible label for alignment */
}

.navBarPDF{
    background: #323639;
    width: 100%;
    height: 50px;
    padding: 0 6px 0 6px;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.sigBtnForAutoSign{
    background: none;
    color: lightgray;
    border-radius: 50%;
    border: none;
    margin: 2px;
    padding: 10px;
    transition: transform 0.1s ease-in;
}

.sigBtnForAutoSign:hover{
    color: white;
    background: rgba(255,255,255,0.1);
    transform: scale(1.2);
}

.sigBtnForAutoSign:active{
    transform: scale(1);
}

.actionContainers{
    width: 100%;
    height: 100%;
    margin: 0 5px 0 5px;
    padding: 6px;
    border: 2px solid #475877;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tableInner .table {
    width: 100% !important;
    text-align: left;
    font-size: 18px;
    overflow-x: scroll;
    border-collapse: collapse;
}
.table thead tr{
    width: 150%;
}
.table thead tr th {
    font-size: 12px;
    padding: 10px 5px !important;
    border: 1px solid black;
    background: #475877;
    color: #fff;
}

.table tbody tr td {
    font-size: 10px;
    padding: 1px 1px !important;
    text-align: center !important;
    border: 1px solid black;
}

textarea{
    border: none;
    min-height: 35px;
}

/* =============== content section =============== */

.custom-dropdown {
    position: relative;
    display: inline-block;
    user-select: none;
    cursor: pointer;
  }

  .custom-dropdown .dropdown-label {
    font-weight: bold;
    padding: 6px 12px;
    cursor: pointer;
    min-width: 200px;
  }

  .custom-dropdown .dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; /* LEFT CORNER ALIGNMENT */
    z-index: 10;
    background: white;
    border: 1px solid #ccc;
    min-width: 200px;
  }

  .custom-dropdown .dropdown-options div {
    padding: 6px 12px;
    cursor: pointer;
    text-align: left;
  }

  .custom-dropdown .dropdown-options div:hover {
    background-color: #f1f1f1;
  }

@media (max-width: 670px) {
  .inputContainers {
    grid-template-columns: 1fr;
  }
  
  .inputFields {
    flex-direction: column;
  }
  
  
  .half-inputs{
      width: 100%;
  }
  
  .cellContainer{
      flex-direction: column;
  }
  
}

