/* CSS Document */
* {
  box-sizing: border-box;
}

.login-container {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background-color: #121212;
  max-width: 650px;
  width: 100%;
  padding: 0.5rem 2rem 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  text-align: center;
  color: #fff;
  position: relative;
}

.logo {
  width: 250px;
  height: 175px;
  margin: 0 auto 7px;
  background-image: url("../images/CSC Lotus Logo HD.png"); /* Replace with actual logo path */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-input, select {
  width: 100%;
  padding: 1rem 0.75rem; 
  background: #333;
  color: #fff;
  border: 2px solid #444;
  border-radius: 8px;
  text-align: left;
  font-size: 18px;	
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-input::placeholder, select {
  color: #aaa; 
  font-family:calligraphy;	
}

.login-input:focus, select:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 8px #ffd700;
}

.invalid {
  border-color: #ffd700 !important;
  box-shadow: 0 0 8px #ffd700 !important;
}

.checkbox-row {
  display: flex;
  justify-content: space-between;
  align-items: center;  
  width: 100%;
}

.checkbox-label {
  flex: 1;
  text-align: left;
  margin-left: 5px;	
  font-size: 18px;
}
.yinyang-checkbox {	
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #6F6F6F;
  cursor: pointer;
  transition: background-image 0.3s;
  margin: 0 10px 0 auto; 
  flex-shrink: 0; /* Prevent shrinking */
}

.yinyang-checkbox:checked {
  background: url("../svg/yin-yang-no-outline.svg") center/cover no-repeat;
  border-color: #F50000;
}

.toggle-password {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ccc;
}

.password-wrapper {
  position: relative;
}

.login-submit{
  font-size: 25px;
  padding: 0 0 5px;
}

.login-form-title {
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  font-size: clamp(1.4rem, 7.5vw, 3.5rem); /* scales from small to large */
  margin: 0 auto;
  padding: 18px 0 0 0;	
}

/*Password Validation*/
/* The message box is shown when the user clicks on the password field */
#message {
  display:none;
  background: #FDCC20;
  color: #000;
  position: relative;
  padding: 10px;
  margin-top: 5px;
}

#message p {
  text-align: left;	
  padding: 0px 0px 0px 30px;
  font-size:clamp(0.9rem,3vw,2rem);
  border-color: #FDCC20 !important; 
  box-shadow: 0 0 8px #FDCC20 !important;	
}

#message h5 {
	font-size:clamp(1rem,4vw,2.3rem);
}
/* Add a green text color and a checkmark when the requirements are right */
.valid {
  color: green;
}

.valid:before {
  position: relative;
  left: -15px;
  content: url("../images/png/checkmark small.png");
}

/* Add a red text color and an "x" icon when the requirements are wrong */
.invalid {
  color: red;
}

.invalid:before {
  position: relative;
  left: -15px;
  content: url("../images/png/Xclose.png");
}

.success {
	color: green;
   font-weight: bold;
}

.error {
	color: red;
	font-weight: bold;
}
.toggle-password img {
	color: white;
}