/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.navbar {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.logo-image {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: #dc2626;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #cccccc;
  margin-top: -2px;
}

.btn-signin {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-signin:hover {
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: calc(100vh - 200px);
}

.forgot-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.forgot-card {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.forgot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #991b1b);
}

.forgot-header {
  text-align: center;
  margin-bottom: 2rem;
}

.forgot-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.forgot-header p {
  color: #cccccc;
  font-size: 0.9rem;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-icon {
  text-align: center;
  margin-bottom: 1rem;
}

.step-icon i {
  font-size: 3rem;
  color: #dc2626;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-step h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.step-description {
  text-align: center;
  color: #cccccc;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #ffffff;
  font-size: 0.9rem;
}

input {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input::placeholder {
  color: #888888;
}

input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
  background: rgba(0, 0, 0, 0.7);
}

/* Password Wrapper */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #dc2626;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #ffffff;
}

/* Password Requirements */
.password-requirements {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.password-requirements small {
  color: #888888;
  font-size: 0.8rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #cccccc;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #dc2626;
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.progress-step.active {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  border: 2px solid rgba(220, 38, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #cccccc;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-color: #dc2626;
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.progress-step span {
  font-size: 0.8rem;
  color: #888888;
  font-weight: 500;
}

.progress-step.active span {
  color: #dc2626;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-content.success .modal-icon i {
  color: #10b981;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-content.error .modal-icon i {
  color: #dc2626;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-message {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-btn {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.footer-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: #dc2626;
}

.footer-description {
  color: #cccccc;
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #dc2626;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #dc2626;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.contact-info p {
  color: #cccccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info i {
  color: #dc2626;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #888888;
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-container {
    padding: 1rem;
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
  
  .brand-subtitle {
    font-size: 0.6rem;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  .forgot-card {
    padding: 1.5rem;
  }
  
  .forgot-header h1 {
    font-size: 1.5rem;
  }
  
  .footer-container {
    padding: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .progress-indicator {
    gap: 0.5rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
  }
}
