/* Generated by npm run build:css from css/style.css. */
/* ==========================================================================
   PICDROP DESIGN SYSTEM & STYLESHEET
   ==========================================================================
   ÍNDICE DE SEÇÕES:
   1. TOKENS DE DESIGN & VARIÁVEIS DE TEMA (CLARO / ESCURO)
   2. RESET, BASE & TIPOGRAFIA GLOBAL
   3. COMPONENTES E BOTÕES GLOBAIS (.nav-btn, .pd-btn, .theme-toggle-btn)
   4. LANDING PAGE & EDITORIAL (Hero, Pillars, Why, Categories, Pricing, FAQ)
   5. AUTENTICAÇÃO (LOGIN & CADASTRO - SPLIT LAYOUT)
   6. DASHBOARD MAIN & NAVEGAÇÃO LATERAL (Sidebar, Header, Topbar)
   7. SEÇÕES DO DASHBOARD (Início, Minha Conta, Meu Plano, Indique um Amigo)
   8. MEU PERFIL (Cards, Avatar Integrado, Grids & Redes Sociais Dinâmicas)
   9. GALERIAS & EDITOR DE FOTOS (Grid de Fotos, Modais & Uploader)
   10. MEDIA QUERIES RESPONSIVAS & RECTIFICAÇÕES MOBILE
   ========================================================================== */

/* ==========================================================================
   1. TOKENS DE DESIGN & VARIÁVEIS DE TEMA (CLARO / ESCURO)
   ========================================================================== */

/* Importar fontes premium do Google Fonts */


:root {
  /* Variáveis de Fundo e Texto (Tema Claro Padrão) */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f5;
  --cor-principal: #181512;
  --cor-destaque: #2b2621;
  --text-main: #181512;
  --text-muted: #64748b;
  --border-color: rgba(0, 0, 0, 0.09);
  --nav-bg: rgba(248, 249, 250, 0.95);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-blur: 12px;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.08);

  --text-primary: #475569;
  --input-bg: #ffffff;
  --input-border: rgba(0, 0, 0, 0.12);
  --border-radius: 6px;
  --focus-color: #181512;

  /* Namespace --pd Tokens (Tema Claro) */
  --pd-bg-main: #f8f9fa;
  --pd-bg-card: #ffffff;
  --pd-bg-card-hover: #f1f3f5;
  --pd-bg-secondary: #e2e8f0;
  --pd-bg-highlight: #ffffff;
  --pd-text-primary: #181512;
  --pd-text-secondary: #475569;
  --pd-text-muted: #64748b;
  --pd-text-dark: #ffffff;
  --pd-border: rgba(0, 0, 0, 0.09);
  --pd-border-subtle: rgba(0, 0, 0, 0.05);
  --pd-accent-btn: #181512;
  --pd-accent-btn-text: #f8f9fa;

  --pd-radius-sm: 8px;
  --pd-radius-md: 16px;
  --pd-radius-lg: 24px;
  --pd-radius-xl: 32px;
  --pd-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


body:not(.theme-dark) {
  --pd-bg-main: #f8f9fa;
  --pd-bg-card: #ffffff;
  --pd-bg-card-hover: #f1f3f5;
  --pd-bg-secondary: #e2e8f0;
  --pd-bg-highlight: #ffffff;

  --pd-text-primary: #181512;
  --pd-text-secondary: #475569;
  --pd-text-muted: #64748b;
  --pd-text-dark: #ffffff;

  --pd-border: rgba(0, 0, 0, 0.09);
  --pd-border-subtle: rgba(0, 0, 0, 0.05);

  --pd-accent-btn: #181512;
  --pd-accent-btn-text: #ffffff;
}


