/* 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);
}


@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);
  }
}


/* Rodapé da Galeria do Cliente */

body.theme-dark .back-to-top-btn {
  background-color: #262628;
  color: #ffffff;
}


body.theme-dark .back-to-top-btn:hover {
  background-color: #3f3f42;
}


/* 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;
}


.mobile-nav {
  display: none;
}


#mobile-theme-toggle,
.mobile-brand {
  display: none;
}


.db-toggle {
  display: none;
}


.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);
}


.client-gallery-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 4rem;
  background-color: var(--bg-primary);
  text-align: center;
}


/* ==========================================================================
   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;
}


/* 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;

}


/* ==========================================================================
   13. INDIQUE UM AMIGO
   ========================================================================== */
/* (Estilos mantidos na base ou compartilhados) */

/* ==========================================================================
   14. PERFIL PÚBLICO
   ========================================================================== */
.photographer-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 1rem;
}


.profile-avatar-container {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2.5rem;
}


.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
  background-color: var(--bg-tertiary);
}


.photographer-header h1 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  text-align: center;
}


.photographer-bio {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  text-align: center;
  margin-top: 20px;
  line-height: 1.5;
}


.photographer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 25px;
  flex-wrap: wrap;
}


.photographer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.15));
  color: var(--text-main, #181512);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  background: var(--bg-card, rgba(0, 0, 0, 0.02));
}


.photographer-social-link:hover {
  transform: translateY(-2px);
  border-color: var(--text-main, #181512);
  background: var(--text-main, #181512);
  color: #ffffff;
}


body.theme-dark .photographer-social-link {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}


body.theme-dark .photographer-social-link:hover {
  background: #ffffff;
  color: #121212;
  border-color: #ffffff;
}


/* Cores Oficiais das Redes Sociais (Sempre Coloridos - Tema Claro e Escuro) */
.photographer-social-link.instagram,
body.theme-dark .photographer-social-link.instagram {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.35);
  background: rgba(225, 48, 108, 0.12);
}


.photographer-social-link.instagram:hover,
body.theme-dark .photographer-social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}


.photographer-social-link.facebook,
body.theme-dark .photographer-social-link.facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.35);
  background: rgba(24, 119, 242, 0.12);
}


.photographer-social-link.facebook:hover,
body.theme-dark .photographer-social-link.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}


.photographer-social-link.whatsapp,
body.theme-dark .photographer-social-link.whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.12);
}


.photographer-social-link.whatsapp:hover,
body.theme-dark .photographer-social-link.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}


.photographer-social-link.youtube,
body.theme-dark .photographer-social-link.youtube {
  color: #ff0000;
  border-color: rgba(255, 0, 0, 0.35);
  background: rgba(255, 0, 0, 0.12);
}


.photographer-social-link.youtube:hover,
body.theme-dark .photographer-social-link.youtube:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}


.photographer-social-link.tiktok,
body.theme-dark .photographer-social-link.tiktok {
  color: #fe2c55;
  border-color: rgba(254, 44, 85, 0.35);
  background: rgba(254, 44, 85, 0.12);
}


.photographer-social-link.tiktok:hover,
body.theme-dark .photographer-social-link.tiktok:hover {
  background: #000000;
  color: #25f4ee;
  border-color: #fe2c55;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}


.photographer-social-link.linkedin,
body.theme-dark .photographer-social-link.linkedin {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.35);
  background: rgba(10, 102, 194, 0.12);
}


.photographer-social-link.linkedin:hover,
body.theme-dark .photographer-social-link.linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}


.photographer-social-link.pinterest,
body.theme-dark .photographer-social-link.pinterest {
  color: #e60023;
  border-color: rgba(230, 0, 35, 0.35);
  background: rgba(230, 0, 35, 0.12);
}


.photographer-social-link.pinterest:hover,
body.theme-dark .photographer-social-link.pinterest:hover {
  background: #e60023;
  color: #ffffff;
  border-color: #e60023;
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.35);
}


.photographer-social-link.twitter_x,
.photographer-social-link.twitter,
.photographer-social-link.x,
body.theme-dark .photographer-social-link.twitter_x,
body.theme-dark .photographer-social-link.twitter,
body.theme-dark .photographer-social-link.x {
  color: #1da1f2;
  border-color: rgba(29, 161, 242, 0.35);
  background: rgba(29, 161, 242, 0.12);
}


