:root {
    --gray-bg: #272727;
    --dark-bg: #303d49;
    --medium-bg: #334d66;
    --light-bg: #f8f8f8;
    --accent-bg: #8b99e1;
    --accent-color: #334d66;
}

*{
    font-family: "articulat-heavy-cf", sans-serif;
    font-weight: 900;
    font-style: normal;
}
p{
    font-weight: 500;
}

h3 h4{
    font-weight: 700;
}
/* Panels */
.panel{
    margin: 10px;
    min-width: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.panel-header{
    background-color: var(--dark-bg);
    border-radius: 10px 10px 0 0;
    padding: 10px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.panel-content{
    max-height: calc(100vh - 500px);
    overflow-y: auto;
}

 /* Tables */
 .table-container{
    display: block;
    width: 100%;
    height: fit-content;
    padding: 20px;
    background-color: #ffffff;
    overflow-y: auto;
}
table{
    border-collapse: collapse;
    width: 100%;
}
th, td{
    text-align: left;
    padding: 8px;
    border: 1px solid #373e40;
}
thead{
    background-color: var(--dark-bg);
    color: white;

}

/* forms */
form{
    margin: 10px;
    padding: 10px;
}

.floating-container{
    width: 50%;
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
}
input{
    width: 100%;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid var(--gray-bg);
    padding: 5px;
}
label{
    display: block;
    margin: 5px;
    margin-bottom: 0px;
}
textarea{
    width: 100%;
    margin: 2.5%;
    margin-top: 3px;
    border-radius: 5px;
    border: 1px solid var(--light-bg);
    padding: 5px;
}
.submit{
    width: 100%;
    margin-bottom: 5px;
    margin-top: 15px;
    border-radius: 5px;
    border: 1px solid black;
    padding: 5px 15px 5px 15px;
    background-color: var(--medium-bg);
    color: white;
}
.error {
    color: red;
}

/* Progress bar */
progress[value] {
    /* Reset the default appearance */
    -webkit-appearance: none;
    appearance: none;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    width: calc(100% - 10px);
    height: 20px;
}

progress[value]::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
    background-color: var(--accent-bg);
}

progress[value]::-moz-progress-bar {
    background-color: var(--accent-bg);
}

#meter_value{
text-align: center;
margin-bottom: 5px;
padding: 0;
font-size: medium;
font-weight: bold;
}

.file-upload {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: 500;
    font-size:large;
    background-color: #f9f9f9;
    padding: 30px;
    cursor: pointer;
    width: 95%;
    margin: 2.5%;
    min-height: 300px;
    text-align: center;
}
.content-container{
    margin: 25px;
    max-width: 800px;
}

/* Error message block */
.error_message_block{
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 300px;
    height: 100px;
    background-color: #ffffff;
    border: 3px solid #ff0000;
    color: #ff0000;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 2s ease-in-out;
}
.fade-in{
    transform: translateX(0);
}