@charset "ISO-8859-1";

* {
  box-sizing: border-box;
}

body {
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 14px;
  background-image: url("/assets/img/login_bg.jpg"); /* Replace with your actual image path */
  background-size: cover;                  
  background-position: center;            
  background-repeat: no-repeat;            
  min-height: 100vh;
  margin-left: 0;
  padding: 0;
}

/* Wrapper and face styles remain unchanged */
.wrapper {
  width: 250px;
  height: 350px;
  margin: 60px auto;
  perspective: 600px;
  text-align: left;
}

.rec-prism {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-100px);
  transition: transform 0.5s ease-in;
}

.face {
  position: absolute;
  width: 250px;
  height: 350px;
  padding: 20px;
  background: rgba(250, 250, 250, 0.96);
  border: 3px solid #FF4500;
  border-radius: 3px;
}
.face .content {
  color: #FF4500;
}
.face .content h2 {
  font-size: 1.2em;
  color: #FF4500;
}
.face .content .field-wrapper {
  margin-top: 30px;
  position: relative;
}
.face .content .field-wrapper label {
  position: absolute;
  pointer-events: none;
  font-size: 0.85em;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  transition: all ease-in 0.25s;
  color: #030000;
}
.face .content .field-wrapper input[type=text],
.face .content .field-wrapper input[type=password],
.face .content .field-wrapper input[type=submit],
.face .content .field-wrapper textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.face .content .field-wrapper input[type=text]:focus,
.face .content .field-wrapper input[type=password]:focus,
.face .content .field-wrapper input[type=submit]:focus,
.face .content .field-wrapper textarea:focus {
  outline: none;
}
.face .content .field-wrapper input[type=text],
.face .content .field-wrapper input[type=password],
.face .content .field-wrapper textarea {
  width: 100%;
  border: none;
  background: transparent;
  line-height: 2em;
  border-bottom: 1px solid #FF4500;
  color: #030000;
}
.face .content .field-wrapper input[type=text]::-webkit-input-placeholder,
.face .content .field-wrapper input[type=password]::-webkit-input-placeholder,
.face .content .field-wrapper textarea::-webkit-input-placeholder {
  opacity: 0;
}
.face .content .field-wrapper input[type=text]::-moz-placeholder,
.face .content .field-wrapper input[type=password]::-moz-placeholder,
.face .content .field-wrapper textarea::-moz-placeholder {
  opacity: 0;
}
.face .content .field-wrapper input[type=text]:-ms-input-placeholder,
.face .content .field-wrapper input[type=password]:-ms-input-placeholder,
.face .content .field-wrapper textarea:-ms-input-placeholder {
  opacity: 0;
}
.face .content .field-wrapper input[type=text]:-moz-placeholder-shown:not(:focus) + label,
.face .content .field-wrapper input[type=password]:-moz-placeholder-shown:not(:focus) + label,
.face .content .field-wrapper textarea:-moz-placeholder-shown:not(:focus) + label {
  top: 40%;
  color: #030000;
}
.face .content .field-wrapper input[type=text]:not(:placeholder-shown) + label,
.face .content .field-wrapper input[type=password]:not(:placeholder-shown) + label,
.face .content .field-wrapper textarea:not(:placeholder-shown) + label,
.face .content .field-wrapper input[type=text]:focus + label,
.face .content .field-wrapper input[type=password]:focus + label,
.face .content .field-wrapper textarea:focus + label {
  top: -35%;
  color: #FF4500;
}
.face .content .field-wrapper input[type=submit] {
  cursor: pointer;
  width: 100%;
  background: #FF4500;
  line-height: 2em;
  color: #fff;
  border: 1px solid #FF4500;
  border-radius: 3px;
  padding: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.face .content .field-wrapper input[type=submit]:hover {
  opacity: 0.9;
}
.face .content .field-wrapper input[type=submit]:active {
  transform: scale(0.96);
}
.face .content .field-wrapper textarea {
  resize: none;
  line-height: 1em;
}
.face .content .field-wrapper textarea:not(:placeholder-shown) + label,
.face .content .field-wrapper textarea:focus + label {
  top: -25%;
}

.face .thank-you-msg {
  position: absolute;
  width: 200px;
  height: 130px;
  text-align: center;
  font-size: 2em;
  color: #FF4500;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.face .thank-you-msg:after {
  position: absolute;
  content: "";
  width: 50px;
  height: 25px;
  border: 10px solid #FF4500;
  border-right: 0;
  border-top: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg) scale(0);
  animation: success ease-in 0.15s forwards;
  animation-delay: 2.5s;
}

.face-front {
  transform: rotateY(0deg) translateZ(125px);
}
.face-top {
  height: 250px;
  transform: rotateX(90deg) translateZ(125px);
}
.face-back {
  transform: rotateY(180deg) translateZ(125px);
}
.face-right {
  transform: rotateY(90deg) translateZ(125px);
}
.face-left {
  transform: rotateY(-90deg) translateZ(125px);
}
.face-bottom {
  height: 250px;
  transform: rotateX(-90deg) translateZ(225px);
}
.nav {
  margin: 20px auto;
  padding-top: 50px;
  display: flex;
  justify-content: space-evenly; /* Balanced spacing */
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100vw; /* Prevents overflow */
  overflow: hidden; /* No horizontal scroll */
  padding-left: clamp(5px, 2vw, 20px);
  padding-right: clamp(5px, 2vw, 20px);
}

.nav li {
  list-style: none;
  font-size: clamp(0.5rem, 1.2vw, 1rem); /* Shrink if needed */
  color: #080200;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 1; /* Shrinks to avoid overflow */
  text-align: center;
  padding: 0 clamp(4px, 1vw, 10px);
  position: relative;
}

.nav li:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  border-bottom: 1px solid #FF4500;
  transition: all ease-in 0.25s;
}

.nav li:hover:after {
  left: 0;
  width: 100%;
}

.nav li button {
  background-color: #FF4500;
  border: none;
  color: white;
  font-size: clamp(9px, 1vw, 13px);
  cursor: pointer;
  padding: clamp(3px, 0.5vw, 6px) clamp(8px, 1.5vw, 14px);
  border-radius: 5px;
  white-space: nowrap;
  width: 100%;
}

/* OTHER STYLES */
.psw, .signup, .singin {
  display: block;
  margin: 20px 0;
  font-size: 0.75em;
  text-align: center;
  color: #FF4500;
  cursor: pointer;
}

small {
  font-size: 0.7em;
}
