﻿@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap'); /* Importing the Lora font */

body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: 'Lora', serif;
}

.title {
    font-weight: bold;
    font-size: 1em;
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3em; /* To avoid overlap with fixed header */
}

#header {
    height: 3em;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #fff; /* Add background color to header */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow to header */
}

    #header .logo {
        width: 50px; /* Adjust the width as needed */
        height: auto; /* Maintain aspect ratio */       
    }

    #header .title {
        font-size: 1.5em;
        flex-grow: 1;
        text-align: center;
    }
#main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1em;
}

.flex-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0.5em 0;
    width: 80%; /* Ensure the row takes full width */    
}

.table-container {
    width: 80%;    
    margin-top: 1em;
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.1); /* Add shadow to the table */
    border-radius: 20px; /* Optional: Add rounded corners */
    overflow: hidden; /* Optional: Ensure the shadow is applied correctly */
}

.table-header, .table-body .table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 0;
    border-bottom: 1px solid #ccc;
}

.table-header {
    font-weight: bold;
}

    .table-header span, .table-body .table-row .span, .table-body .table-row input, .table-body .table-row button {
        flex: 1;
        text-align: center;
        margin: 0 0.5em; /* Add margin to match the initial row */
    }

.table-body .table-row {
    margin: 0.5em 0;
    width: 100%;
}

    .table-body .table-row input[type="file"].zip-input {        
        margin: 0 0.5em;
    }

    .table-body .table-row {        
        padding: 0.5em 1em;
        font-size: 1em;
        cursor: pointer;        
    }

button.proceed-button {  
    flex: 0.5 !important;
    padding: 0.25em 2em; /* Adjusted padding to make the button smaller */
    font-size: 0.75em; /* Adjusted font size to make the button smaller */
    cursor: pointer;
    margin: 0 0.5em;
    width: 50px;
}

.table-body .table-row .status,
.table-body .table-row .result,
.table-body .table-row .report,
.table-body .table-row .time {
    flex: 1;
    text-align: center;
    margin: 0 0.5em;   
}

.add-sign {
    cursor: pointer;
    font-size: 3em;
    color: #007bff;
    text-align: right;    
    padding-right: 1em;
}

#text-blob {
    background-color: #f0f8ff; /* Light background color */
    padding: 1em; /* Add padding */
    /*border: 1px solid #ccc;*/ /* Add border */
    border-radius: 8px; /* Add rounded corners */
    font-size: 1em; /* Slightly larger font size */
    color: #333; /* Text color */
    margin: 1em 0; /* Add margin */
    width: 80%; /* Ensure it matches the width of other elements */
    text-align: center; /* Center the text */
}

/* Apply styles to screens smaller than 1024px (e.g., tablets, phones) */
@media (max-width: 1023px) {
    .smallscreen {
        width: 75%;
        flex: 0;
    }
}

/* Apply styles to screens larger than 1440px (e.g., desktops, large screens) */
@media (min-width: 1441px) {
    .smallscreen {
        width: 75%;
        flex: 0;
    }
}