.active-storage-dropzone .drop-container {
    border: 1px #ccc solid;
    border-radius: 1em;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.active-storage-dropzone .hidden {
    display: none;
}

.active-storage-dropzone .message-container {
    margin: 1em;
    text-align: center;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    color: #6e7d84;
}
.active-storage-dropzone .message-container > .message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}
.active-storage-dropzone .message-container > .message > svg {
    width: 2em;
    height: 2em;
}
.active-storage-dropzone .message-container > .restrictions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
}

.active-storage-dropzone .previews-container {
    margin-top: 1em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.active-storage-dropzone .preview-file {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px #ccc solid;
    padding: 0.5em 1em;
    background-color: #fcfcfc;
    margin-top: -1px; /* merge borders of multiple files */
}
.active-storage-dropzone .preview-file&:not(:first-child) {
    margin-top: 0.5em;
}

.active-storage-dropzone .preview-file .file-icon {
    font-size: large;
    z-index: 2;
}

.active-storage-dropzone .preview-file .file-details {
    flex-grow: 1;
    margin-left: 1em;
    z-index: 2;
}
.active-storage-dropzone .preview-file .file-details .dz-filename {
    font-weight: 600;
}
.active-storage-dropzone .preview-file .file-details .dz-filename > a {
    color: darkblue;
    text-decoration: none;
    font-weight: 600;
}


.active-storage-dropzone .preview-file .file-details .dz-size {
    color: #7c7c7c;
}

/* fix font-weight because dropzone.js surrounds the size with strong */
.active-storage-dropzone .preview-file .file-details .dz-size strong {
    font-weight: normal;
}

.active-storage-dropzone .preview-file .file-remove-button {
    border: none;
    background-color: transparent;
    color: darkred;
    font-size: medium;
    cursor: pointer;
    z-index: 2;
}

.active-storage-dropzone .preview-file .dz-progress {
    z-index: 1;
}
.active-storage-dropzone .preview-file .dz-progress .dz-upload {
    background-color: #fff;
}

.active-storage-dropzone .preview-file  .dz-error-message {
    color: red;
}

/*
do not delete this class since it is used in javascript controller to identify the
file preview container on deletion.
 */
.dz-preview {

}

button.clipboard-button {
}

span.clipboard-button-content {
    display: none;
}

span.clipboard-copied-indicator {
    visibility: hidden;
    color: green;
    padding-left: 1rem;
}

span.clipboard-copied-indicator.show {
    visibility: visible;
}
/*
    Styles for the upload page.
 */
.customer-area-documents-upload {
    margin-top: 3rem;
}

.customer-area-documents-upload .head-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;:
}

.customer-area-documents-upload .head-info h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.customer-area-documents-upload .head-info .multiple-download-hint {
    color: #006699;
    padding-top: 1rem
}

.customer-area-documents-upload .head-info .pdf-hint {
    color: #006699;
}

.customer-area-documents-upload .documents-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;

    /* space at the end for the fix submit button */
    margin-bottom: 7rem;
}

.customer-area-documents-upload .documents-container #customer_documents {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 3rem;
}

.customer-area-documents-upload .documents-container .category-container .category-name {
    font-weight: bolder;
    font-size: large;
    margin-bottom: 1.5rem;
}

.customer-area-documents-upload .documents-container .category-container .documents {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 5rem;
}

/* Overwrite bootstrap default style for accordion */
.customer-area-documents-upload .documents-container .category-container .accordion-button:not(.collapsed) {
    color: black;
    background-color: transparent;
    box-shadow: none;
}

.customer-area-documents-upload .documents-container .document-container label {
    font-weight: bold;
}

.customer-area-documents-upload .documents-container .document-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.customer-area-documents-upload .documents-container .document-container .description {
    font-size: smaller;
    color: #607179;
}

.customer-area-documents-upload .documents-container .document-container .feedback-accepted {
    background-color: lightgreen;
    border-radius: 1rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.customer-area-documents-upload .documents-container .document-container .comments-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
}

.customer-area-documents-upload .documents-container .document-container .comments-container .comment-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

.customer-area-documents-upload .documents-container .document-container .comments-container .comment-container .avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.customer-area-documents-upload .documents-container .document-container .comments-container .comment-container .avatar img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.customer-area-documents-upload .documents-container .document-container .comments-container .comment-container .texts {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.customer-area-documents-upload .documents-container .document-container .comments-container .comment-container .texts .name {
    font-weight: bolder;
}

.customer-area-documents-upload .documents-container .document-container .comments-container .comment-container .texts .text {
    color: #333333;
}

.customer-area-documents-upload .documents-container .submit-container {
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 1rem;
    margin-top: 2rem;
}

.customer-area-documents-upload .documents-container .submit-container button {
    padding: 1rem;
}

.customer-area-documents-upload .documents-container .submit-container button .save_hint {
    font-size: small;
}



/*
    Styles for the finish page.
 */
.customer-area-documents-upload-finish {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.customer-area-documents-upload-finish .message-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
}

.customer-area-documents-upload-finish .message-container .primary-message {
    font-size: xx-large;
    font-weight: bold;
}

.customer-area-documents-upload-finish .message-container .secondary-message {
    font-size: large;
    font-weight: normal;
    color: #607179;
}

.customer-invites-token-expired {
    display: inline-block;
    border: 1px solid red;
    padding: 0.5rem;
    border-radius: 0.3rem;
    color: red;
}
/*
    style for each document in the documents_upload_review action.
 */
.documents-upload-review #customer_documents > .nested-fields {
    border: 1px solid black;
    border-radius: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.documents-upload-review #customer_documents > .nested-fields > .mb-4 {
    margin-bottom: 0.5rem !important;
}
.documents-upload-review #customer_documents > .nested-fields > .mb-4.pb-4 {
    padding-bottom: 0 !important;
}

.documents-upload-review #customer_documents > .nested-fields > .mb-4 > .document-type {
    margin-bottom: 0 !important;
}

/*
    label for comments.
 */
.documents-upload-review #customer_documents > .nested-fields > .mb-4 > h5.form-label {
    font-size: medium;
}

.documents-upload-review #customer_document_comments > .nested-fields {
    margin-bottom: 1.5rem;
}

.documents-upload-review #customer_document_comments > .nested-fields > .mb-4 {
    margin-bottom: 0.1rem !important;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/*
Overwrite appearance of nested form label because the default is too large.
 */
.custom-nested-form-label {
    font-size: medium;
    font-weight: normal;
}
/*
This is needed to prevent the top padding from being rendered, because bootstrap likes
using the important statement...
 */
.custom-nested-form-label.pt-4 {
    padding-top: 0 !important;
}

