/* ===================================
   RESET PASSWORD PAGE STYLES
   =================================== */

.reset-password-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
  position: relative;
  z-index: 10;
}

.reset-password-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 500px; /* Slightly wider */
  width: 100%;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.reset-password-header {
  margin-bottom: 30px;
}

.reset-banner-image {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.reset-password-header h2 {
  color: #8B4513;
  margin-bottom: 10px;
  font-size: 1.8em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reset-subtitle {
  color: #666;
  margin-bottom: 0;
  font-size: 1.1em;
}

.reset-password-form {
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 1.1em;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus {
  outline: none;
  border-color: #8B4513;
  background: white;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.reset-btn {
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.reset-btn.primary {
  background: linear-gradient(45deg, #8B4513, #A0522D);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.reset-btn.primary:hover {
  background: linear-gradient(45deg, #A0522D, #8B4513);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.4);
}

/* Wood Game Button Effect */
.wood-btn {
  display: inline-block !important;
  padding: 14px 26px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: #2c1810 !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer !important;
  border: none !important;
  border-radius: 8px !important;
  min-width: 180px !important;
  margin: 0.5rem !important;
  
  /* Wood texture effect */
  background: linear-gradient(
    135deg,
    #8B4513 0%,
    #A0522D 25%,
    #CD853F 50%,
    #D2691E 75%,
    #8B4513 100%
  ) !important;
  
  /* Wood grain pattern overlay */
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.1) 2px,
      rgba(0,0,0,0.1) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(0,0,0,0.05) 1px,
      rgba(0,0,0,0.05) 2px
    );
  
  /* 3D wood effect */
  box-shadow: 
    0 6px 0 #654321,
    0 8px 12px rgba(0, 0, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2) !important;
  
  transition: all 0.15s ease !important;
  transform: translateY(0) !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.wood-btn:hover {
  background: linear-gradient(
    135deg,
    #A0522D 0%,
    #CD853F 25%,
    #DEB887 50%,
    #F4A460 75%,
    #A0522D 100%
  ) !important;
  
  box-shadow: 
    0 4px 0 #654321,
    0 6px 8px rgba(0, 0, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2) !important;
  
  transform: translateY(2px) !important;
}

.wood-btn:active {
  background: linear-gradient(
    135deg,
    #8B4513 0%,
    #A0522D 25%,
    #CD853F 50%,
    #D2691E 75%,
    #8B4513 100%
  ) !important;
  
  box-shadow: 
    0 2px 0 #654321,
    0 4px 6px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(0, 0, 0, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
  
  transform: translateY(4px) !important;
}

.error-message {
  background: rgba(255, 235, 238, 0.9);
  color: #c62828;
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 15px;
  border-left: 4px solid #f44336;
  backdrop-filter: blur(5px);
}

.success-message {
  background: rgba(232, 245, 232, 0.9);
  color: #2e7d32;
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 15px;
  border-left: 4px solid #4caf50;
  backdrop-filter: blur(5px);
}

.hidden {
  display: none;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  .reset-password-card {
    padding: 30px 25px;
    max-width: 90%;
    margin: 1rem;
  }
  
  .reset-banner-image {
    max-width: 170px;
  }
  
  .reset-password-header h2 {
    font-size: 1.6em;
  }
  
  .reset-subtitle {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .reset-password-card {
    padding: 25px 20px;
    max-width: 95%;
  }
  
  .reset-banner-image {
    max-width: 150px;
  }
  
  .reset-password-header h2 {
    font-size: 1.5em;
  }
  
  .form-group input {
    padding: 12px 14px;
  }
  
  .reset-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}