:root {
  --primary: #0597F2;
  --primary-dark: #023373;
  --dark: #212121;
  --light: #f5f5f5;
  --gray: #757575;
  --white: #ffffff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --success: #2ecc71;
  --error: #ff6b6b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  overflow: hidden; 
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.video-background video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.auth-container {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  text-align: center;
  z-index: 1;
}

.logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.logo-img {
  height: 40px;
}

.auth-container h2 {
  margin-bottom: 25px;
  color: var(--dark);
  font-size: 1.8rem;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.input-group i:not(.toggle-password) {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.input-group input {
  width: 100%;
  padding: 12px 45px 12px 45px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray);
  transition: color 0.3s;
  z-index: 10;
}

.toggle-password:hover {
  color: var(--primary);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 151, 242, 0.2);
}

.password-policies {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  text-align: left;
  border-left: 4px solid #ddd;
}

.policy-item {
  display: block;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.policy-item.invalid { color: var(--error); }
.policy-item.valid { color: var(--success); }

.policy-item i {
  margin-right: 8px;
  width: 15px;
}

.forgot-password {
  display: block;
  text-align: right;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
}

.btn {
  display: inline-block;
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn:hover:not(:disabled) {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.swal2-popup {
  font-family: 'Poppins', sans-serif !important;
  border-radius: 10px !important;
  font-size: 0.8rem !important; 
}

.swal2-title {
  font-size: 1.2rem !important;
}

.swal2-icon {
  transform: scale(0.7); 
  margin-top: 10px !important;
}

.toggle-link {
  margin-top: 25px;
  font-size: 0.95rem;
  color: var(--gray);
}

.toggle-link a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.reset-info {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 25px;
  line-height: 1.6;
}