@charset "utf-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Imprima", sans-serif;
	color: rgba(0,0,0,0);
}



.file-viewer-modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.file-viewer-modal-content {
    background: rgba(255, 255, 255, 0.1);
    margin: 4% auto;
    padding: 0;
    border-radius: 15px;
	width: 90vw;
	height: 92vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.file-viewer-modal-header {
    background: #1C1E1D;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex: 1;
	width: 100%;
    align-items: center;
	gap: 1vw;
}

.file-viewer-modal-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.file-viewer-modal-body {
    padding: 10px 15px 50px 15px ;
    height: calc(95vh - 100px);
    overflow-y: auto;
}

.file-viewer-controls {
    display: grid;
	gap: 15px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas: 
          "btn1 btn2"
          "btn3 btn4";
    }
    
    .file-viewer-file-input-wrapper { grid-area: load; }     /* Load Files */
    .file-viewer-btn:nth-child(1) { grid-area: btn1; }       /* Concerns */
    .file-viewer-btn:nth-child(2) { grid-area: btn2; }       /* Images */
    .file-viewer-btn:nth-child(3) { grid-area: btn3; }       /* Creation Date */
    .file-viewer-btn:nth-child(4) { grid-area: btn4; }       /* Show All */

.file-viewer-btn {
    background: black;
    padding: 12px 20px;
    border-radius: 5px;
	border: none;
	color: #F1F7F6;
    cursor: pointer;
	font-family: "Imprima", sans-serif;
    font-weight: 600;
	font-size: 15px;
    position: relative;
    overflow: hidden;
	box-shadow: 0px 3px 3px 1px rgba(0, 0, 0, 0.7);
	width: 100%;
}

.file-viewer-btn:hover {
    background: #D5FF4F;
	color: black;
	font-weight: 600;
}

.file-viewer-btn.active {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0px 3px 3px 1px rgba(0, 0, 0, 0.7);
}

.file-viewer-close-button {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 35px;
    font-weight: bold;
    color: #D5FF4F;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
	/*circle*/
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}


.file-viewer-file-input-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0px 3px 3px 1px rgba(0, 0, 0, 0.7);
    flex: 1 1 0;
    display: flex;
}

.file-viewer-file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-viewer-file-input-label {
    background: #7F4FFF;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-family: "Imprima", sans-serif;
    font-weight: 600;
    color: #212121;
    text-align: center;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    display: flex;
    flex: 1 1 0;
}

.file-viewer-file-input-label:hover {
    background: #7F4FFF;
}

/* FONTS FOR THESE TWO NEED TO BE THE SAME*/
.file-viewer-file-input-label {
    font-size: 15px;
}





.file-viewer-image-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 15px;
}

.file-viewer-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
	margin-bottom: 50%;
}

.file-viewer-image-card {
    background: #1C1E1D;
    border-radius: 8px;
    padding: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.6);
}

.file-viewer-image-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.file-viewer-image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.file-preview-container {
    position: relative;
    width: 100%;
    height: 200px; /* Match your image/preview height */
    border-radius: 8px;
    overflow: hidden;
	margin-bottom: 15px;
}

.file-viewer-pdf-preview, .file-viewer-html-preview {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border-radius: 8px;
    margin-bottom: 10px;
	background: white;
    background-image:
	repeating-linear-gradient(
	to bottom,
	#cce5ff 0px,
	#cce5ff 1px,
	transparent 1px,
	transparent 12px
	),
	linear-gradient(
      -135deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.00) 30%
    );

}

.file-viewer-file-type {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    flex: 1 1 0;
    width: 0;
}

.file-viewer-file-type.image {
    background: #4CAF50;
    color: white;
}

.file-viewer-file-type.pdf {
    background: #FF5722;
    color: white;
}

.file-viewer-file-type.html {
    background: #2196F3;
    color: white;
}

.file-date-display {
    position: absolute;
    top: 5px;
    left: 2%;
	wdith: 96%;
    background: rgba(255,255,255,1);
    color: #212121;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 21px;
    font-weight: 500;
    z-index: 10;
    white-space: nowrap;
    font-family: "Imprima", sans-serif;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}



.file-viewer-image-info {
	position: absolute; 
	bottom: 2%;
	left: 2%; 
	padding: 4px 8px;
	border-radius: 4px;
	background: rgba(255,255,255,1);
}

.file-viewer-image-name { 
	color: #212121;
    font-weight: 500;
    margin-bottom: 5px;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-viewer-image-size {
    color: #1C1E1D;
    font-size: 12px;
}

.BottomRow {
    display: flex;
    flex: 1;
    width: 100%;
    align-items: center;
    gap: 1vw;
}

.file-viewer-view-btn, .file-viewer-delete-btn, .file-viewer-share-btn, .concern-rating-display {
    padding: 8px 16px;
    border-radius: 10px;
	border: none;
    color: white;
    cursor: pointer;
    font-family: "Imprima", sans-serif;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
    flex: 1 1 0;
    width: 0;
}

.file-viewer-view-btn {
    background: black;
	color: #F1F7F6;
}
.file-viewer-view-btn:hover {
    background: #D5FF4F;
	color: black;
}

.file-viewer-delete-btn {
    background: black;
	color: #F1F7F6;
}
.file-viewer-delete-btn:hover {
    background: #FF0000;
	color: black;
}

.file-viewer-share-btn {
    background: black;
	color: #F1F7F6;
}
.file-viewer-share-btn:hover {
    background: #7F4FFF;
	color: black;
}



.file-viewer-empty-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    padding: 0px 20px 20px 0px;
}

.rating-circle {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 21px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10000;
    color: white;
}



#file-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    box-sizing: border-box;
}

