@import url('https://fonts.googleapis.com/css?family=Poppins:900i');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 1s ease-in;
}

.login-container.visible {
  opacity: 1;
}

.login-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  padding: 35px 30px;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  color: #ecf0f1;
  margin: 0 auto;
}

.login-card h2 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #ecf0f1;
  font-size: 22px;
}

.auth-lead {
  color: #bdc3c7;
  font-size: 14px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #bdc3c7;
  font-weight: 500;
}

.input-with-icon {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #566573;
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: #2c3e50;
    position: relative;
}

.input-with-icon:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

.input-with-icon i:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    background-color: #104cac;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
    border-right: 1px solid #566573;
}

.input-with-icon .form-control {
    flex-grow: 1;
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: none;
    background-color: transparent;
    outline: none;
    box-shadow: none;
    color: #ecf0f1;
    font-size: 16px;
}

.input-with-icon .form-control::placeholder {
    color: #95a5a6;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bdc3c7;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
}
.toggle-password:hover {
    color: #ffffff;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 12px;
}

.remember-me input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 24px;
    background-color: #566573;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

.remember-me input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
}

.remember-me input[type="checkbox"]:checked {
    background-color: #104cac;
}

.remember-me input[type="checkbox"]:checked::before {
    transform: translateX(20px);
}

.remember-me label {
    color: #bdc3c7;
    font-size: 14px;
    cursor: pointer;
    width: auto;
    height: auto;
    background: none;
    text-indent: 0;
    position: static;
}

.remember-me label:after {
    display: none;
}

.form-options a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}
.form-options a:hover {
  color: #196cf1;
  text-decoration: underline;
}

.login-links {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
}

.login-links.spaced {
  margin-top: 25px;
}

.login-links a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-links a span {
  color: #ecf0f1;
}

.login-links a:hover {
  text-decoration: underline;
  color: #196cf1;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.blob-btn {
  z-index: 1;
  position: relative;
  padding: 20px 20px;
  text-align: center;
  text-transform: uppercase;
  color: #104cac;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  outline: none;
  border: none;
  transition: color 0.5s;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  width: 50%;
  max-width: 200px;
}
  
.blob-btn:before {
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
}
  
.blob-btn:after {
  content: "";
  z-index: -2;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 100%;
  height: 100%;
  transition: all 0.3s 0.2s;
  border-radius: 30px;
}
  
.blob-btn:hover {
  color: #FFFFFF;
  border-radius: 30px;
}
  
.blob-btn:hover:after {
  transition: all 0.3s;
  left: 0;
  top: 0;
  border-radius: 30px;
}
  
.blob-btn__inner {
  z-index: -1;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #ffffff;
}
  
.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url('#goo');
}
  
.blob-btn__blob {
  position: absolute;
  top: 2px;
  width: 25%;
  height: 100%;
  background: #104cac;
  border-radius: 100%;
  transform: translate3d(0, 150%, 0) scale(1.7);
  transition: transform 0.45s;
}
  
.blob-btn__blob:nth-child(1) {
  left: 0%;
  transition-delay: 0s;
}
  
.blob-btn__blob:nth-child(2) {
  left: 30%;
  transition-delay: 0.08s;
}
  
.blob-btn__blob:nth-child(3) {
  left: 60%;
  transition-delay: 0.16s;
}
  
.blob-btn__blob:nth-child(4) {
  left: 90%;
  transition-delay: 0.24s;
}
  
.blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.7);
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2c3e50;
  z-index: 9999;
  transition: opacity 0.8s ease-out;
}

.loader-container.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-gif {
  max-width: 200px;
  max-height: 200px;
  opacity: 1;
  transition: opacity 0.8s ease-out;
}
