@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Poppins:400,500&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
body{
  font-family: 'Poppins',sans-serif;
  background: #0b0b0b;
  color: #fff;
}
.zoom-png-logo{
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
}
.zoom-png-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
} 
.content{
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
  text-align: center;
  padding: 60px 32px;
  width: 370px;
  transform: translate(-50%,-50%);
  background: rgba(255,255,255,0.04);
  box-shadow: -1px 4px 28px 0px rgba(0,0,0,0.75);
}
.content header{
  color: #fff;
  font-size: 33px;
  font-weight: 600;
  margin: 0 0 35px 0;
  font-family: 'Montserrat',sans-serif;
} 
.field{
  position: relative;
  height: 45px;
  width: 100%;
  display: flex;
  background: rgba(255,255,255,0.94);
}
.field span{
  color: #222;
  width: 40px;
  line-height: 45px;
}
.field input{
  height: 100%;
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #222;
  font-size: 17px;
  font-family: 'Poppins',sans-serif;
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
} 
.space{
  margin-top: 16px;
}
.show{
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  color: #222;
  display: none;
  cursor: pointer;
  font-family: 'Montserrat',sans-serif;
  line-height: 1;
  z-index: 2;
}  
.pass-key:valid ~ .show,
.pass-key:not(:placeholder-shown) ~ .show{
  display: block;
} 
.pass{
  text-align: left;
  margin: 10px 0;
}
.pass a{
  color: white;
  text-decoration: none;
  font-family: 'Poppins',sans-serif;
}
.pass:hover a{
  text-decoration: underline;
}
.field input[type="submit"]{
  background: #3498db;
  border: 1px solid #2691d9;
  color: white;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat',sans-serif;
}
.field input[type="submit"]:hover{
  background: #2691d9;
}
.login{
  color: white;
  margin: 20px 0;
  font-family: 'Poppins',sans-serif;
}
.links{
  display: flex;
  cursor: pointer;
  color: white;
  margin: 0 0 20px 0;
}
.links a,
.links .facebook,
.links .microsoft{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  margin-right: 10px;
  font-family: 'Poppins',sans-serif;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
/* Make Facebook button more compact/fitted */
.links .facebook{
  padding: 6px 8px;
  gap: 6px;
}
/* Make Facebook and Microsoft labels bold */
.links .facebook i span,
.links .microsoft i span{
  font-weight: 700;
}
.facebook, .microsoft{
  height: 45px;
  line-height: 45px;
} 
.facebook{
  margin-left: 0;
  background: #4267B2;
  border: 1px solid #3e61a8;
}
.microsoft{
  background: #E1306C;
  border: 1px solid #df2060;
} 
.facebook:hover{
  background: #3e61a8;
}
.microsoft:hover{
  background: #df2060;
}
.links i{
  font-size: 17px;
}
i span{
  margin-left: 8px;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 16px;
  font-family: 'Poppins',sans-serif;
}
.signup{
  font-size: 15px;
  color: white;
  font-family: 'Poppins',sans-serif;
}
.signup a{
  color: #3498db;
  text-decoration: none;
}
.signup a:hover{
  text-decoration: underline;
}

/* reCAPTCHA notice */
.recaptcha-note{
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 18px;
  font-family: 'Poppins',sans-serif;
}
.recaptcha-note a{
  color: #9ecbf5;
  text-decoration: underline;
}

/* Error styles for password validation */
.field input.error{
  border: 1px solid #b00;
  box-shadow: 0 0 0 4px rgba(176,0,0,0.08);
}
.error-message{
  color: #b00;
  font-size: 13px;
  margin-top: 8px;
  display: none;
  text-align: left;
}
.error-message.show{
  display: block;
}

/* MFA Options */
.mfa-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mfa-btn {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.mfa-btn:hover {
  background: #2980b9;
}

.mfa-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}

#test-alert{ background:#3498db; color:#fff; border:none; padding:8px 12px; border-radius:4px; cursor:pointer; }
#test-alert:hover{ background:#2691d9; }
#test-status{ font-size:14px; margin-left:12px; }
#test-status.ok{ color:#6f6; }
#test-status.err{ color:#f66; }

/* Responsive Design */
@media (max-width: 480px) {
  .content {
    width: 90%;
    max-width: 350px;
    padding: 40px 20px;
  }
  .content header {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .field input {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  .links {
    flex-direction: column;
    gap: 10px;
  }
  .links a,
  .links .facebook,
  .links .microsoft {
    margin-right: 0;
    justify-content: center;
  }
  .recaptcha-note {
    font-size: 11px;
  }
  .protected-wrapper {
    padding: 20px;
  }
  .protected-wrapper h1 {
    font-size: 24px;
  }
}

@media (max-width: 320px) {
  .content {
    width: 95%;
    padding: 30px 15px;
  }
  .content header {
    font-size: 24px;
  }
  .field {
    height: 40px;
  }
  .field span {
    width: 35px;
    line-height: 40px;
  }
  .show {
    right: 10px;
    font-size: 12px;
  }
}

/* Image Slider Styles */
.slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
  flex-shrink: 0;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}