#file-view-modal .modal-content {
    background: rgba(29,29,29,0.5);
    border-radius: 10px;
    max-width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#file-view-modal .modal-content.html-file {
	max-width: 100vw;
}


#file-view-modal .title-bar {
    padding: 10px 60px 10px 20px;
    background: black;
	border-radius: 8px;
    flex-shrink: 0;
}

#file-view-modal .title-bar h3 {
    margin: 0;
    font-size: 18px;
	font-weight: 500;
    color: #FFFFFF;
}

#file-view-modal .content-area {
    min-height: 80vh;
	width: 100%;
    padding: 0px;
    justify-content: center;
    align-items: center;
}

#file-view-modal .content-area.html-content {
    min-height: 80vh;
	width: 100%;
    align-items: stretch;
}

#file-view-modal .content-area img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
	display: block;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#file-view-modal .content-area iframe {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    border: none;
    border-radius: 5px;
}

#file-view-modal .file-info {
    text-align: center;
    color: #666;
}

#file-view-modal .file-info .file-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

#file-view-modal .file-info button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#file-view-modal .close-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 35px;
    font-weight: bold;
    color: #D5FF4F;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
	/*circle*/
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.modal-delete-btn {
    position: absolute;
    bottom: 8%;
    right: 10px;
	width: 120px;
	height: 5vh;
    padding: 8px 16px;
    border-radius: 6px;
	border: none;
    cursor: pointer;
    font-family: "Imprima", sans-serif;
    font-size: 21px;
    text-align: center;
    transition: all 0.3s;
	background-color: black;
	color: #F1F7F6;
}

.modal-delete-btn:hover {
    background-color: #FF0000;
	color: black;
}

.modal-share-btn, .modal-reenter-btn {
    position: absolute;
    bottom: 8%;
    right: 150px;
	width: 120px;
	height: 5vh;
    padding: 8px 16px;
    border-radius: 6px;
	border: none;
    cursor: pointer;
    font-family: "Imprima", sans-serif;
    font-size: 21px;
    text-align: center;
    transition: all 0.3s;
	background-color: black;
	color: #F1F7F6;
}
.modal-share-btn:hover, .modal-reenter-btn:hover {
    background: #7F4FFF;
	color: black;
}

#simple-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#simple-share-modal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
}

#simple-share-modal button {
    margin: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 100%;
}

#simple-share-modal .copy-btn {
    background: #007bff;
    color: white;
}

#simple-share-modal .download-btn {
    background: #28a745;
    color: white;
}

#simple-share-modal .close-btn {
    background: #6c757d;
    color: white;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    z-index: 10001;
    font-size: 14px;
}

/* LANDSCAPE MOBILE/TABLET (480px to 1099px wide) */
@media only screen and (min-width: 480px) and (orientation: landscape) and (max-width: 1099px) {

.file-viewer-modal-content {
	margin: 2% auto;
	width: 95%;
	max-width: 1500px;
	height: 90vh;
}

.file-viewer-modal-body {
	padding: 15px 30px 30px 30px;
	height: calc(90vh - 100px);
}

.file-viewer-controls {
	width: 100%;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.file-viewer-file-input-wrapper {
	flex: 1 1 0;
	display: flex;
	width: auto;
}

.file-viewer-file-input-label {
	flex: 1 1 0;
	width: auto;
    }

/* FONTS FOR THESE TWO NEED TO BE THE SAME*/
.file-viewer-file-input-label {
    font-size: 21px;
}
.file-viewer-btn {
	flex: 1 1 0;
	width: 0;
	font-size: 21px;
}


.file-viewer-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-bottom: 2%;
}
	
.file-viewer-view-btn, .file-viewer-delete-btn, .file-viewer-share-btn, .concern-rating-display  {
    padding: 8px 16px;
    border-radius: 6px;
	border: none;
    font-size: 17px;
}
	
#file-view-modal .content-area.html-content {
    min-height: 80vh;
	width: 80vw;
    align-items: stretch;
}
}

/* DESKTOP (1100px and wider) */
@media only screen and (min-width: 1100px) {

.file-viewer-modal-content {
	margin: 2% auto;
	width: 95%;
	max-width: 1500px;
	height: 90vh;
}

.file-viewer-modal-body {
	padding: 15px 30px 30px 30px;
	height: calc(90vh - 100px);
}
	
.file-viewer-close-button {
    position: fixed;
    top: 5vh;
    right: 5vw;
    font-size: 35px;
    font-weight: bold;
    color: #D5FF4F;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
	/*circle*/
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.file-viewer-controls {
	width: 100%;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.file-viewer-file-input-wrapper {
	flex: 1 1 0;
	display: flex;
	width: auto;
}

.file-viewer-file-input-label {
	flex: 1 1 0;
	width: auto;
    }

/* FONTS FOR THESE TWO NEED TO BE THE SAME*/
.file-viewer-file-input-label {
    font-size: 21px;
}
.file-viewer-btn {
	flex: 1 1 0;
	width: 0;
	font-size: 21px;
}


.file-viewer-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-bottom: 2%;
}
	
.file-viewer-view-btn, .file-viewer-delete-btn, .file-viewer-share-btn, .concern-rating-display  {
    padding: 8px 16px;
    border-radius: 6px;
	border: none;
    font-size: 17px;
}

#file-view-modal .content-area.html-content {
    min-height: 80vh;
	width: 70vw;
	max-width: 1500px;
    align-items: stretch;
}
    
#file-view-modal .close-btn {
    position: fixed;
    top: 5vh;
    right: 5vw;
    font-size: 35px;
    font-weight: bold;
    color: #D5FF4F;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
	/*circle*/
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}
}