/* Global font override for auth pages */
html,
body,
*,
.authhead,
.authbut,
.authbut a {
    font-family: 'Questrial', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}

body{
  background-color: white !important;
  overflow-x: hidden;
}

.authstyle{
  text-align: center;
  margin: 0 auto;
}

.authbar{
  background-color: #463F3A;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  align-items: left;
  position: fixed;
  width: 100%;
  z-index: 5;
}

.authbar img{
  height: 65px;
}

.authhead{
  text-align: left;
  font-size: 3vw;
  font-weight: bolder;
  color: black;
}

.authbut {
  text-align: center;
  font-size: 30px;
  padding: 20px;
  font-weight: bolder;
  color: aliceblue;
  background-color: #86AEE2;
  margin-left: 30%;
  margin-right: 30%;
  border-radius: 10px;
  border: 1px solid black;
}

.authbut:hover{
  background-color: #4F84C7;
}
.main{
    all: unset;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.leaf {
    position: fixed;
    width: 15%; 
    min-width: 50px;
    height: auto;
    pointer-events: none; 
    z-index: -1;
}

.leaf-top-left {
    left: 0;
    top: 88px;
    width: 25%;
}

.leaf-top-right {
    right: 0;
    top: 88px;
    width: 21%;
}

.leaf-bottom-left {
    bottom: 0;
    left: 0;
    width: 14%;
}

.leaf-bottom-right {
    bottom: 0;
    right: 0;
    width: 22%;
}

/*google sign in button*/
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #463F3A;
  background-image: none;
  border: 2px solid #ddd;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Questrial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  display: block;
  height: 45px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 10px 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
  background-color: white;
  padding: 3px;
  border-radius: 80px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  font-family: 'Questrial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
}

.gsi-material-button:disabled .gsi-material-button-state {
  background-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #001d35;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #001d35;
  opacity: 8%;
}

.flexcontainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.leftside {
    flex: 1;
    text-align: left;
    margin-left: 10%;
    margin-right: -10%;
    margin-top: 9%;
    max-width: 50vw;
}

.leftside > * {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.leftside .authhead{
    margin-top: 2%;
}

.leftside .subtxt {
    font-size: 16px;
    color: #555;
    margin-bottom: 8%;
}

.rightside {
    flex: 1;
    margin-top: 6%;
}

.imagecontainer {
    margin-top: 5%;
    width: 100%;
    max-width: 40vw;
    height: 75vh;
    overflow: hidden; 
    border-radius: 20px; 
}

.imagecontainer img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    filter: contrast(1.5) brightness(0.95);
}
.formlabel label{
    text-align: left;
    font-size: large;
    font-weight: bolder;
    margin-bottom: 10px;
}

.formfield input {
    width: 60%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
    margin-bottom: 1%;
    margin-top: 5px;
}

.authbutt{
    padding: 15px 60px;
    font-family: Questrial;
    font-weight: bolder;
    background-color: #463F3A;
    color: white;
    border: 2px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.318s;
}

.submitbutt input{
    padding: 15px 60px;
    font-family: 'Questrial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    background-color: #463F3A;
    color: white;
    border: 2px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.318s;
}

.submitbutt input:hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 2px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.links {
    color: #0f5f0c;
    text-decoration: underline;
    font-weight: bold;
}

/*sigup styling*/

.signup .leftside {
  z-index: 3;
}

/*reset password styling*/

.authcontainer {
  width: 30%;
  min-width: 300px;
  max-width: 500px;
  margin: auto;
  background-color: #f8f9fa;
  padding: 30px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
  border: 1px solid black;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.authcontainerheader {
  font-size: 24px;
  margin-bottom: 20px;
}
.authcontainer hr {
  margin-bottom: 60px;
}

.backbutt {
    padding: 15px 30px;
    font-family: Questrial;
    font-weight: bolder;
    background-color: #86AEE2;
    color: white;
    border: 2px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.318s;
    margin: auto;
    position: absolute;
    top: 75%;
    left: 30%;
}