.photographer-social-link.twitter_x:hover,
.photographer-social-link.twitter:hover,
.photographer-social-link.x:hover,
body.theme-dark .photographer-social-link.twitter_x:hover,
body.theme-dark .photographer-social-link.twitter:hover,
body.theme-dark .photographer-social-link.x:hover {
  background: #1da1f2;
  color: #ffffff;
  border-color: #1da1f2;
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.35);
}


.photographer-social-link.website,
body.theme-dark .photographer-social-link.website {
  color: #0070f3;
  border-color: rgba(0, 112, 243, 0.35);
  background: rgba(0, 112, 243, 0.12);
}


.photographer-social-link.website:hover,
body.theme-dark .photographer-social-link.website:hover {
  background: #0070f3;
  color: #ffffff;
  border-color: #0070f3;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.35);
}


.photographer-profile-body #theme-toggle {
  position: absolute;
  top: 30px;
  right: 30px;
  margin: 0;
  z-index: 100;
}


.profile-categories-bar {
  width: 100%;
  max-width: 900px;
  margin: 1.25rem auto 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.profile-categories-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  position: relative;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
}


.profile-categories-wrapper::-webkit-scrollbar {
  display: none;
}


.profile-cat-btn {
  color: var(--text-muted, #8e8e8e);
  background: none !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 10px 8px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 0 -1px 0 !important;
  position: relative;
  z-index: 1;
}


.profile-cat-btn:hover {
  color: var(--text-main, #181512);
  transform: none;
}


.profile-cat-btn.active {
  color: var(--text-main, #181512) !important;
  border-bottom-color: var(--text-main, #181512) !important;
  font-weight: 700;
}


body.theme-dark .profile-categories-wrapper {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}


body.theme-dark .profile-cat-btn {
  color: rgba(255, 255, 255, 0.45);
}


body.theme-dark .profile-cat-btn:hover {
  color: rgba(255, 255, 255, 0.85);
}


body.theme-dark .profile-cat-btn.active {
  color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}


.profile-galleries-container {
  width: 90%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


.profile-galleries-grid,
.public-galleries-grid {
  margin: 3rem auto 0;
  padding: 0;
  max-width: 1350px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}


.public-gallery-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
}


.public-card-cover-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-tertiary);
  border-radius: 0px;
}


.public-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}


.public-gallery-card:hover .public-card-cover {
  transform: scale(1.03);
  filter: brightness(1.02);
}


.public-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 1.2rem;
  gap: 0.35rem;
}


.public-card-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  line-height: 1.3;
}


.public-lock-icon {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: normal;
  display: inline-block;
}


.public-card-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.8;
}


.profile-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  text-align: center;
  gap: 1rem;
  color: var(--text-muted);
}


.profile-404-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
  min-height: 50vh;
}


.profile-404-icon {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}


.profile-404-title {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}


.profile-404-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.5;
}


.profile-404-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--text-main);
  color: var(--bg-secondary) !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}


.profile-404-btn:hover {
  opacity: 0.85;
}


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

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.5;
  }
}


.skeleton-card {
  border-radius: 4px;
  overflow: hidden;
}


.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);
  }
}


.skeleton-cover {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background-color: var(--bg-tertiary);
  animation: skeleton-pulse 1.4s infinite ease-in-out;
  border-radius: 0px;
}


