@font-face {
    font-family: 'Bellota-LightItalic';
    src: url('../fonts/Bellota-LightItalic.otf');
}

@font-face {
    font-family: 'Bellota-BoldItalic';
    src: url('../fonts/Bellota-BoldItalic.otf');
}



html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Full viewport height */
}




.site-footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px;
  border-top: 1px solid #333;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left, .footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-right {
  text-align: right;
}

.copyright {
  margin: 0;
  color: #aaa;
}

.copyright strong {
  color: #fff;
}

.disclaimer {
  margin: 5px 0 0;
  font-size: 13px;
  color: #666;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-link {
  color: #f704ff;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}





.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  font-size: 1.2rem;
  color: #680762;
  z-index: 10;
}

.password-container input[type="password"],
.password-container input[type="text"] {
  width: 100%;
  margin: 0;
}

.password-container {
  position: relative;
  width: 70%;
  margin: 8px auto;
}

.succesreg {
    color: #68e49c;
}



html, body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

form {
    text-align: center;
    position: relative;
}

a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}

.wrapper {
    background-image: url("../images/backgrounds/background22.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.login_box {
    font-family: 'Bellota-LightItalic', sans-serif;
    width: 35%;
    max-width: 500px;
    min-width: 300px;
    background-color: rgba(122, 122, 122, 0.35);
    border: 1px solid #EDEDED;
    border-radius: 7px;
    padding: 15px;
    opacity: 0.98;
    margin: 20px auto;
}

.login_header {
    font-family: 'Bellota-LightItalic', sans-serif;
    width: 100%;
    padding: 15px 0;
    background-color: #680762;
    color: #fff;
    text-align: center;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    margin-bottom: 25px;
}

.login_header h1 {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #fff;
    text-shadow: #73B6E2 0.5px 0.5px 0px;
    font-size: 2rem;
}

.sitelogoreg {
    max-width: 80px;
    height: auto;
}

input[type="submit"] {
    background-color: #666366;
    border: 1px solid #000000;
    border-radius: 3px;
    margin: 10px 0;
    padding: 10px 20px;
    color: #fff;
    text-shadow: #3f3f3f 0.5px 0.5px 0px;
    font-family: 'Bellota-BoldItalic', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #4d4a4d;
}

input[type="text"], 
input[type="email"], 
input[type="password"] {
    border: 1px solid #000000;
    border-radius: 3px;
    width: 70%;
    height: 35px;
    margin: 8px 0;
    padding-left: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

input[type="text"]:hover, 
input[type="email"]:hover, 
input[type="password"]:hover {
    border-color: #3498db;
}

input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

.error {
    color: #e74c3c;
    margin: 5px 0;
    font-size: 0.9rem;
}

.password-info {
    font-size: 0.8rem;
    color: #000000;
    margin: 0;
    padding: 0 15%;
}

#second {
    display: none;
}

.signup, .signin {
    display: inline-block;
    margin: 10px 0;
    color: #680762;
    transition: color 0.3s;
}

.signup:hover, .signin:hover {
    color: #4a0545;
    text-decoration: underline;
}

/* Responsive styles for mobile devices */
@media only screen and (max-width: 768px) {
    .wrapper {
  flex: 1;     /* Takes all available space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}


    


    .footer-container {
    flex-direction: column;
  }
  
  .footer-left, .footer-right {
    width: 100%;
    text-align: center;
  }
  
  .footer-nav {
    justify-content: center;
    margin-top: 15px;
  }
  
  .footer-link {
    margin: 0 10px;
  }

    .password-container {
  position: relative;
  width: 90%;
  margin: 8px auto;
}
    
    .login_box {
        width: 90%;
        min-width: unset;
        margin: 20px auto;
        padding: 10px;
    }
    
    .login_header h1 {
        font-size: 1.5rem;
    }
    
    .sitelogoreg {
        max-width: 60px;
    }
    
    input[type="text"], 
    input[type="email"], 
    input[type="password"] {
        width: 85%;
    }
    
    .password-info {
        padding: 0 5%;
        font-size: 0.75rem;
    }
    
    input[type="submit"] {
        padding: 8px 16px;
    }
}

/* Extra small devices */
@media only screen and (max-width: 480px) {
    .login_box {
        width: 95%;
        padding: 8px;
    }
    
    .login_header {
        padding: 10px 0;
    }
    
    .login_header h1 {
        font-size: 1.3rem;
    }
    
    input[type="text"], 
    input[type="email"], 
    input[type="password"] {
        width: 90%;
        height: 40px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    input[type="submit"] {
        width: 90%;
    }
}