/* Overrides do Tema Escuro (theme-dark) */
body.theme-dark {
  --bg-primary: #141414;
  --bg-secondary: #1e1e1e;
  --bg-tertiary: #262626;
  --cor-principal: #f0f0f0;
  --cor-destaque: #ffffff;
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --border-color: rgba(240, 240, 240, 0.12);
  --nav-bg: rgba(20, 20, 20, 0.95);

  --glass-bg: rgba(30, 30, 30, 0.7);
  --glass-border: rgba(240, 240, 240, 0.05);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.7);

  --input-bg: #1e1e1e;
  --input-border: rgba(240, 240, 240, 0.2);

  --pd-bg-main: #141414;
  --pd-bg-card: #1e1e1e;
  --pd-bg-card-hover: #262626;
  --pd-bg-secondary: #181818;
  --pd-bg-highlight: #262626;
  --pd-text-primary: #f0f0f0;
  --pd-text-secondary: #a0a0a0;
  --pd-text-muted: #707070;
  --pd-text-dark: #141414;
  --pd-border: rgba(240, 240, 240, 0.12);
  --pd-border-subtle: rgba(240, 240, 240, 0.06);
  --pd-accent-btn: #f0f0f0;
  --pd-accent-btn-text: #121212;
}


/* ==========================================================================
   2. RESET, BASE & TIPOGRAFIA GLOBAL
   ========================================================================== */

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


html {
  scroll-behavior: smooth;
}


body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 8px;
}


::-webkit-scrollbar-track {
  background: var(--bg-primary);
}


::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius);
}


::-webkit-scrollbar-thumb:hover {
  background: var(--cor-principal);
}


a {
  color: inherit;
  text-decoration: none;
}


/* ==========================================================================
   3. COMPONENTES E BOTÕES GLOBAIS
   ========================================================================== */

.brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
  text-transform: lowercase;
  text-decoration: none;
  display: flex;
  align-items: center;
}


.brand img,
.mobile-brand img {
  height: 32px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}


body.theme-dark .brand img,
body.theme-dark .mobile-brand img {
  filter: invert(1);
}


.brand span {
  color: inherit;
  font-weight: 800;
}


/* Note: Botões padronizados estão definidos na Seção de Componentes e Botões Globais */

/* Theme Toggle Button */

/* Form Inputs Comuns Globais */

label {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}


input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.85rem;
  color: var(--text-main);
  background-color: var(--input-bg);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);

  /* Remove estilos nativos que quebram a consistência */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


input[type="text"],
input[type="datetime-local"],
input[type="date"],
input[type="time"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.85rem;
  color: var(--text-main);
  background-color: var(--bg-secondary);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
}


/* Remover setas/spinners de campos numéricos */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
}


input[type="number"] {
  -webkit-appearance: textfield !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}


select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}


input[type="text"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--text-main);
  outline: none;
}


::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}


section,
header,
div[id],
.pd-section,
.pd-parallax-section {
  scroll-margin-top: 80px;
}


/* Seção Hero */

body.theme-dark .hero-section {
  background: var(--bg-primary);
}


body.theme-dark .hero-tag {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
}


/* Seção Recursos (Features) */

body.theme-dark .feature-icon {
  background-color: var(--bg-tertiary);
}


/* Card Criar Nova Galeria & Modais */

body.theme-dark .create-gallery-card {
  border-color: rgba(197, 168, 128, 0.3);
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100000;
  display: none;
  justify-content: center;
  align-items: center;
}


body.theme-dark .modal-overlay {
  background-color: rgba(0, 0, 0, 0.75);
}


.modal-overlay.active {
  display: flex;
}


@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


body.theme-dark .download-all-btn,
body.theme-dark .download-all-photos-btn {
  color: #ffffff;
  background-color: var(--bg-tertiary);
  border: 1px solid #fff;
}


@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Botão de Download Individual no Canto Superior Direito */

/* Checkbox de Seleção no Canto Superior Esquerdo */

/* Modal / Bloqueio por PIN */

/* Lightbox Modal do Cliente */

/* Barra Flutuante de Seleção do Cliente */

/* Esconder Bottom Nav e Overlay por padrão no Desktop */

/* HUB DE GALERIAS (DESKTOP & MOBILE) */

body.theme-dark .hub-card,
body.theme-dark .mobile-hub-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   1. MENU DA INDEX E MENU DA DASHBOARD
   ========================================================================== */
.global-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
}


.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}


.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}


.nav-link:hover {
  color: var(--cor-principal);
}


/* ==========================================================================
   PADRONIZAÇÃO GLOBAL DE BOTÕES DA DASHBOARD
   - Tema Claro: Botão Preto (#181512), Texto Branco (#ffffff), Hover (#332d27)
   - Tema Escuro: Botão Branco (#ffffff), Texto Preto (#121212), Hover (#e2e8f0)
   - Botões de Excluir/Apagar: Vermelho (#ef4444), Hover (#dc2626)
   ========================================================================== */

