/* ============================================================
   BENETTY — Página Mobile para Vendedor
   celular.css
   ============================================================ */

:root {
  --bg:          #070e1e;
  --card-bg:     #0d1a2e;
  --border:      #162640;
  --border-glow: #1c3458;
  --cyan:        #00c8ff;
  --blue:        #2563eb;
  --blue-mid:    #1e40af;
  --white:       #eef4ff;
  --gray-1:      #8fa5bf;
  --gray-2:      #5a7799;
  --gray-3:      #374f6a;
  --error:       #f05454;
  --inp-bg:      #091422;
  --inp-border:  #172d4a;
  --radius-lg:   18px;
  --radius-md:   12px;
  --radius-sm:   8px;
  --transition:  0.2s ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--white);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  padding: 24px 16px 0;
}

a { text-decoration: none; }

/* ===== LAYOUT ===== */
.page-wrap {
  width: 100%;
  max-width: 440px;
  flex: 1;
}

/* ===== CARD ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px 22px 32px;
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.5), transparent);
}

/* ===== LOGO ===== */
.card-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ===== TÍTULO ===== */
.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* ===== CAMPOS ===== */
.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 6px;
}

.req {
  color: var(--cyan);
  font-weight: 800;
}

.opt {
  color: var(--gray-3);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.69rem;
}

.field-group input,
.field-group textarea {
  width: 100%;
  background: var(--inp-bg);
  border: 1px solid var(--inp-border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--gray-3);
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.1);
}

.field-group input.has-error,
.field-group textarea.has-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(240, 84, 84, 0.1);
}

.field-group textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.field-error {
  display: block;
  font-size: 0.72rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 16px;
  line-height: 1.4;
}


/* ===== BOTÃO ===== */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--blue-mid) 0%, #0ea5e9 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(0, 130, 220, 0.35);
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.btn-submit:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== FEEDBACK DE ENVIO ===== */
.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 14px;
}

.form-feedback--success {
  display: block;
  background: rgba(0, 180, 90, 0.1);
  border: 1px solid rgba(0, 180, 90, 0.3);
  color: #4ade80;
}

.form-feedback--error {
  display: block;
  background: rgba(240, 84, 84, 0.1);
  border: 1px solid rgba(240, 84, 84, 0.3);
  color: var(--error);
}

/* ===== RODAPÉ ===== */
.footer {
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 24px 16px 28px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.footer-name {
  font-size: 0.78rem;
  color: var(--gray-2);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-cnpj {
  font-size: 0.73rem;
  color: var(--gray-3);
  margin-bottom: 6px;
}

.footer-email {
  font-size: 0.73rem;
  color: var(--gray-2);
  transition: color var(--transition);
}

.footer-email:hover {
  color: var(--cyan);
}

