@import '../../../styleConstants.scss';

#cart-upload-documents-container{
    border-radius: $box-radius;
    background: $whiteColor;

    .upload-file-drop-zone {
        width: 100%;
        border: 1px dashed $borderColor;
        margin: 1rem 0;
        padding: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        &:hover {
            background-color: $lightHoverColor;
        }
        color: $font-light-color;
        &.pending-upload {
            border: 1px dashed $accentColor;

            .drop-zone-icon, .drop-zone-text {
                color: $accentColor;
            }
        }

    }

    .drop-zone-text {
        text-align: center;
        color: $font-light-color;
        padding: 0;
        font-size: $font-size-small;
    }

    .drop-zone-icon {
        color: #b3b3b3;
    }

    .next-btn {
        float: right;
        cursor: pointer;
        background-color: $whiteColor;
        color: $darkGreyColor;
    }

    .cart-template {
        margin: 1rem 0;
        .cart-subtitle {
            margin-right: 1rem;
        }
    }

    .cart-subtitle {
        font-weight: $font-weight;
        color: $font-light-color;
        font-size: $font-size-small;
        padding-top: 0.3rem;
    }
}

.upload-layer{
    background: $whiteColor;
    padding: 1rem;
    color: $title-color;

    .upload-layer {
        color: $title-color;
    }

    .document-link{
        cursor: pointer;
        color: #2b6279;
    }
}

@media all and (max-width: 480px) {
     #cart-upload-documents-container {
         margin-top: 1rem;

         .upload-file-drop-zone {
             height: 8rem;
         }
     }
}
