body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #e0e0e0;
}

.video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

/*--------------------LOGIN FORM-------------------*/

.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;
  max-width: 420px;
  padding: 30px 25px;
  margin: 0;
  transform: translate(-50%, -50%);
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-height: 95vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Style the scroll bar */
.login-box::-webkit-scrollbar {
    width: 12px;
}

.login-box::-webkit-scrollbar-track {
    background: rgba(43, 43, 43, 0.8);
    border-radius: 10px;
}

.login-box::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 10px;
    border: 3px solid rgba(0, 0, 0, 0.9);
}

.login-box p:first-child {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.25rem; /* Slightly smaller font size */    
    font-weight: bold;
    letter-spacing: 1px;
}

.login-box .user-box {
    position: relative;
    margin-bottom: 20px;
}

.login-box .user-box input,
.login-box .user-box select {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 25px;
    border: none;
    border-bottom: 2px solid #404040;
    outline: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
}

.login-box .user-box select option {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 8px;
}

.login-box .user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
}

.login-box .user-box input:focus,
.login-box .user-box select:focus {
    border-bottom-color: #4285f4;
    color: #fff;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label,
.login-box .user-box select:focus ~ label,
.login-box .user-box select:valid ~ label {
    top: -22px;
    left: 0;
    color: #4285f4;
    font-size: 12px;
    font-weight: 500;
}

.login-box .user-box label.gender-label {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
}

.login-box form a {
    position: relative;
    display: inline-block;
    padding: 10px 15px; /* Adjust padding for better alignment */    
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 20px; /* Reduced top margin for compact design */    
    letter-spacing: 2px; /* Adjusted for mobile */
  }

.login-box a span {
    position: absolute;
    display: block;
}

.login-box p:last-child {
    color: #aaa;
    font-size: 14px;
}

.login-box a.a2 {
    color: #fff;
    text-decoration: none;
}

.login-box a.a2:hover {
    background: transparent;
    color: #aaa;
    border-radius: 5px;
}

.login-box .terms-container {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 0;
}

.login-box .terms-container p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #ccc;
}

.login-box .form-container {
    padding-bottom: 20px;
}

.login-box .gender-container {
    margin-bottom: 20px;
    color: #fff;
}

.login-box .gender-container label {
    display: block;
    margin-bottom: 10px;
}

.login-box .gender-container input {
    margin-right: 5px;
}

/* Enhanced mobile responsiveness */
@media (max-width: 480px) {
  .login-box {
      width: 98%;
      padding: 20px 15px;
      max-height: 98vh;
      border-radius: 12px;
  }
  
  .login-box p:first-child {
      font-size: 1.1rem;
      margin-bottom: 20px;
  }
  
  .login-box .user-box {
      margin-bottom: 15px;
  }
  
  .login-box .user-box input,
  .login-box .user-box select {
      font-size: 16px; /* Prevents zoom on iOS */
      margin-bottom: 20px;
  }
  
  .button {
      width: 100%;
      max-width: none;
      padding: 12px 20px;
      font-size: 14px;
  }
  
  #password-tip {
      padding: 15px;
      margin-top: 15px;
  }
  
  #password-tip .requirement {
      font-size: 13px;
      padding-left: 1rem;
  }
}

@media (max-width: 320px) {
  .login-box {
      padding: 15px 10px;
  }
}

/* Style for the input container */

.user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background: transparent;
  transition: border-color 0.3s;
}

.user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #666;
  pointer-events: none;
  transition: 0.3s ease-in-out;
}

.user-box input:focus {
  border-bottom-color: #ffffff;
}

.user-box input:focus + label,
.user-box input:not(:placeholder-shown) + label {
  transform: translateY(-20px);
}

.user-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #007bff;
  transition: width 0.3s;
}

.user-box input:focus ~ .user-box::after {
  width: 100%;
}

/* PASSWORD TIP */
#password-tip {
  background: rgba(0, 0, 0, 0.445);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
  color: #b3b3b3;
}

#password-tip p.title {
  font-size: 1.25rem;
  font-weight: lighter;
  color: #868686;
  text-align: center;
  margin-bottom: 1rem;
}

#password-tip .requirement {
  padding-left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #666; /* Default unmet requirement color */
  margin: 0.5em 0;
  position: relative;
  transition: color 0.3s ease-in-out;
}

