/* Auth Modal Styles */
.auth-nav-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.auth-nav-login {
  background: transparent !important;
  color: #f59e0b !important;
  border: 1px solid #f59e0b !important;
  padding: 0.5rem 1.25rem !important;
}

/* Modal Overlay */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

/* Modal Container */
.auth-modal-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.auth-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}

.auth-modal-close:hover {
  color: #475569;
}

/* Tab Switcher */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: #64748b;
  transition: color 0.2s, border-color 0.2s;
}

.auth-tab.active {
  border-bottom-color: #f59e0b;
  color: #f59e0b;
}

/* Form Fields */
.auth-field {
  margin-bottom: 1rem;
}

.auth-field-last {
  margin-bottom: 1.5rem;
}

.auth-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}

.auth-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

/* Error Message */
.auth-error {
  display: none;
  color: #ef4444;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(239,68,68,0.1);
  border-radius: 8px;
}

.auth-success {
  display: none;
  color: #16a34a;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(16,185,129,0.1);
  border-radius: 8px;
}

.auth-info {
  display: none;
  color: #f59e0b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(245,158,11,0.1);
  border-radius: 8px;
}
.auth-info a {
  color: #f59e0b;
  text-decoration: underline;
}

/* Submit Button */
.auth-submit {
  width: 100%;
  padding: 0.875rem;
  background: #f59e0b;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.auth-submit:hover {
  filter: brightness(1.1);
}

.auth-submit:active {
  transform: scale(0.98);
}

/* Dashboard user display */
.user-display {
  cursor: default;
  opacity: 0.8;
}

.user-display-name {
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Billing Toggle */
.billing-toggle {
  padding: 8px 20px;
  border: none;
  background: transparent;
  border-radius: 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  transition: all 0.2s;
}

.billing-toggle.active {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(245,158,11,0.15);
}

/* Password field with generate button */
.auth-password-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.auth-password-input-wrap {
  flex: 1;
  min-width: 0;
}

.auth-password-input-wrap .auth-input {
  width: 100%;
  height: 100%;
}

.auth-generate-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  background: #f59e0b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.auth-generate-btn:hover {
  filter: brightness(1.1);
}

.auth-generate-btn:active {
  transform: scale(0.95);
}

.auth-password-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.3;
}

.auth-password-hint strong {
  color: #ef4444;
}

/* Generated password visible */
.auth-password-visible {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding: 0.4rem 0.6rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 6px;
  font-size: 0.8rem;
}

.auth-password-visible code {
  font-family: monospace;
  font-weight: 600;
  color: #10b981;
  flex: 1;
  word-break: break-all;
}

.auth-password-copy {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 6px;
  border-radius: 4px;
  color: #64748b;
  transition: background 0.15s;
}

.auth-password-copy:hover {
  background: #e8ecf1;
}

/* ========================================
   UTILITY CLASSES (replacing inline styles)
   ======================================== */

/* Generic hidden state for JS toggling */
.initially-hidden {
  display: none;
}

/* Text helpers */
.text-center { text-align: center; }
.text-muted { color: #64748b; }
.text-muted-light { color: #94a3b8; }
.text-muted-lighter { color: #94a3b8; }
.text-muted-subtle { color: #94a3b8; }

/* Spacing helpers */
.mt-12 { margin-top: 12px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mr-6 { margin-right: 6px; }

/* ========================================
   PRICING SECTION
   ======================================== */
.billing-toggle-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.billing-toggle-pill {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 30px;
  padding: 4px;
}

.billing-discount-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 4px;
}

.pricing-feature-highlight .fas.fa-check {
  color: #16a34a;
}

.pricing-badge-empresas {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pricing-footnote {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  margin-top: 12px;
}

/* ========================================
   CHECKOUT MODAL
   ======================================== */
.checkout-header {
  text-align: center;
  margin-bottom: 20px;
}

.checkout-title {
  color: #f59e0b;
  margin: 0;
  font-size: 24px;
}

.checkout-plan-label {
  color: #94a3b8;
  margin-top: 5px;
}

.checkout-submit {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.checkout-footer {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  margin-top: 12px;
}

/* ========================================
   AUTH FORMS
   ======================================== */
.auth-link-accent {
  color: #f59e0b;
  font-size: 14px;
  text-decoration: none;
}

.auth-form-desc {
  color: #64748b;
  margin-bottom: 20px;
  font-size: 14px;
}

/* ========================================
   VERIFY MESSAGE
   ======================================== */
.verify-message-box {
  display: none;
  padding: 30px;
  text-align: center;
}

.verify-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.verify-title {
  margin-bottom: 10px;
}

.verify-text {
  color: #64748b;
}

.verify-login-btn {
  margin-top: 20px;
}