.skeleton-info {
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.skeleton-line {
  border-radius: 3px;
  background-color: var(--bg-tertiary);
  animation: skeleton-pulse 1.4s infinite ease-in-out;
  margin-bottom: 8px;
}


.skeleton-line-title {
  width: 70%;
  height: 16px;
}


.skeleton-line-date {
  width: 40%;
  height: 12px;
}


/* ==========================================================================
   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;
}


#gallery-container #theme-toggle,
.gallery-top-controls #theme-toggle {
  position: fixed !important;
  right: 1.5rem !important;
  bottom: 1.5rem !important;
  top: auto !important;
  transform: none !important;
  display: inline-flex !important;
  margin: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: var(--cor-principal, #181512) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 999;
}


body.theme-dark #gallery-container #theme-toggle,
body.theme-dark .gallery-top-controls #theme-toggle {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  background: rgba(24, 21, 18, 0.88) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}


#gallery-container #theme-toggle:hover,
.gallery-top-controls #theme-toggle:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}


body.theme-dark #gallery-container #theme-toggle:hover,
body.theme-dark .gallery-top-controls #theme-toggle:hover {
  background-color: rgba(40, 35, 30, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}


.back-to-top-btn {
  background-color: #333333;
  color: #ffffff;
  border: none;
  padding: 14px 42px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
}


.back-to-top-btn:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}


.developer-credit {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}


.developer-credit span {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-left: 2px;
}


.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);
}


.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);
  }
}


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


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


.theme-toggle-btn {
  margin-left: auto;
  margin-right: 2rem;
  background: transparent;
  border: 1px solid var(--pd-border);
  color: var(--pd-text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  transform: none !important;
}


.theme-toggle-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}


.theme-toggle-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  background-color: var(--pd-bg-card-hover);
  transform: none;
}


.theme-toggle-btn:hover i {
  transform: rotate(15deg);
}


.theme-toggle-btn:focus,
.theme-toggle-btn:active,
.mobile-theme-btn,
.mobile-theme-btn:hover,
.mobile-theme-btn:focus,
.mobile-theme-btn:active {
  transform: none !important;
}


/* ==========================================================================
   CARREGAR MAIS GALERIAS & DEPOIMENTOS DE CLIENTES NO PERFIL PÚBLICO
   ========================================================================== */
.profile-load-more-btn {
  background: transparent;
  border: 1px solid var(--cor-principal, #181512);
  color: var(--cor-principal, #181512);
  padding: 0.8rem 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
}


body.theme-dark .profile-load-more-btn {
  border-color: #ffffff;
  color: #ffffff;
}


.profile-load-more-btn:hover {
  background: var(--cor-principal, #181512);
  color: #ffffff;
}


body.theme-dark .profile-load-more-btn:hover {
  background: #ffffff;
  color: #181512;
}


.profile-testimonials-section {
  padding-top: 4rem;

  background: rgba(248, 250, 252, 0.6);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 4rem;
}


body.theme-dark .profile-testimonials-section {
  background: rgba(255, 255, 255, 0.02);
  border-top-color: rgba(255, 255, 255, 0.08);
}


.testimonials-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


.testimonials-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.3rem;
  opacity: 0.9;
}


body.theme-dark .testimonials-title {
  color: rgba(255, 255, 255, 0.7);
}


.testimonials-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 2rem;
  font-weight: 400;
}


.testimonials-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}


.profile-testimonials-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0.25rem 1rem 0.25rem;
  width: 100%;
}


.profile-testimonials-grid::-webkit-scrollbar {
  display: none;
}


.testimonial-public-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  scroll-snap-align: start;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
}


.testimonial-nav-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #181512;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 10;
  flex-shrink: 0;
  font-size: 1.1rem;
}


body.theme-dark .testimonial-nav-btn {
  background: #201c18;
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


.testimonial-nav-btn.prev {
  margin-right: 0.75rem;
}


.testimonial-nav-btn.next {
  margin-left: 0.75rem;
}


.testimonial-nav-btn:hover {
  transform: scale(1.08);
  background: #181512;
  color: #ffffff;
}


body.theme-dark .testimonial-nav-btn:hover {
  background: #ffffff;
  color: #181512;
}


body.theme-dark .testimonial-public-card {
  background: #201c18;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.testimonial-public-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


.testimonial-avatar-wrapper {
  margin-bottom: 1rem;
}


.testimonial-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.08);
}


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


.testimonial-comment-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex: none;
}


body.theme-dark .testimonial-comment-text {
  color: #cbd5e1;
}


.testimonial-client-info strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}


body.theme-dark .testimonial-client-info strong {
  color: #ffffff;
}


.testimonial-client-info span {
  font-size: 0.78rem;
  color: #64748b;
}


body.theme-dark .testimonial-client-info span {
  color: #94a3b8;
}


.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);
}


: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;
}


/* Perfil público — apresentação extraída do HTML/JS */

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


:is(#picdrop-inline-specificity, .profile-style-254){display: none; text-align: center; margin-top: 2.5rem; margin-bottom: 2rem;
}


:is(#picdrop-inline-specificity, .profile-style-255){font-size: 3rem; color: var(--text-muted);
}


:is(#picdrop-inline-specificity, .profile-style-256){margin-top: 4rem;
}

.gallery-custom-contrast :is(.client-gallery-header h1,.photographer-header h1,.client-subtitle) { color: var(--gallery-contrast) !important; }


