:root {
  --primary: #2563eb;
  --primary-hover: #1e40af;
  --python-green: #3776AB;
  --python-yellow: #FFD43B;
  --warning: #f59e0b;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --card-bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(37, 99, 235, 0.12);
}

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  background: var(--bg-gradient);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.reset-container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 700px;
}

.left-panel {
  flex: 1;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: white;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.branding {
  margin-bottom: 60px;
}

.branding h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.python-green {
  color: var(--python-yellow);
  font-weight: 800;
}

.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 400;
}

.security-features {
  margin: 40px 0;
}

.security-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease;
}

.security-feature:hover {
  transform: translateX(5px);
}

.security-icon {
  font-size: 2rem;
  margin-right: 15px;
  min-width: 50px;
}

.security-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.security-text p {
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.security-tips {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--python-yellow);
}

.security-tips h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.security-tips ul {
  list-style: none;
  padding-left: 0;
}

.security-tips li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  opacity: 0.9;
  font-size: 0.95rem;
}

.security-tips li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--python-yellow);
  font-weight: bold;
  font-size: 1.2rem;
}

.right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.reset-card {
  width: 100%;
  max-width: 480px;
}

.reset-header {
  text-align: center;
  margin-bottom: 40px;
}

.reset-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--python-green);
  display: inline-block;
  background: rgba(55, 118, 171, 0.1);
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
}

.reset-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.reset-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.input-group {
  margin-bottom: 30px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  font-size: 1.2rem;
  color: var(--muted);
  z-index: 1;
}

.reset-card input[type="text"] {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.reset-card input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: left;
}

.reset-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--python-green) 0%, #2c5282 100%);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.reset-btn:hover {
  background: linear-gradient(135deg, #2c5282 0%, var(--python-green) 100%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.reset-btn:hover .arrow {
  transform: translateX(5px);
}

.email-note {
  display: flex;
  align-items: flex-start;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  padding: 15px;
  margin: 25px 0;
}

.note-icon {
  font-size: 1.5rem;
  margin-right: 12px;
  color: var(--warning);
}

.email-note p {
  color: #92400e;
  font-size: 0.9rem;
  line-height: 1.5;
}

.email-note strong {
  color: #b45309;
}

.alternative-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.back-btn {
  display: flex;
  align-items: center;
  color: var(--python-green);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 10px 15px;
  border-radius: var(--radius);
}

.back-btn:hover {
  background: rgba(55, 118, 171, 0.1);
  transform: translateX(-5px);
}

.back-arrow {
  margin-right: 8px;
  font-size: 1.2rem;
}

.register-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.register-link:hover {
  color: var(--python-green);
}

.register-link strong {
  color: var(--python-green);
  font-weight: 700;
}

.support-info {
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: var(--radius);
  margin-top: 30px;
}

.support-info p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.support-info a {
  color: var(--python-green);
  text-decoration: none;
  font-weight: 600;
}

.support-info a:hover {
  text-decoration: underline;
}

.response-time {
  color: var(--muted);
  font-size: 0.85rem;
}

.flash {
  padding: 15px 20px;
  border-radius: var(--radius);
  background: #e8f0fe;
  text-align: center;
  border: 2px solid #c7d2fe;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 500;
}

.flash.error {
  background: #fdecea;
  color: #dc2626;
  border-color: #fca5a5;
}

.flash.success {
  background: #d1fae5;
  color: #059669;
  border-color: #34d399;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .reset-container {
      flex-direction: column;
      max-width: 600px;
  }
  
  .left-panel {
      padding: 40px 30px;
  }
  
  .branding h1 {
      font-size: 2.8rem;
  }
  
  .security-feature {
      padding: 15px;
  }
  
  .right-panel {
      padding: 30px;
  }
}

@media (max-width: 768px) {
  .alternative-actions {
      flex-direction: column;
      gap: 20px;
      align-items: stretch;
  }
  
  .back-btn {
      justify-content: center;
  }
  
  .register-link {
      text-align: center;
  }
}

@media (max-width: 480px) {
  body {
      padding: 10px;
  }
  
  .reset-container {
      min-height: auto;
  }
  
  .left-panel {
      padding: 30px 20px;
  }
  
  .branding h1 {
      font-size: 2.2rem;
  }
  
  .security-feature {
      flex-direction: column;
      text-align: center;
  }
  
  .security-icon {
      margin-right: 0;
      margin-bottom: 10px;
  }
  
  .right-panel {
      padding: 25px 20px;
  }
  
  .reset-header h1 {
      font-size: 2rem;
  }
  
  .reset-icon {
      font-size: 3rem;
      width: 80px;
      height: 80px;
      line-height: 80px;
  }
}