.nav-btn:not(.btn-danger),
.nav-btn-secondary,
.pd-btn,
.pd-btn-primary,
.pd-btn-outline,
.btn-save-settings,
.gallery-create-btn,
.btn-secondary,
.btn-primary,
.btn-action {
  background-color: #181512 !important;
  color: #ffffff !important;
  border: 1px solid #181512 !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: var(--border-radius, 8px);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}


.nav-btn:not(.btn-danger) *,
.nav-btn-secondary *,
.pd-btn *,
.pd-btn-primary *,
.pd-btn-outline *,
.btn-save-settings *,
.gallery-create-btn *,
.btn-secondary *,
.btn-primary *,
.btn-action * {
  color: inherit !important;
}


.nav-btn:not(.btn-danger):hover,
.nav-btn-secondary:hover,
.pd-btn:hover,
.pd-btn-primary:hover,
.pd-btn-outline:hover,
.btn-save-settings:hover,
.gallery-create-btn:hover,
.btn-secondary:hover,
.btn-primary:hover,
.btn-action:hover {
  background-color: #332d27 !important;
  color: #ffffff !important;
  border-color: #332d27 !important;
}


/* TEMA ESCURO (theme-dark) */
body.theme-dark .nav-btn:not(.btn-danger),
body.theme-dark .nav-btn-secondary,
body.theme-dark .pd-btn,
body.theme-dark .pd-btn-primary,
body.theme-dark .pd-btn-outline,
body.theme-dark .btn-save-settings,
body.theme-dark .gallery-create-btn,
body.theme-dark .btn-secondary,
body.theme-dark .btn-primary,
body.theme-dark .btn-action {
  background-color: #ffffff !important;
  color: #121212 !important;
  border: 1px solid #ffffff !important;
}


body.theme-dark .nav-btn:not(.btn-danger):hover,
body.theme-dark .nav-btn-secondary:hover,
body.theme-dark .pd-btn:hover,
body.theme-dark .pd-btn-primary:hover,
body.theme-dark .pd-btn-outline:hover,
body.theme-dark .btn-save-settings:hover,
body.theme-dark .gallery-create-btn:hover,
body.theme-dark .btn-secondary:hover,
body.theme-dark .btn-primary:hover,
body.theme-dark .btn-action:hover {
  background-color: #e2e8f0 !important;
  color: #121212 !important;
  border-color: #e2e8f0 !important;
}


/* EXCEÇÃO: BOTÕES DE EXCLUIR / APAGAR (VERMELHO EM AMBOS OS TEMAS) */
.btn-danger,
.btn-delete,
.btn-delete-selected,
.btn-cancel-sub,
.btn-remove-social,
.nav-btn.btn-danger,
.nav-btn.btn-remove-social,
body.theme-dark .btn-danger,
body.theme-dark .btn-delete,
body.theme-dark .btn-delete-selected,
body.theme-dark .btn-cancel-sub,
body.theme-dark .btn-remove-social,
body.theme-dark .nav-btn.btn-danger,
body.theme-dark .nav-btn.btn-remove-social {
  transition: all 0.2s ease !important;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: var(--border-radius, 8px);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background-color: #ef4444 !important;
  color: #ffffff !important;
  border: 1px solid #ef4444 !important;
}


.btn-danger:hover,
.btn-delete:hover,
.btn-delete-selected:hover,
.btn-cancel-sub:hover,
.btn-remove-social:hover,
.nav-btn.btn-danger:hover,
.nav-btn.btn-remove-social:hover,
body.theme-dark .btn-danger:hover,
body.theme-dark .btn-delete:hover,
body.theme-dark .btn-delete-selected:hover,
body.theme-dark .btn-cancel-sub:hover,
body.theme-dark .btn-remove-social:hover,
body.theme-dark .nav-btn.btn-danger:hover,
body.theme-dark .nav-btn.btn-remove-social:hover {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
}


.db-toggle {
  display: none;
}


.selection-tabs-header .nav-btn {
  transition: none !important;
}


.mobile-bottom-nav,
.mobile-menu-overlay,
#sec-galleries-hub,
#sec-mobile-galleries {
  display: none;
}


