body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
html{
    font-size: 3.5vh;}
/* Font sizes */
.font1rem { font-size: 1rem; }
.font1_5rem { font-size: 1.5rem; }
.font2rem { font-size: 2rem; }
.font3rem { font-size: 3rem; }
.fontweight { font-weight: bold; }

/* Demo styles */
.demo_image {
    width: 50%;
    border-radius: 100px;
}
.demo {
    position: relative;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-top: 20px;
}
.demo_iframe { width: 80%; }
.overlay {
    position: absolute;
    bottom: 0;
    width: 80%;
    height: 600px;
    background: linear-gradient(0deg, white 60%, transparent);
    color: #3E2723;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    text-align: center;
    padding: 20px;
    flex-direction: column-reverse;
    justify-content: center;
}

/* Auth container styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    margin: 0;
    user-select: none;
    max-width: 80vh;
}
.auth-content {
    background-color: #ffffff;
    border-radius: 8px;
    margin: auto;
}
.auth-container_new {
    margin: 60px auto;
    padding: 20px 20px 0 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 40%;
    height: 430px;
    background: #fff;
    user-select: none;
}

/* Form styles */
.form-container {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}
.form-group {
    position: relative;
    margin: 0;
    line-height: 1.2rem;
}
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: transparent;
    color: #333;
}
input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 0.5rem;
    outline: none;
    1px solid rgb(223, 223, 228)
    padding-left: 1rem;
    font-size: 0.9rem;
}

/* Button styles */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: auto;
}
.btn-primary {
    background-color: #6200ee;
    color: #fff;
        border-radius: 30px;
}
.btn-primary:hover {
    background-color: #5000c1;
}
#login_submit, #signup_submit, #loginButton, #loginButton2 {
    width: 100%;
    height: 35px;
    padding: 10px 20px;
    background: #0958d9;
    color: white;
    border: none;
    border-radius: 20px;
}
#loginButton:hover, #login_submit:hover, #signup_submit:hover, #loginButton2:hover {
    background: linear-gradient(45deg, #2f54ea, transparent);
}
.social-login {
    display: flex;
}
/* Social login buttons */
.btn-google {
    background-color: #fff;
    color: #333;
    border: 0.0625rem solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.875rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0.5rem auto;
    width: 80%;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-google:hover {
    background-color: rgba(3, 224, 190, 0.89);
    color: #fff;
}

.btn-google .google-icon {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.625rem;
}

.btn-google span {
    flex-grow: 1;
    text-align: center;
}


/* Logo styles */
#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}
img.sidebar-logo {
    width: 20%;
    max-width: 60px;
    margin: 20px;
}
.logo-text {
    font-size: 24px;
    font-weight: bold;
}
.astro {
    color: #333;
    font-family: 'sans-serif';
}
.ai {
    color: #6200ee;
    font-family: 'monospace';
}

/* Text styles */
.welcome-text {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.signup-text {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: rgb(42, 44, 58);
    word-break: break-word;
    text-align: center;
    max-width: 100%;
    max-height: 100%;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
a {
    color: #03A9F4;
}
.signup-link {
    color: #6200ee;
    text-decoration: none;
}
.forgot-password {
    color: #6200ee;
    text-decoration: none;
    font-size:0.9rem
}

/* Divider styles */
.or-divider {
    text-align: center;
    margin: 0.5rem 0;
    position: relative;
    font-size: 0.8rem;
}
.or-divider::before,
.or-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #ddd;
}
.or-divider::before { left: 0; }
.or-divider::after { right: 0; }
.or-divider span {
    background-color: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

/* Policy links */
.policy {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}
.policy-links {
    text-align: center;
    margin-top: 20px;
}
.policy-links a {
    color: #6200ee;
    text-decoration: none;
    margin: 0 10px;
}
.link:hover { cursor: pointer; }
.link { margin: 6px; }
a.font1rem.link.link_Privacy, a.font1rem.link.link_Terms {
    font-size: 14px;
}
a.font1rem {
    font-size: 15px;
}

/* Modal styles */
#privacyPolicyFrame {
    width: 100%;
    height: 60vh;
}

/* Alert styles */
.alert {
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-error {
    color: red;
    margin: 0;
    padding: 0;
}

/* Form validation styles */
.has-error .form-control, .is-invalid {
    border-color: #dc3545;
}
.invalid-feedback {
    color: #dc3545;
    display: block;
}
button.btn.btn-primary.btn-block,a.btn.btn-primary.btn-block {
    font-size: 0.9rem;
    line-height: 1.3rem;
    margin: 0.5rem auto;
    width: 80%;
}




.full-screen-text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: none;
  flex-direction: column;
  z-index: 9999;
}

.full-screen-text-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.full-screen-text-title {
  margin: 0;
}

.close-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.full-screen-text-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.full-screen-text-footer {
  padding: 20px;
  text-align: right;
  border-top: 1px solid #ccc;
}

.agree-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.message-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 50%;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  text-align: center;
}

.message {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.message span {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
}

.message-success {
  border-left: 4px solid #52c41a;
}

.message-error {
  border-left: 4px solid #f5222d;
}

.message-info {
  border-left: 4px solid #1890ff;
}

.confirm-button {
  align-self: stretch;
  padding: 10px;
  background-color: #f0f0f0;
  border: none;
  border-top: 1px solid #e8e8e8;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.confirm-button:hover {
  background-color: #e8e8e8;
}

.countdown {
  padding: 8px 20px;
  font-size: 12px;
  color: #999999;
  background-color: #f9f9f9;
  border-top: 1px solid #e8e8e8;
}



/*#messages*//*
.message-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 50%;
  text-align: center;
}

.message {
  padding: 1.875rem;
  border-radius: 1.25rem;
  font-size: 1.375rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message svg {
  margin-bottom: 0.625rem;
  width: 3em;
  height: 3em;
}

.message-success {
  background-color: #fceae7;
  color: #52c41a;
}

.message-success span {
  color: #000;
}
.message-error {
  background-color: #fceae7;
  color: #f5222d;
}

.message-error span {
  color: #000;
}

.message-info{
  background-color: #fceae7;
  color: #52c41a;
}
.message-info span {
  color: #000;
}

.confirm-button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #fff;
  background-color: #00f;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.confirm-button:hover {
  background-color: #49ad17;
}

.countdown {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
}*/


input.form-control {
    margin: 0.7rem 0;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
}
input[type="checkbox"] {
    margin: 0.2rem 0.4rem;
}
.form-check-label {
    font-size: 0.8rem;
}

@media screen and (orientation: portrait){
html{
    font-size: 3.5vw;}

.auth-container{
max-width: 90%;
}

.auth-content{
width: 100%;
height: 60vh;
display: flow;
}
body {
    background-color: #fff;
}
form{
margin:2rem 0;

}
.form-group{
height: 3rem;

}

.btn-google {
    font-size: 1rem;
    line-height: 2.5;
    border-radius: 2.5rem;
    width: 90%;
}

.btn-google .google-icon {
    width: 1.5rem;
    height: 1.5rem;
}


button.btn.btn-primary.btn-block, a.btn.btn-primary.btn-block {
    line-height: 2.5rem;
        border-radius: 2.5rem;
        width: 90%;
}
}
