﻿body, html {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background: url("login_background.jpeg") no-repeat center center fixed;
    background-size: cover;
    color: #2F5059;
}
.header {
    text-align: left;
    padding: 10px;
}
.header img{
    padding-left: 20px;
}
.logo {
    height: 140px;
    width: auto;
}
.login {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: 0;
    font-size: 14px;
    color: #F72E50;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.error-message {
    color: #F72E50;
    font-size: 15px;
    margin-bottom: 5px;
}
.login-link{
    font-size: 14px;
    margin-bottom: 10px;
}
.leftcontainer {
    background: rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    width: 50%;
    border-radius: 5px;
}
.form-container {
    padding: 20px;
    padding-top: 0;
    border-radius: 8px;
    padding-left: 5%;
}
h1 {
    color: #F72E50;
    margin-bottom: 20px;
}
.input-group {
    margin-bottom: 10px;
}
.input-group .form-control {
    width: 37%;
}
:root {
    --primary: #F72E50; /* Primary color */
    --secondary: #2F5059; /* Secondary color */
    --box-background: #fff;
}
.input__wrapper {
    position: relative;
    padding: 10px 0 0 0;
    width: 100%;
}
.input__field {
    font-size: 1em;
    color: var(--secondary);
    padding: 10px;
    background: transparent;
    border: 2px solid #ccc; 
    border-radius: 5px;
    width: 100%; 
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input__field:placeholder-shown + .input__label {
    cursor: text;
    top: 40%;
    left: 10px;
    font-size: 1em;
}
.input__label {
    position: absolute;
    top: 0; 
    left: 10px;
    color: var(--secondary);
    background-color: var(--box-background);
    transition: top 0.3s, font-size 0.3s, color 0.3s;
    padding: 0 5px;
    transform-origin: left center;
    pointer-events: none;
}
.input__field:focus {
    border-color: var(--primary);
    outline: none;
}

.input__field:focus + .input__label {
    top: 15px; 
    font-size: 0.75em; 
    color: var(--primary); 
}
.form-control {
    margin: 10px auto;
    padding: 10px;
    font-size: 1em;
    border: 2px solid #ccc;
    border-radius: 5px;
}
.form-container .form-control{
    width: 79%;
    margin-bottom: 20px;
}
.btn-primary {
    font-size: 16px;
    display: block;
    padding: 10px;
    background-color: #F72E50;
    border: 1px solid;
    border-color: #2F5059;
    border-radius: 15px;
    cursor: pointer;
    z-index: 0;
    transition: all .5s ease;
    color: #fff;
}
.btn-primary:hover {
    color: #F72E50;
    background-color: #2F5059;
}
.input-group label {
    font-size: 0.9em;
    color: #2F5059; 
}

.input-group input[type="checkbox"] {
    margin-right: 10px;
}
.content-wrapper {
    display: flex; 
    justify-content: space-between;
    align-items: stretch; 
    height: 100vh; 
}
.leftcontainer, .rightcontainer {
    width: 50%; 
    display: flex;
    flex-direction: column; 
}
.rightcontainer {
    width: 50%;
    float: right;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chart-message {
    background-color: #fff;
    padding: 5px;
    margin: 5px 0;
    width: 80%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
}
.chart-message p {
    margin: 0;
    padding: 5px;
}
.chart-buttons {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.chart-buttons button {
    background-color: #F72E50;
    color: white;
    border: none;
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.chart-buttons button:hover {
    background-color: #2F5059;
}

.chart-container {
    width: 70%;
    padding: 10px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .form-container,
    .image-container {
        flex-basis: 100%;
    }
}