/* ==========================================================================
   2. PÁGINA INDEX (LANDING PAGE)
   ========================================================================== */
.hero-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(85, 148, 193, 0.06) 0%, rgba(248, 249, 250, 0) 70%);
  transition: background 0.3s ease;
}


.hero-content {
  max-width: 800px;
  z-index: 5;
}


.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: rgba(88, 166, 160, 0.08);
  color: var(--cor-principal);
  padding: 6px 16px;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(88, 166, 149, 0.15);
}


.hero-section h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}


.hero-section p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}


.hero-actions a {
  border-radius: 30px;
}


.section-wrapper {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}


.section-header {
  text-align: center;
  margin-bottom: 4rem;
}


.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1rem;
}


.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}


.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}


.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(85, 148, 193, 0.3);
  box-shadow: var(--shadow-lg);
}


.feature-icon {
  background-color: rgba(85, 148, 193, 0.08);
  color: var(--cor-principal);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}


.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}


.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}


.pricing-grid,
.pd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}


.plan-name,
.pd-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--pd-text-primary);
  letter-spacing: 0.04em;
}


.plan-price,
.pd-plan-price {
  font-family: var(--font-sans) !important;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--pd-text-primary);
}


.plan-price span,
.pd-plan-price span {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--pd-text-secondary);
}


.plan-features,
.pd-plan-features {
  list-style: none !important;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 !important;
}


.plan-features li,
.pd-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--pd-text-secondary);
  list-style: none !important;
}


.plan-features li::before,
.pd-plan-features li::before {
  content: none !important;
}


.plan-features li.check,
.pd-plan-features li.check {
  color: var(--pd-text-primary);
}


.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
}


.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}


.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--cor-principal);
  transition: var(--transition-smooth);
}


.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}


.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}


footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 3rem 5% 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: background-color 0.3s ease;
}


.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}


@keyframes heroBgFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes heroContentSlideUp {
  0% {
    opacity: 0;
    transform: translateY(var(--cover-animation-distance));
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes heroCreditSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, var(--cover-animation-distance));
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


.hero-scroll-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 13px 36px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: var(--border-radius);
  backdrop-filter: blur(2px);
}


.hero-scroll-btn:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
}


/* ==========================================================================
   3. LOGIN
   ========================================================================== */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 1.5rem;
}


.login-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  border-radius: var(--border-radius);
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}


.login-card h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  text-align: center;
}


.login-card p.subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  text-align: center;
}


.login-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.login-card input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}


.login-card .footer-link {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}


.create-gallery-card {
  border: 2px dashed rgba(85, 148, 193, 0.3);
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  height: 320px;
  transition: var(--transition-smooth);
}


.create-gallery-card:hover {
  border-color: var(--cor-principal);
  background-color: rgba(85, 148, 193, 0.02);
}


.create-gallery-card svg {
  color: var(--cor-principal);
  margin-bottom: 1rem;
}


.create-gallery-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}


.create-gallery-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}


#sec-galleries-hub.active,
#sec-mobile-galleries.active {
  display: block !important;
}


.galleries-hub,
.mobile-galleries-hub {
  max-width: 650px;
  padding: 0.5rem 0;
}


.mobile-galleries-hub {
  margin: 0 auto;
}


.hub-subtitle,
.mobile-hub-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}


.hub-grid,
.mobile-hub-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.hub-card,
.mobile-hub-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-secondary, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 16px);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}


body.theme-dark .hub-card,
.mobile-hub-card {
  background-color: var(--bg-tertiary);
}


.hub-card:hover,
.mobile-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}


.hub-card:active,
.mobile-hub-card:active {
  transform: scale(0.98);
}


.hub-card-icon,
.mobile-hub-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--cor-principal, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}


.hub-card-icon.approved,
.mobile-hub-card-icon.approved {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}


.hub-card-icon.delivered,
.mobile-hub-card-icon.delivered {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}


.hub-card-content,
.mobile-hub-card-content {
  flex: 1;
}


.hub-card-content h3,
.mobile-hub-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 4px 0;
}