.requirement::before {
  content: "○ "; /* Circle bullet for unmet requirements */
  margin-right: 0.5em;
  color: #bbb;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.requirement.met {
  color: #4caf50; /* Green for met requirements */
}

.requirement.met::before {
  content: "✓ "; /* Checkmark for met requirements */
  color: #4caf50;
  font-size: 1.2rem;
  animation: fadeIn 0.3s forwards;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* or SEPARATOR */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
  margin: 0 8px;
}

.separator span {
  font-size: 14px;
  color: #7e7e7e;
}

/* Center Container */
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Google Button */
.button {
  width: 100%;
  max-width: 320px;
  display: flex;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  gap: 12px;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.button svg {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}

.button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* agreement text */
.agreement-text {
  font-size: 12px;
  color: #999;
  margin-top: 15px;
  text-align: center;
  line-height: 1.4;
}

.agreement-text a {
  color: #4285f4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.agreement-text a:hover {
  color: #5a95f5;
  text-decoration: underline;
}

.center-container {
  text-align: center;
  margin-top: 20px; /* Space between the Google button and text */
}

/*PROFILE PIC UPLOAD STYLE*/


/* CUSTOM ALERTS */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 20px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 300px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .alert.success {
    background-color: #4caf50;
  }
  
  .alert.error {
    background-color: #f44336;
  }
  
  .alert.warning {
    background-color: #ff9800;
  }
  
  .alert.info {
    background-color: #2196f3;
  }
  
  .alert.hidden {
    display: none;
  }
  
  #alert-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
  }
  
/*--------------------LOGIN BUTTON-------------------*/

.center {
  width: 150px;
  height: 50px;
  position: relative;
}

.btn {
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  position: relative;
  z-index: 1;
}

.svg {
  position: absolute;
  left: 0;
  top: 0;
  fill: none;
}

.bg-line {
  stroke: #ffffff5b;
  stroke-width: 1;
}

.hl-line {
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 398;
  stroke-dashoffset: 398;
  animation: draw-line 2s linear infinite;
}

.btn span {
  color: white;
  font-size: 17px;
  font-weight: 100;
  position: relative;
  z-index: 2;
}

@keyframes draw-line {
  0% {
      stroke-dashoffset: 398;
  }
  100% {
      stroke-dashoffset: 0;
  }
}
  
  
/*--------------------GENDER CONTAINER-------------------*/

.radio-container {
    margin: 0 auto;
    max-width: 300px;
    color: white;
  }
  
  .radio-wrapper {
    margin-bottom: 20px;
  }
  
  .radio-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  
  .radio-button:hover {
    transform: translateY(-2px);
  }
  
  .radio-button input[type="radio"] {
    display: none;
  }
  
  .radio-checkmark {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
  }
  
  .radio-checkmark:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
  }
  
  .radio-button input[type="radio"]:checked ~ .radio-checkmark:before {
    transform: translate(-50%, -50%) scale(1);
  }
  
  .radio-label {
    font-size: 16px;
    font-weight: 600;
  }  

/*--------------------CHECKBOX-------------------*/

.container {
    display: flex;
    align-items: center;
    cursor: pointer;
    min-height: 20px;
    flex-shrink: 0;
}

.container input {
    display: none;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #4285f4;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: transparent;
}

.checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.container input:checked ~ .checkbox {
    background: #4285f4;
    border-color: #4285f4;
}

.container input:checked ~ .checkbox::after {
    transform: rotate(45deg) scale(1);
}

.container:hover .checkbox {
    border-color: #5a95f5;
}

.container:hover input:checked ~ .checkbox {
    background: #5a95f5;
    border-color: #5a95f5;
}

.a2 {
    color: #4285f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.a2:hover {
    color: #5a95f5;
    text-decoration: underline;
}
  
/*--------------------BACKGROUND-------------------*/

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

/*--------------------FIGCAPITON-------------------*/

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.image-caption {
    margin-top: auto;
    text-align: center;
    padding: 1em;
    background-color: #f3f3f300; /* Optional: background color for emphasis */
    font-size: 0.9em; /* Adjust font size as needed */
    color: #333; /* Adjust text color as needed */
}

a {
    color: #ffffff; /* Link color */
    text-decoration: none; /* Remove underline */
}

a:hover {
  text-decoration: none;
}
