body {
    font-family: Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 20px;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    min-width: 400px;
    background: linear-gradient(white, #9cfff0);
}

.container {
    display: flex;
    flex-direction: row;
    width: 80%;
    max-width: 900px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

.image-section img {
    max-width: 360px;
    margin: 16px;
    height: auto;
}

.login-section {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1040px) {
    .container {
        flex-direction: column;
    }
    .image-section {
        order: -1;
    }

    .login-section {
        order: 1;
    }
}

/* Adjust image size proportionally for screen widths below 460px */
@media (max-width: 460px) {
    .image-section img {
        max-width: 100%;
        height: auto;
        margin: 8px;
    }
}

.error {
   color: red;
}

.success {
   color: green;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.transition0 {
    transition: 0.5s;
}

.result {
   text-align: center;
   margin-top: 10px;
}

.status {
   text-align: left;
}

button {
   text-align:center;
   border-radius: 4px;
   border: 2px solid #00d1b2;
   margin: 8px auto;
   width: 180px;
   height: 40px;
   font-size: 14px;
   background: #9cfff0;
   color: #006859;
   cursor: pointer;
}

button:hover {
   background: #00d1b2;
   color: white;
   box-shadow:0 1px 1px rgba(0,0,0,0.11),0 2px 2px rgba(0,0,0,0.11),0 4px 4px rgba(0,0,0,0.11),0 6px 8px rgba(0,0,0,0.11),0 8px 16px rgba(0,0,0,0.11);
}

button:active {
   background: white;
   color: #00d1b2;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: auto;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

input[type="email"] {
    margin: 8px auto;
    width: 220px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #00d1b2;
    border-radius: 4px;
}

input[type="email"]:focus {
   outline: none !important;
   box-shadow:0 1px 1px rgba(0,0,0,0.11),0 2px 2px rgba(0,0,0,0.11),0 4px 4px rgba(0,0,0,0.11),0 6px 8px rgba(0,0,0,0.11),0 8px 16px rgba(0,0,0,0.11);
   background: #9cfff0;
}

input[type="text"] {
    margin: 8px auto;
    width: 220px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #00d1b2;
    border-radius: 4px;
}

input[type="text"]:hover {
   outline: none !important;
   box-shadow:0 1px 1px rgba(0,0,0,0.11),0 2px 2px rgba(0,0,0,0.11),0 4px 4px rgba(0,0,0,0.11),0 6px 8px rgba(0,0,0,0.11),0 8px 16px rgba(0,0,0,0.11);
   background: #9cfff0;
}

input[type="text"]:focus {
   outline: none !important;
   box-shadow:0 1px 1px rgba(0,0,0,0.11),0 2px 2px rgba(0,0,0,0.11),0 4px 4px rgba(0,0,0,0.11),0 6px 8px rgba(0,0,0,0.11),0 8px 16px rgba(0,0,0,0.11);
   background: #9cfff0;
}

/* Style the select box */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 8px auto;
    width: 220px !important;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #00d1b2;
    border-radius: 4px;
}

select:hover {
   outline: none !important;
   box-shadow:0 1px 1px rgba(0,0,0,0.11),0 2px 2px rgba(0,0,0,0.11),0 4px 4px rgba(0,0,0,0.11),0 6px 8px rgba(0,0,0,0.11),0 8px 16px rgba(0,0,0,0.11);
   background: #9cfff0;
}

select:focus {
   outline: none !important;
   box-shadow:0 1px 1px rgba(0,0,0,0.11),0 2px 2px rgba(0,0,0,0.11),0 4px 4px rgba(0,0,0,0.11),0 6px 8px rgba(0,0,0,0.11),0 8px 16px rgba(0,0,0,0.11);
   background: #9cfff0;
}


#code {
    margin: 8px auto;
    width: 220px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #00d1b2;
    border-radius: 4px;
}

#code:focus {
   outline: none !important;
   box-shadow:0 1px 1px rgba(0,0,0,0.11),0 2px 2px rgba(0,0,0,0.11),0 4px 4px rgba(0,0,0,0.11),0 6px 8px rgba(0,0,0,0.11),0 8px 16px rgba(0,0,0,0.11);
   background: #9cfff0;
}

label, select, button {
   display: block;
   margin-bottom: 10px;
}

select {
   padding: 10px;
   width: 100%;
}

button {
   padding: 10px;
}

#logoutButton {
   background: #ff99cc;
}

#logoutButton:hover {
   background: #cc0066;
}