@media (max-width: 768px) {
  /* Perfil público */
  .photographer-profile-body #theme-toggle {
    display: none !important;
  }
}


@media (max-width: 768px) {
  /* Perfil público */
  .profile-categories-bar {
    margin: 0.75rem auto 0;
    padding: 0 0.5rem;
  }

  .profile-categories-wrapper {
    justify-content: flex-start;
    gap: 1.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Dashboard */

  .profile-cat-btn {
    font-size: 0.70rem;
    padding: 10px 4px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 992px) {

  /* --------------------------------------------------------------------------
     16.0 ESTRUTURA E REGRAS GERAIS MOBILE
  -------------------------------------------------------------------------- */
  /* Compartilhado */
  body.theme-dark .mobile-nav {
    background-color: var(--bg-primary);
  }

  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);
  }

  .mobile-brand {
    display: inline-block !important;
    order: 1;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
    text-transform: lowercase;
    margin-left: 0.75rem;
    margin-right: auto;
  }

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

  #mobile-theme-toggle {
    order: 2;
    display: inline-block !important;
    margin-right: 0.75rem;
    margin-left: auto;
  }

  .mobile-nav a {
    display: inline-block !important;
    order: 4;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    color: var(--text-main);
    font-size: 0.9rem;
    text-decoration: none;
  }

  /* 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);
  }

  /* Compartilhado */

  .mobile-nav[aria-label="Mobile Dashboard Nav"] {
    display: none !important;
  }

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

  .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;
  }

  /* --------------------------------------------------------------------------
     16.14 PERFIL PÚBLICO (MOBILE)
  -------------------------------------------------------------------------- */
  /* Perfil público */
  .profile-galleries-grid,
  .public-galleries-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem 1.5rem;
    margin-top: 2rem;
  }

  /* 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;
  }

  /* Dashboard */

  #gallery-container #theme-toggle {
    position: absolute !important;
    right: 0rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    margin: 0 !important;
    width: 36px;
    height: 36px;
  }
}


@media (max-width: 600px) {

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

@media (max-width: 768px) {

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


@media (max-width: 768px) {

  /* Compartilhado */

  .pd-nav-actions #theme-toggle,
  .pd-nav-actions .theme-toggle-btn {
    margin: 0 !important;
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }
}


@media (max-width: 992px) {
  /* Perfil público */
  .testimonial-public-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}


@media (max-width: 640px) {
  /* Dashboard */
  .profile-testimonials-section {
    padding: 2.5rem 0 0;
    margin-top: 2rem;
  }

  /* Compartilhado */

  .testimonials-subtitle {
    margin-bottom: 1.25rem;
  }

  .testimonials-slider-wrapper {
    position: relative;
    display: block;
  }

  .testimonial-nav-btn {
    position: absolute;
    margin: 0 0.5rem;
    top: 50%;
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    z-index: 10;
  }

  body.theme-dark .testimonial-nav-btn {
    background: rgba(32, 28, 24, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  }

  .testimonial-nav-btn.prev {
    left: -4px;
    margin-right: 0;
  }

  .testimonial-nav-btn.next {
    right: -4px;
    margin-left: 0;
  }

  /* Dashboard */

  .profile-testimonials-grid {
    gap: 1rem;
    padding: 0.5rem 7.5% 1rem 7.5%;
    scroll-padding-inline: 7.5%;
  }

  /* Perfil público */

  .testimonial-public-card {
    flex: 0 0 85%;
    min-width: unset;
    scroll-snap-align: center;
    padding: 1.25rem;
    border-radius: 12px;
  }

  /* Compartilhado */

  .testimonial-avatar-wrapper {
    margin-bottom: 0.75rem;
  }

  .testimonial-avatar-img {
    width: 44px;
    height: 44px;
  }

  .testimonial-comment-text {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
}


/* Mobile — preservação da aparência após centralizar a cascata */

@media(max-width:768px){
/* Perfil público */
.page-profile .testimonial-nav-btn {width:42px;height:42px;background:#fff;font-size:1.1rem;}
.page-profile .testimonial-nav-btn.prev {margin-right:12px;}
.page-profile .testimonial-nav-btn.next {margin-left:12px;}
}


@media (max-width: 1100px) {

  .page-index .pd-nav-actions .theme-toggle-btn {
    margin: 0;
    flex-shrink: 0;
  }
}
