/* Veri Mobile — telas de login (somente visual) */
:root {
  --veri-primary: #2170ed;
  --veri-primary-dark: #1557c4;
  --veri-accent: #018cff;
  --veri-surface: #ffffff;
  --veri-text: #1a2332;
  --veri-text-muted: #5c6b7a;
  --veri-border: #e2e8f0;
  --veri-radius: 16px;
  --veri-radius-lg: 24px;
  --veri-shadow: 0 20px 50px rgba(15, 40, 90, 0.12);
  --veri-font: 'Poppins', 'Open Sans', system-ui, sans-serif;
}

.veri-login-page {
  --veri-app-blue: #3e97ff;
  --veri-app-blue-light: #6bb3ff;
  --veri-app-blue-dark: #1d72db;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: var(--veri-font);
  color: var(--veri-text);
  -webkit-font-smoothing: antialiased;
}

.veri-login-page .page-wrapper,
.veri-login-page .page-content {
  min-height: 100vh;
  min-height: 100dvh;
}

/* —— Página inicial (layout tela_de_login_veri) —— */
.veri-home {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background-color: #f1f5f9;
  margin: 0;
  padding: 0;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}

.veri-home .page-wrapper {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.veri-mobile-frame {
  width: 100%;
  max-width: 390px;
  height: 100%;
  max-height: 844px;
  background: linear-gradient(145deg, var(--veri-app-blue-light) 0%, var(--veri-app-blue) 45%, var(--veri-app-blue-dark) 100%);
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  box-shadow:
    0 25px 50px -12px rgba(62, 151, 255, 0.5),
    0 0 0 10px #ffffff,
    0 0 20px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

@media (max-width: 450px) {
  .veri-mobile-frame {
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    max-height: 100%;
  }
}

.veri-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.veri-ambient-glow--1 {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.4);
  top: -10%;
  left: -20%;
  animation: veri-float 8s infinite alternate ease-in-out;
}

.veri-ambient-glow--2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
  bottom: -10%;
  right: -20%;
  animation: veri-float 10s infinite alternate-reverse ease-in-out;
}

.veri-home-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem 2.5rem;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.veri-glass-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.veri-glass-panel__logo-wrap {
  width: min(280px, 82%);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.veri-glass-panel__logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
}

.veri-glass-panel__subtitle {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.veri-glass-panel__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.veri-glass-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  text-align: left;
  text-decoration: none;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.veri-glass-btn:hover,
.veri-glass-btn:focus {
  background: #fff;
  border-color: #fff;
  color: var(--veri-app-blue);
  transform: scale(0.98);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  outline: none;
}

.veri-glass-btn__icon-box {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.veri-glass-btn:hover .veri-glass-btn__icon-box,
.veri-glass-btn:focus .veri-glass-btn__icon-box {
  background: rgba(62, 151, 255, 0.12);
}

.veri-glass-btn__icon {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.veri-glass-btn:hover .veri-glass-btn__icon,
.veri-glass-btn:focus .veri-glass-btn__icon {
  color: var(--veri-app-blue);
}

.veri-glass-btn__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.veri-glass-btn__title {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.veri-glass-btn__desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.veri-glass-btn:hover .veri-glass-btn__desc,
.veri-glass-btn:focus .veri-glass-btn__desc {
  color: #71afff;
}

.veri-glass-btn__arrow {
  font-size: 1.25rem;
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.veri-glass-btn:hover .veri-glass-btn__arrow,
.veri-glass-btn:focus .veri-glass-btn__arrow {
  opacity: 1;
  color: var(--veri-app-blue);
}

.veri-home__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.veri-home__social li {
  margin: 0;
  padding: 0;
}

.veri-home__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.veri-home__social a:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.veri-home__social img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

@keyframes veri-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, 30px); }
}

@keyframes veri-fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.veri-animate-fade-in {
  animation: veri-fade-in-up 0.8s ease-out forwards;
}

/* —— Formulários de login (layout tela_contabilidade_veri) —— */
.veri-auth-form {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background-color: #e2e8f0;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}

.veri-auth-form .page-wrapper {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.veri-auth-form .veri-mobile-frame {
  background: linear-gradient(135deg, var(--veri-app-blue-dark) 0%, var(--veri-app-blue) 50%, var(--veri-app-blue-light) 100%);
}

@media (min-width: 450px) {
  .veri-auth-form .veri-mobile-frame {
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(62, 151, 255, 0.5), 0 0 0 10px #ffffff;
  }
}

.veri-auth-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.veri-auth-scroll::-webkit-scrollbar {
  display: none;
}

.veri-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 1.5rem 0;
}

.veri-auth-back-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.veri-auth-back-btn:hover {
  background: #fff;
  color: var(--veri-app-blue);
}

.veri-auth-module-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.veri-auth-module-badge--empresa i {
  color: #a7f3d0;
}

.veri-auth-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.5rem 2.5rem;
}

.veri-auth-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.veri-auth-heading h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.veri-auth-heading p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.veri-auth-form-panel {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
}

.veri-auth-field {
  margin: 0;
}

.veri-auth-label {
  display: block;
  margin: 0 0 0.35rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.veri-glass-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.veri-glass-input-wrap:focus-within {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.veri-glass-input-wrap > i.ph {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.veri-glass-input-wrap .veri-glass-input {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  color: #fff;
  font-size: 0.9375rem;
}

.veri-glass-input-wrap .veri-glass-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.veri-glass-input-wrap .veri-glass-input:focus {
  background: transparent !important;
  box-shadow: none !important;
}

.veri-glass-input-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  margin-right: -0.35rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.veri-glass-input-toggle:hover {
  color: #fff;
}

.veri-glass-input-toggle .icon {
  font-size: 1.125rem;
  color: inherit;
  background: transparent !important;
  border: none !important;
}

.veri-auth-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 1rem;
  border: none;
  border-radius: 16px;
  background: #fff !important;
  color: var(--veri-app-blue) !important;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.veri-auth-submit:hover {
  transform: scale(0.98);
  background: #f8fafc !important;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.veri-auth-submit i {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.veri-auth-submit:hover i {
  transform: translateX(3px);
}

.veri-auth-footer {
  display: block;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