.hub-card-content p,
.mobile-hub-card-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}


.hub-card-arrow,
.mobile-hub-card-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  opacity: 0.6;
}


.form-group-divider {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}


.cover-select-label {
  margin-bottom: 0.5rem;
  display: block;
}


.delete-photo-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}


.delete-photo-btn:hover {
  background-color: rgba(239, 68, 68, 0.08);
}


.editor-photo-count-wrapper {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}


.section-title-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}


/* Posicionamento do Toast (Alinhado à Direita em Mobile & Desktop) */
#picdrop-toast,
.toast-alert,
.pd-toast {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  max-width: calc(100vw - 32px) !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
  z-index: 100000 !important;
}


.toast-alert,
.pd-toast {
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}


.toast-alert.visible,
.pd-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Retificações Mobile para Seção Meu Perfil */

.avatar-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}


.avatar-preview {
  width: 150px;
  height: 150px;
  border-radius: var(--border-radius);
  background-color: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--cor-principal);
}


.alterar-senha p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 1rem !important;
}


.alterar-senha button {
  margin-bottom: 1rem;
}


.exclude-account {
  margin-top: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}


.exclude-account h3 {
  color: #ef4444;
  margin-bottom: 1rem;
}


.exclude-account p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  margin-top: 0 !important;

}


/* Skeleton Loaders do Perfil (Performance) */
@keyframes skeleton-pulse {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.5;
  }
}


.skeleton-spinner,
.skeleton-pill {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--pd-border, rgba(0, 0, 0, 0.12));
  border-top-color: var(--pd-text-primary, #181512);
  border-radius: 50%;
  animation: skeleton-spin 0.75s linear infinite;
  vertical-align: middle;
  margin: 4px 0;
}


body.theme-dark .skeleton-spinner,
body.theme-dark .skeleton-pill {
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: #ffffff;
}


@keyframes skeleton-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* ==========================================================================
   15. LINK PÚBLICO DAS GALERIAS ENTREGUES
   ========================================================================== */
.download-all-container,
.gallery-download-all-bar {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 2.5rem 1.5rem 2.5rem !important;
  max-width: 1400px;
  margin: 0 auto;
}


.download-all-btn,
.download-all-photos-btn {
  background-color: var(--bg-tertiary);
  color: black;
  border: 1px solid black;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


.download-all-btn:hover,
.download-all-photos-btn:hover {
  background-color: var(--cor-destaque, #3b76a2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}


.download-all-btn:disabled,
.download-all-photos-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}


.pin-input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.pin-input-container input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 4px;
}


.pin-input-container .unlock-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  border: none;
  background-color: var(--cor-principal);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}


.pin-input-container .unlock-btn:hover {
  background-color: var(--cor-destaque);
}


.client-selection-bar.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.payment-method-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--bg-secondary, #f3f4f6);
  padding: 0.3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e5e7eb);
}


.pm-tab {
  background: transparent;
  border: none;
  color: var(--text-muted, #6b7280);
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}


.pm-tab.active {
  background: var(--bg-primary, #ffffff);
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


.pm-container {
  display: none;
}


.pm-container.active {
  display: block;
}


@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}


/* ==========================================================================
   5. AUTENTICAÇÃO (LOGIN & CADASTRO - SPLIT LAYOUT)
   ========================================================================== */
.pd-auth-page {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  overflow-x: hidden;
  background-color: #ffffff;
}


.pd-auth-left {
  width: 50%;
  min-height: 100vh;
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff !important;
  color: #181512 !important;
  position: relative;
  z-index: 2;
}


.pd-auth-left .pd-brand {
  color: #181512 !important;
}


.pd-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}


.pd-auth-close {
  color: #5c5549 !important;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1;
}


.pd-auth-close:hover {
  color: #181512 !important;
}


.pd-auth-box {
  width: 100%;
  max-width: 400px;
  margin: 0px auto;
}


.pd-auth-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #181512 !important;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}


.pd-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.pd-form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #181512 !important;
}


.pd-form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--border-radius);
  border: 1px solid #e5e0d3 !important;
  background-color: #f8f6f0 !important;
  color: #181512 !important;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}


.pd-form-input:focus {
  border-color: #181512 !important;
}


