@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(181, 202, 238, 0.4) 0%, rgba(220, 230, 248, 0.4) 100%), url(../images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
}

.center {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* Original White Card Layout with Premium Shadows */
.container,
.container1 {
  background: #ffffff;
  width: 100%;
  padding: 40px 30px;
  box-shadow: 
    0 15px 35px rgba(30, 58, 138, 0.15), 
    0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transition: all 0.3s ease;
}

.container1 {
  max-width: 420px;
}

.container {
  max-width: 480px;
}

/* Close Button */
.container .close-btn,
.container1 .close-btn {
  position: absolute;
  right: 22px;
  top: 22px;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.container .close-btn:hover,
.container1 .close-btn:hover {
  color: #3498db; /* Original theme blue hover */
  transform: scale(1.1);
}

/* Page Header Text */
.container .text,
.container1 .text {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 35px;
  color: #0f172a;
}

/* Form Styles */
.container form,
.container1 form {
  margin-top: 0;
}

.container form .data,
.container1 form .data {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

form .data label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

form .data input {
  height: 48px;
  width: 100%;
  padding: 0 16px;
  font-size: 15px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  transition: all 0.3s ease;
}

form .data input:focus {
  border-color: #3498db; /* Original theme focus color */
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

/* Error validation messages */
form small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #ef4444;
  margin-top: -14px;
  margin-bottom: 18px;
}

/* Alert Message (Status) */
.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 500;
}

/* Original Gradient Button Polished */
form .button {
  margin-top: 25px;
  margin-bottom: 25px;
  height: 48px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(240, 146, 221, 0.4);
  transition: all 0.3s ease;
}

form .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 146, 221, 0.6);
}

form .button .inner {
  display: none; /* remove obsolete element styles */
}

form .button button {
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #F092DD 0%, #9E92F0 100%); /* Original Theme Gradient */
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

form .button button:active {
  transform: scale(0.98);
}

/* Bottom Links styling */
form .signin-link,
form .signup-link {
  text-align: center;
  font-weight: 500;
  color: #64748b;
  font-size: 14px;
}

form .signin-link a,
form .signup-link a {
  color: #3498db; /* Original theme link color */
  text-decoration: none;
  font-weight: 600;
  margin-left: 5px;
  transition: all 0.2s ease;
}

form .signin-link a:hover,
form .signup-link a:hover {
  color: #9f01ea; /* Original theme hover color */
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .container,
  .container1 {
    padding: 30px 20px;
  }
  
  .container .text,
  .container1 .text {
    font-size: 24px;
    margin-bottom: 25px;
  }
}