.up-doc-sec .container {
    width: 80%;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.up-doc-sec .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.up-doc-sec .header h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.up-doc-sec .header button {
    margin-right: 20px;
}

.up-doc-s.up-doc-secec .invoice-section {
    margin-bottom: 10px;
}

.up-doc-sec .invoice-section h3 {
    background-color: #f5f5f5;
    color: #676a6c;
    height: 46px;
    padding: 15px;
    margin: 0;
    cursor: pointer;
}

.up-doc-sec .documents {
    padding: 20px;
    display: none;
}

.up-doc-sec .document {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px 5px 5px 5px;
}

.up-doc-sec .document input[type="file"] {
    margin-right: 10px;
    margin-left : 27px;
}

.up-doc-sec .document input[type="text"] {
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-left : 20px;
}

.up-doc-sec .document .download-btn {
    margin-left : 20px;
}

.up-doc-sec .document .delete-document {
    margin-left : 20px;
}

.up-doc-sec .add-document {
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.up-doc-sec .invoice-header {
    display: flex;
    align-items: center;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
}

.up-doc-sec .invoice-header h3 {
    flex-grow: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

.up-doc-sec .invoice-header .toggle-icon {
    font-size: 16px;
    margin-left: 10px;
}

.up-doc-sec .document .auto-upload {
    margin-left : 20px;
}

.up-doc-sec .document .remove-document {
    margin-left : 20px;
}

/* Loader Overlay CSS */
.ud-loader {
    position: absolute; /* Fixed position relative to the viewport */
    /* top: 0;
    left: 0; */
    width: 100vw; /* Full viewport width */
    height: 100%; /* Full viewport height */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    display: none; /* Initially hidden */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    z-index: 9999;
}
/* Loader Spinner CSS */
.ud-loader .loader-spinner {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #1ab394;
    width: 70px;
    height: 70px;
    position: fixed;
    top:250px;
    animation: spin 2s linear infinite;
}

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

.no-scroll {
    overflow: hidden;
    height: 100%;
}

.up-doc-sec h5 {
    margin-left : 20px;
    margin-right: 70px;
    padding-top: 6px;
    min-width: 200px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    border: 1px solid #888;
  }
  
  .close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close-button:hover,
  .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  #saveDocumentButton,
  #cancelDocumentButton {
    margin: 10px;
  }

  .document {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd; /* Optional: adds a bottom border to separate rows */
}

.document-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.document-icons {
    display: flex;
    align-items: center;
}

.document-icons i {
    margin-left: 10px; /* Adds space between icons */
}

.invoice-section {
    margin-right: 30px;
}