.pd-auth-left .pd-btn-primary {
  background-color: #181512 !important;
  color: #ffffff !important;
}


.pd-auth-left .pd-btn-primary:hover {
  background-color: #2b2621 !important;
}


.pd-auth-left .pd-btn-outline {
  background-color: #ffffff !important;
  border-color: #e5e0d3 !important;
  color: #181512 !important;
}


.pd-auth-left .pd-btn-outline:hover {
  background-color: #f8f6f0 !important;
}


.pd-btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  margin-top: 8px;
}


.pd-auth-terms {
  font-size: 0.78rem;
  color: #5c5549 !important;
  line-height: 1.4;
  margin-top: 16px;
}


.pd-auth-terms a {
  color: #181512 !important;
  text-decoration: underline;
}


.pd-auth-footer-link {
  text-align: center;
  font-size: 0.95rem;
  color: #5c5549 !important;
  margin-top: 32px;
}


.pd-auth-footer-link a {
  color: #181512 !important;
  font-weight: 700;
  text-decoration: underline;
}


.pd-auth-right {
  width: 50%;
  min-height: 100vh;
  background-color: #141414 !important;
  color: #f5f2eb !important;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}


.pd-auth-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  max-width: 440px;
  margin-bottom: 48px;
  color: #f5f2eb !important;
  line-height: 1.4;
}


.pd-auth-showcase-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}


.pd-auth-mock-main {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


.pd-auth-mock-mob {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}


.pd-brand {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pd-text-primary);
  text-decoration: none;
  text-transform: lowercase;
  display: flex;
  align-items: center;
}


.pd-brand-logo {
  height: 38px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}


body.theme-dark .pd-brand-logo {
  filter: invert(1);
}


.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}


.pd-btn-primary {
  background-color: var(--pd-accent-btn);
  color: var(--pd-accent-btn-text);
}


.pd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


.pd-btn-outline {
  background-color: transparent;
  color: var(--pd-text-primary);
  border-color: var(--pd-border);
}


.pd-btn-outline:hover {
  background-color: var(--pd-bg-card-hover);
  transform: translateY(-2px);
}


#btn-upgrade-pro.pd-btn-primary {
  color: var(--pd-accent-btn-text) !important;
}


.testimonial-rating-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}


.pd-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.btn-login-history-update {
  font-size: 0.75rem;
  padding: 5px 10px;
  background: var(--bg-tertiary, #222);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
}


.btn-login-history-update:hover {
  color: var(--text-main);
}


/* --- MODAIS DE SEGURANÇA E 2FA --- */
.modal-card {
  background-color: var(--bg-tertiary, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  animation: scaleUp 0.25s ease-out;
  position: relative;
  z-index: 100001;
  text-align: left;
}


body.theme-dark .modal-card {
  background-color: #1c1917;
  border-color: #292524;
  color: #f3f4f6;
}


.modal-2fa-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}


.modal-2fa-form-group {
  margin-bottom: 1.25rem;
}


.modal-2fa-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
}


.modal-2fa-form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #cbd5e1);
  background: var(--bg-secondary, #f8fafc);
  color: var(--text-main);
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 4px;
  font-weight: 600;
  box-sizing: border-box;
}


.modal-2fa-form-group input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}


.modal-2fa-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}


.modal-2fa-actions .btn-2fa-confirm {
  background: #10b981;
  color: #ffffff;
  border: none;
  font-weight: 600;
}


.modal-2fa-actions .btn-2fa-confirm:hover {
  background: #059669;
}


.modal-2fa-challenge-card {
  max-width: 400px;
  text-align: center;
}


.modal-2fa-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}


/* Login — apresentação extraída do HTML/JS */

:is(#picdrop-inline-specificity, .login-style-6){color: #ef4444; text-align: center; margin-top: 12px; font-size: 0.9rem;
}


:is(#picdrop-inline-specificity, .login-style-7){display: none; text-align: center; margin-top: 12px;
}


:is(#picdrop-inline-specificity, .login-style-8){background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.4); color: #6366f1; padding: 10px 18px; border-radius: 8px; font-size: 0.88rem; cursor: pointer; font-weight: 600; transition: all 0.2s ease;
}


:is(#picdrop-inline-specificity, .login-style-9){margin-right: 6px;
}


