/* ========================================= Building BLocks======================== */
.upload-body{
	width: 100%;
	height: 92%;
	display: flex;
	flex-direction: row;
	z-index: 1;
}
  
.upload-table{
	height: 100%;
	width: 30%;
	max-width: 30%;
	background-color: var(--second-bg-color);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
  
.upload-content{
	height: 100%;
	width: 70%;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
	background-color: var(--main-bg-color);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}
  
  /* ====================================== table content */
  
.upload-table .upload-table-holder{
	width: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 60%;
}

.upload-table .uploaded-list-holder{
	height: 70%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.upload-btn{
	display: none;
	background-color: var(--upload-button-bg);
	border: none;
	border-radius: 4px;
	padding: 8px;
	width: 50%;
	margin: auto;
	color: var(--main-text-color);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.upload-btn:hover{
	background-color:var(--upload-button-bg-hover)
}

.upload-table .upload-table-holder h6{
	font-weight: bold;
	font-size: 18px;
	color: var(--main-text-color);
	border-bottom: 1px solid var(--main-border-color);
}
  
.upload-table .upload-table-holder a{
	text-decoration: none;
	height: 40px;
	border-top: var(--main-border-color) 1px solid;
	margin: 0 5px;
	margin-bottom: 20px;
	align-content: center;
	font-size: 16px;
	font-weight: bold;
	color: var(--main-text-color);
	padding-left: 10px;
	border-radius: 50px;
}
  
.upload-table .upload-table-holder a:hover {
	background-color: var(--main-border-color);
	transition: all 0.8s;
}
  
.upload-table .upload-table-holder a:focus {
	background-color: var(--second-border-color);
	color: var(--main-bg-color);
	transition: all 0.2s;
}
  
.upload-table .upload-table-holder a i{
	margin-right: 10px;
}

.upload-table .upload-table-holder label{
	color: var(--main-text-color);
}

  /* ============================================= doc content */
.upload-content .upload-content-header{
	display: flex;
	flex-direction: row;
	margin: 20px;
	border-bottom: var(--main-border-color) 1px solid;
	padding: 40px;
	justify-content: space-between;
	height: 20%;
}

.upload-content .upload-content-header img{
	margin: auto;
	height: 100%;
}
  
.upload-content .upload-content-header h4{
	font-size: 32px;
	color: var(--main-text-color);
}

.upload-content .upload-content-header h6{
	color: var(--main-text-color);
}
  
.upload-content .upload-content-body{
	padding: 20px;
}
  
.upload-content .upload-content-body h4{
	font-size: 26px;
	color: var(--main-text-color);
}
  
.upload-content .upload-content-body p{
	font-size: 18px;
	line-height: 32px;
	color: var(--main-text-color);
}
  
.upload-content .upload-content-body .upload-data-information-holder{
	padding: 20px;
}

.upload-content .upload-content-body .upload-data-information-holder label{
	color: var(--main-text-color);
}

.upload-content .upload-content-body .col-12 .card .card-body {
	background-color: var(--card-bg-color);
}

.upload-content .overview-note{
	display: flex;
	flex-direction: column;
	width: 60%;
	margin: 30px auto;
}
  
.upload-content .overview-note span{
	background-color: var(--note-head-background-color);
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	text-align: left;
	padding: 10px;
	color: var(--main-bg-color);
	margin: 0;
}
  
.upload-content .overview-note p{
	background-color: var(--note-body-background-color);
	font-size: 16px;
	text-align: left;
	padding: 16px;
}

.dropzone {
	width: 100%;
	height: 100%;
	border: 1px dashed #999;
	border-radius: 3px;
	text-align: center;
	margin:20px;
	cursor: pointer;
	position: relative;
	display: grid;
}

.iconzone{
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	z-index: 2;
	margin: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.iconzone p {
	display: inline;
	color: var(--main-text-color);
}

.upload-icon {
	width: 60px;
}

.upload-input {
	display: inline;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

/* ======================== progress bar ================== */
.upload-progress-container {
	display: none;
    background-color: var(--context-bg-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
	width: 70%;
	margin: auto;
	color: var(--main-text-color);
}

.upload-hidden {
    display: none;
}

.progress-bar {
    width: 100%;
    background: none;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.progress {
    height: 20px;
    width: 0;
    background: var(--progress-bg);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

#progressPercentage {
    font-size: 16px;
}

#upload-fileCount {
    font-size: 16px;
}

.upload-progress-icon {
    width: 30px;
    height: 30px;
    border: 4px solid var(--progress-icon-bg);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes success {
    0% {
        background: #76a9c7;
    }
    50% {
        background: var(--progress-bg);
    }
    100% {
        background: #76a9c7;
    }
}

#upload-fileList {
    text-align: left;
    margin-top: 20px;
    max-height: 200px;
    overflow-y: auto;
}

#upload-fileList ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#upload-fileList li {
    margin-bottom: 5px;
}

#file-table{
	display: none;
}