/* main elements */
html {
    font-family: 'ABeeZee';
}

button, select, input {
    font-family: 'ABeeZee';
}

h1, h2 {
    font-family: 'ABeeZee';
}

body { 
    margin: 0 auto;  
    background: radial-gradient(125% 125% at 68% 10%, rgba(202, 211, 253, 0.5) 40%, rgb(171, 136, 206) 100%) fixed center;
    overflow: hidden;
}

h2 {
    font-size: 20px;
}

.page-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.sidebar {    
    display: flex;
    flex-direction: column;
    width: 250px;
    padding-top: 10px;
    padding-left: 20px;
    background-color: rgb(244, 244, 244);    
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.sidebar p {
    font-size: 18px;
    margin-top: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fd5900;
    text-decoration: none;
}

.sidebar a {
    font-size: 17px;
    margin-bottom: 4px;
    margin-top: 4px;
    margin-left: 15px;
    color: #4b3c32;
    text-decoration: none;
}

.sidebar a:hover {
    color: #fd5900;
}

.current-page {
    color: #fd5900 !important;
}

.page-content {  
    flex-grow: 1;
    max-width: 900px;
    margin: 0 auto;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
}

/* login */
#login-form {
    margin: 1em auto;
    background-color: white;
    padding: 30px;   
    border-radius: 8px;
    width: 60%;    
    border: 2px solid #ffd7b3; /* #fd5900 #f07300 #ffd7b3 */ 
}

label {
    display: block;
    margin-bottom: 8px;
    color: black;
    font-weight: bold;
}

.textual-input {
    width: 96%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.textual-input:focus {
    outline: none;
    border-color: #f07300;
    box-shadow: 0 0 5px #f07300;
}

#login-button {
    background-color: #fd5900;
    border: 2px solid #fd5900;
    color: white;
    width: 100%;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease-out;
}

#login-button:hover {   
    border: 2px solid lightgray; 
    background-color: #f0e7ff;
    color: black;
}

/* header and navigation */
.header-icon, .header-icon-no-margin {
    height:40px;
}

nav {
    background: white;
    display: flex;
    align-items: center;
    padding-block: 1.6em;
}

nav h1 {
    font-size: 1.4em;    
    color: #4b3c32;
    flex: auto;
    align-self: center;
    margin-block: 4px;
    padding-left: 8px;
}

.navigation {
    display: flex;
    justify-content: center;
}

.navigation a {
    font-size: 16px;
    margin-left: 16px;
    color: #6c757d;
    text-decoration: none;
    font-family: system-ui;
}

/* Other Graphs  */
.highcharts-figure {
    margin: 1em auto;
    padding-block: 10px;
    padding-inline: 20px;
    background-color: white;
    border-radius: 6px;    
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#chart-container {
    width: 100%;
    height: 520px;
    font-family: 'ABeeZee';    
}

/* index (different navigation) */
.index {
    margin-top: 20px;
    display: flex;
    justify-content: center;    
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.index a {
    width: 400px;
    font-size: 1.2em;
    margin: 0 5px;
    padding: 10px 15px;
    margin-block: 10px;
    text-decoration: none;
    font-weight: bold;
    background-color: #fd5900;
    border: 2px solid #fd5900;
    color: white;
    transition: all 0.3s ease-out;
    border-radius: 4px;
}

.index a:hover {
    color: black;
    background-color: #f0e7ff;
    border: 2px solid lightgray; 
}

.index a.logout-button {    
    background-color: #4d0000;    
    border: 2px solid #4d0000;
}

.index a.logout-button:hover {
    background-color: #f3f3f3;
    color: #4d0000;
}

/* Prediction gauge */
.table-with-prediction-container {
    margin: 1em auto;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.prediction-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;        
    background-color: white;
    border-inline: 2px solid lightgrey;
    border-top: 2px solid lightgrey;
    border-radius: 6px 6px 0px 0px;
}

.dashboard-container {
    display: flex;
    height: 70vh;       
    border: 2px solid lightgrey;
    border-radius: 0px 0px 6px 6px;
}

.form-section {
    width: 50%;
    background-color: #ffd7b3; 
    border-right: 2px solid lightgrey;
    border-radius: 0px 0px 0px 3px;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    position: relative; /* Make the parent a positioning context */
}

.gauge-section {
    width: 500px;
    height: 70vh;
    display: flex;        
    border-radius: 0px 0px 3px 0px;
    background-color: white;
    justify-content: center;
    align-items: center;
}

#prediction-gauge-container {    
    width: 500px;
    height: 350px;
    font-family: 'ABeeZee';
}

/* Prediction insertion table */
.table-input-edit {
    width: 90%;
    height: 16px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 0.5px solid;
    font-size: 16px;
}

#predict-button {
    padding-block: 10px;
    font-size: 20px;
    transition-duration: 0.2s;
    border-radius: 0px 0px 0px 4px;
    cursor: pointer;
    border: 0px;    
    border-top: 2px solid #fd5900;
    font-weight: bold;
    background-color: #fd5900;
    width: 100%;
    color: white;
    transition: all 0.3s ease-out;
    text-decoration: none;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

#predict-button:hover {
    background-color: #f0e7ff;
    color: black;
    border-top: 2px solid lightgray;
}

#insertion-table {
    /* Overall table styling */
    background-color: #f3f3f3; /* Light gray background */
    color: black; /* Dark text color */
}

#insertion-table thead {
    /* Header row styling */
    background-color: #fd5900; /* Blue header background */
    color: white; /* White header text */
}

#insertion-table tbody tr:nth-child(even) {
    /* Zebra striping for even rows */
    background-color: #f3f3f3;
}

#insertion-table tbody tr:hover {
    /* Hover effect */
    background-color: #e0e0e0;
}

/* imperial */
.imperial-orange {
    color: #f07300 
}

.navigation a:hover {
    transform: translate(1px, -1px) scale(1.05) translateZ(5px);
    transition: all 0.3s ease-in;
}

.dropbox-modern-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    padding: 20px;
}