:is(#picdrop-inline-specificity, .login-style-10){display: flex; align-items: center; margin: 20px 0; text-align: center; color: var(--pd-text-muted); font-size: 0.85rem;
}


:is(#picdrop-inline-specificity, .login-style-11){flex: 1; border-bottom: 1px solid var(--pd-border);
}


:is(#picdrop-inline-specificity, .login-style-12){padding: 0 12px;
}


:is(#picdrop-inline-specificity, .login-style-13){display: flex; align-items: center; justify-content: center; gap: 10px;
}


:is(#picdrop-inline-specificity, .login-style-14){font-size: 0.8rem; color: var(--pd-text-muted); text-align: center;
}


:is(#picdrop-inline-specificity, .login-style-15){margin: 0 0 0.5rem 0; font-size: 1.15rem; color: var(--text-main);
}


:is(#picdrop-inline-specificity, .login-style-16){color: #ef4444; font-size: 0.85rem; margin-bottom: 1rem; text-align: center;
}


:is(#picdrop-inline-specificity, .login-style-17){justify-content: space-between;
}


:is(#picdrop-inline-specificity, .login-style-18){flex: 1;
}


/* Cadastro — apresentação extraída do HTML/JS */

:is(#picdrop-inline-specificity, .signup-style-19){color: #ef4444; text-align: center; margin-top: 12px; font-size: 0.9rem;
}


:is(#picdrop-inline-specificity, .signup-style-20){display: flex; align-items: center; margin: 20px 0; text-align: center; color: var(--pd-text-muted); font-size: 0.85rem;
}


:is(#picdrop-inline-specificity, .signup-style-21){flex: 1; border-bottom: 1px solid var(--pd-border);
}


:is(#picdrop-inline-specificity, .signup-style-22){padding: 0 12px;
}


:is(#picdrop-inline-specificity, .signup-style-23){display: flex; align-items: center; justify-content: center; gap: 10px;
}


:is(#picdrop-inline-specificity, .signup-style-24){display: none;
}


:is(#picdrop-inline-specificity, .signup-style-25){font-size: 2.2rem;
}


:is(#picdrop-inline-specificity, .signup-style-26){color: var(--pd-text-secondary); margin-bottom: 24px; font-size: 0.95rem;
}


:is(#picdrop-inline-specificity, .signup-style-27){margin-top: 16px;
}


:is(#picdrop-inline-specificity, .signup-style-28){font-size: 0.8rem; color: var(--pd-text-muted); text-align: center;
}


:is(#picdrop-inline-specificity, .dashboard-style-36){margin-left: auto; margin-right: 0.75rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-49){display: flex; gap: 0.75rem; width: 100%;
}


:is(#picdrop-inline-specificity, .dashboard-style-106){max-width: 800px; display: grid; gap: 2rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-107){background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}


:is(#picdrop-inline-specificity, .dashboard-style-108){color: var(--cor-principal); font-size: 1.4rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-109){margin-top: 0.5rem; color: var(--text-muted); font-size: 0.95rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-110){display: flex; gap: 0.5rem; margin-top: 1.5rem; max-width: 500px;
}


:is(#picdrop-inline-specificity, .dashboard-style-111){grid-template-columns: 1fr;
}


:is(#picdrop-inline-specificity, .dashboard-style-112){display: grid; gap: 1rem; margin-top: 0.5rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-145){font-size: 1.1rem; opacity: 0.7;
}


:is(#picdrop-inline-specificity, .dashboard-style-152){font-size: 0.65rem; margin-right: 4px;
}


:is(#picdrop-inline-specificity, .dashboard-style-157){color: #22c55e;
}


:is(#picdrop-inline-specificity, .gallery-style-241){font-size: 0.85rem; font-weight: 600;
}


:is(#picdrop-inline-specificity, .gallery-style-242){width: 100%; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border-color);
}


:is(#picdrop-inline-specificity, .gallery-style-243){display: flex; gap: 0.75rem; margin-bottom: 1rem;
}


:is(#picdrop-inline-specificity, .gallery-style-244){flex: 1;
}

.gallery-custom-contrast :is(.nav-btn,.pd-btn,.btn-primary,.btn-secondary,.client-nav-btn) {
  background-color: var(--gallery-button-bg) !important; color: var(--gallery-button-text) !important; border-color: var(--gallery-button-bg) !important;
}

.gallery-custom-contrast :is(.nav-btn,.pd-btn,.btn-primary,.btn-secondary,.client-nav-btn) * { color: var(--gallery-button-text) !important; }


@media (max-width: 768px) {

  /* Compartilhado */

  #picdrop-toast,
  .toast-alert,
  .pd-toast {
    bottom: 80px !important;
    right: 16px !important;
    left: auto !important;
    font-size: 0.85rem !important;
    padding: 10px 18px !important;
  }
}

@media (max-width: 768px) {

  .add-social-bar .nav-btn,
  .add-social-bar .nav-btn-secondary,
  .add-social-bar .btn-secondary {
    width: 100% !important;
    height: 42px !important;
  }
}

@media (max-width: 992px) {

  body.theme-dark .db-nav-link.active {
    background-color: rgba(49, 45, 38, 0.12);
  }

  /* Compartilhado */

  .mobile-nav,
  .global-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
  }

  /* Dashboard */

  .global-nav,
  .db-sidebar .db-brand,
  .global-nav .brand,
  .db-header #theme-toggle {
    display: none !important;
  }

  .db-sidebar,
  .global-nav {
    display: none !important;
    position: absolute !important;
    top: 60px !important;
    width: 100%;
    height: auto;
    overflow-y: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px -10px rgba(2, 6, 23, 0.2);
    z-index: 999;
    padding: 0rem 0;
    background-color: var(--bg-tertiary);
  }

  /* Compartilhado */

  .global-nav {
    left: auto;
    right: 0;
    width: 250px;
  }

  .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border-top: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
  }

  .selection-tabs-header .nav-btn {
    background: none;
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    white-space: nowrap;
    min-height: 44px;
  }

  .selection-tabs-header .nav-btn.active {
    color: var(--cor-principal);
    box-shadow: 0 4px 12px rgba(24, 21, 18, 0.12);
    background-color: color-mix(in srgb, var(--cor-destaque) 25%, transparent);
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .gallery-editor .db-header .nav-btn-secondary {
    flex: 1 1 calc(50% - 0.3rem) !important;
    width: calc(50% - 0.3rem) !important;
    max-width: calc(50% - 0.3rem) !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 8px 10px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .selection-tabs-header {
    padding: 0 !important;
  }

  /* --------------------------------------------------------------------------
     16.10 MEU PERFIL (MOBILE)
  -------------------------------------------------------------------------- */
  /* Dashboard */
  .profile-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-photo-card {
    margin-bottom: 25px;
  }

  /* Compartilhado */

  .download-all-btn,
  .download-all-photos-btn {
    padding: 10px 16px;
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    width: 80%;
    max-width: calc(100vw - 110px);
    white-space: nowrap;
    text-overflow: ellipsis;
    justify-content: center;
    text-align: center;
  }
}


@media (max-width: 600px) {

  /* --------------------------------------------------------------------------
     16.2 PÁGINA INDEX (MOBILE)
  -------------------------------------------------------------------------- */
  /* Compartilhado */
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  /* Login / Cadastro */
  .pd-auth-page {
    flex-direction: column;
    min-height: 100vh;
    position: relative;
  }

  .pd-auth-left {
    width: 100%;
    min-height: 100vh;
    padding: 28px 24px 110px 24px;
    background-color: #ffffff;
    color: #181512;
  }

  .pd-auth-right {
    display: none !important;
  }

  .pd-auth-box {
    margin: 20px auto;
  }

  .pd-auth-title {
    font-size: 2.2rem;
    color: #181512;
  }

  /* Compartilhado */

  .pd-form-label {
    color: #181512;
  }

  .pd-form-input {
    background-color: #f8f6f0;
    color: #181512;
    border-color: #e5e0d3;
  }

  .pd-promo-link {
    color: #181512;
  }

  .pd-btn-primary {
    background-color: #181512;
    color: #ffffff;
  }
}


@media (max-width: 768px) {

  .pd-final-cta .pd-btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  #sec-profile .profile-card-header-flex .nav-btn { width: 100%; justify-content: center; }
}
