@charset "UTF-8";
/* =========================================================
   MAILER - APP
   ========================================================= */
/* =========================================================
   VARIABLES
   ========================================================= */
/* =========================================================
   GLOBAL
   ========================================================= */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background: #020408;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: #f5f8fc;
  background: radial-gradient(circle at 10% 10%, rgba(211, 20, 55, 0.1), transparent 30%), radial-gradient(circle at 90% 90%, rgba(211, 20, 55, 0.05), transparent 28%), linear-gradient(135deg, #020408 0%, #05070b 50%, #02050a 100%);
  overflow-x: hidden;
}

a {
  transition: 0.25s ease;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  outline: none;
  border: none;
}

::selection {
  background: rgba(211, 20, 55, 0.3);
  color: white;
}

/* =========================================================
   SCROLLBAR
   ========================================================= */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #06090e;
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #06090e;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(211, 20, 55, 0.35);
}

/* =========================================================
   GLOBAL BACKGROUND
========================================================= */
.mailer-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* GRID
--------------------------------------------------------- */
.mailer-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

/* =========================================================
   GLOWS
========================================================= */
.mailer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(170px);
  opacity: 0.7;
  z-index: 1;
  transform: translateZ(0);
}
.mailer-glow--one {
  width: 950px;
  height: 950px;
  top: -520px;
  left: -470px;
  background: rgba(210, 65, 20, 0.38);
}
.mailer-glow--two {
  width: 1050px;
  height: 1050px;
  right: -560px;
  bottom: -590px;
  background: rgba(255, 77, 166, 0.18);
}
.mailer-glow--three {
  width: 820px;
  height: 820px;
  top: -460px;
  right: -350px;
  background: rgba(210, 90, 160, 0.18);
}
.mailer-glow--four {
  width: 850px;
  height: 850px;
  left: -480px;
  bottom: -580px;
  background: rgba(32, 160, 120, 0.14);
}

/* =========================================================
   CAMADA ESCURA CENTRAL
========================================================= */
.mailer-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(5, 8, 13, 0.08) 0%, rgba(5, 8, 13, 0.28) 55%, rgba(5, 8, 13, 0.08) 100%);
  pointer-events: none;
}

.mailer-mouse-glow {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(63, 140, 255, 0.07) 0%, rgba(63, 140, 255, 0.035) 35%, rgba(63, 140, 255, 0.012) 60%, transparent 85%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 2;
  will-change: left, top;
}

/* =========================================================
   LOGIN
   ========================================================= */
:root {
  --bg: #05070b;
  --bg-secondary: #08101b;
  --blue: #168cff;
  --blue-light: #63b3ff;
  --blue-dark: #0a5ac8;
  --text: #f5f8fc;
  --muted: #7f8b9d;
  --border: rgba(255, 255, 255, .08);
  --glass: rgba(12, 18, 29, .58);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(22, 140, 255, 0.14), transparent 32%), radial-gradient(circle at 80% 80%, rgba(22, 140, 255, 0.08), transparent 30%), linear-gradient(135deg, #030508 0%, #050a11 50%, #020408 100%);
  overflow-x: hidden;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 32px 16px;
  isolation: isolate;
}

/* grid futurista */
.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 70%, transparent);
}

.ambient-light {
  position: fixed;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: rgba(22, 140, 255, 0.08);
  filter: blur(120px);
  z-index: -2;
  pointer-events: none;
}

.ambient-light.one {
  top: -260px;
  left: -200px;
}

.ambient-light.two {
  right: -300px;
  bottom: -300px;
  opacity: 0.6;
}

.login-container {
  width: 100%;
  max-width: 450px;
  position: relative;
}

.login-card {
  position: relative;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 0 80px rgba(22, 140, 255, 0.04);
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 179, 255, 0.45), rgba(255, 255, 255, 0.04) 35%, rgba(255, 255, 255, 0.03) 70%, rgba(22, 140, 255, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.login-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(22, 140, 255, 0.09);
  border-radius: 50%;
  filter: blur(70px);
  top: -130px;
  right: -100px;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 24px;
  color: #fff;
}

.login-heading {
  text-align: center;
  margin-bottom: 34px;
}

.login-heading h1 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin-bottom: 10px;
}

.login-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 12px;
  color: #a7b3c4;
  font-weight: 600;
  margin-bottom: 9px;
  letter-spacing: 0.3px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #66758b;
  font-size: 17px;
  transition: 0.25s;
  pointer-events: none;
}

.form-control {
  height: 48px;
  padding: 0 48px 0 48px;
  color: #fff;
  border-radius: 14px;
  background: rgba(3, 7, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-control::placeholder {
  color: #566174;
}

.form-control:focus {
  color: #fff;
  background: rgba(5, 11, 18, 0.78);
  border-color: rgba(22, 140, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(22, 140, 255, 0.08), 0 0 28px rgba(22, 140, 255, 0.08);
}

.input-wrapper:focus-within .input-icon {
  color: var(--blue-light);
}

.password-toggle {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #66758b;
  padding: 0;
  cursor: pointer;
  font-size: 17px;
  transition: 0.2s;
}

.password-toggle:hover {
  color: #fff;
}

.form-check-input {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.form-check-label {
  color: #8995a7;
  font-size: 13px;
}

.login-link {
  color: var(--blue-light);
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s;
}

.login-link:hover {
  color: #fff;
}

.btn-login {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 14px;
  margin-top: 14px;
  background: linear-gradient(120deg, #d31437, #ff5413);
  background-size: 180% 100%;
  color: white;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(255, 106, 0, 0.22);
  transition: transform 0.2s, box-shadow 0.2s, background-position 0.35s;
}

.btn-login:hover {
  color: white;
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 18px 42px rgba(255, 68, 0, 0.3);
}

.btn-login:active {
  transform: translateY(0);
}

.btn-login .spinner-border {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

.security-text {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #586577;
  font-size: 11px;
}

.security-text i {
  color: #458bcf;
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #2fff98;
  box-shadow: 0 0 10px rgba(47, 255, 152, 0.6);
}

.system-status {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #536071;
  font-size: 11px;
}

.alert {
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid transparent;
}

.alert-danger {
  color: #ffb4bb;
  background: rgba(255, 72, 89, 0.08);
  border-color: rgba(255, 72, 89, 0.15);
}

/* glow móvel */
.mouse-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(213, 227, 242, 0.045);
  filter: blur(70px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: left 0.1s linear, top 0.1s linear;
}

@media (max-width: 576px) {
  .login-page {
    padding: 22px 14px;
  }
  .login-card {
    padding: 34px 24px;
    border-radius: 22px;
  }
  .login-heading h1 {
    font-size: 24px;
  }
  .system-status {
    bottom: -38px;
  }
}
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2fff98;
  box-shadow: 0 0 10px rgba(47, 255, 152, 0.6);
}

/* =========================================================
   DASHBOARD
   ========================================================= */
.mailer-dashboard {
  min-height: 100vh;
  background: transparent;
}

.dashboard-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  position: relative;
}

/* =========================================================
   DASHBOARD SIDEBAR
   ========================================================= */
.dashboard-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px 17px 22px;
  background: rgba(5, 9, 15, 0.88);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 20px 0 70px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   SIDEBAR BRAND
   ========================================================= */
.sidebar-brand {
  margin-bottom: 30px;
  padding: 0 8px;
}

.sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}
.sidebar-brand-link:hover {
  color: white;
}

.table-responsive {
  overflow-x: unset;
}

.sidebar-logo {
  width: 43px;
  height: 43px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
  font-size: 16px;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
}
.sidebar-brand-text strong {
  color: white;
  font-size: 14px;
  line-height: 1.2;
}
.sidebar-brand-text span {
  margin-top: 4px;
  color: #596578;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* =========================================================
   SIDEBAR NAV
   ========================================================= */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-section-title {
  display: block;
  margin: 23px 13px 9px;
  color: #455163;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.sidebar-section-title:first-child {
  margin-top: 0;
}

.sidebar-link {
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border-radius: 11px;
  color: #748195;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: 0.25s ease;
}
.sidebar-link i {
  width: 19px;
  text-align: center;
  color: #657286;
  font-size: 14px;
  transition: 0.25s ease;
}
.sidebar-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.035);
}
.sidebar-link:hover i {
  color: #ff5413;
}
.sidebar-link.active {
  color: white;
  background: linear-gradient(90deg, rgba(211, 20, 55, 0.15), rgba(211, 20, 55, 0.035));
  border: 2px solid #ff5413;
}
.sidebar-link.active i {
  color: #ff5413;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logout:hover {
  color: #ff9ba4;
  background: rgba(255, 93, 108, 0.055);
}
.sidebar-logout:hover i {
  color: #ff5d6c;
}

/* =========================================================
   DASHBOARD CONTENT
   ========================================================= */
.dashboard-content {
  grid-column: 2;
  min-width: 0;
}

.sidebar-link.aside-logout {
  background: transparent !important;
  background-color: transparent !important;
  cursor: pointer;
  text-align: left;
}

/* =========================================================
   DASHBOARD HEADER
   ========================================================= */
.dashboard-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 38px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(3, 7, 12, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dashboard-header-left h1 {
  margin: 0;
  color: white;
  font-size: 14px;
  font-weight: 600;
}
.dashboard-header-left p {
  margin: 5px 0 0;
  color: #7f8b9d;
  font-size: 9px;
}

.dashboard-mobile-menu {
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #a7b3c4;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* =========================================================
   DASHBOARD ICON BUTTON
   ========================================================= */
.dashboard-icon-button {
  position: relative;
  width: 41px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #758297;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}
.dashboard-icon-button:hover {
  color: white;
  border-color: rgba(211, 20, 55, 0.26);
  background: rgba(211, 20, 55, 0.07);
  box-shadow: 0 0 25px rgba(211, 20, 55, 0.05);
}

.notification-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5413;
  box-shadow: 0 0 7px rgba(211, 20, 55, 0.9);
}

/* =========================================================
   DASHBOARD USER
   ========================================================= */
.dashboard-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 3px 7px 3px 4px;
  color: white;
  border: 0;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  transition: 0.25s ease;
}
.dashboard-user > i {
  margin-left: 4px;
  color: #556175;
  font-size: 9px;
}
.dashboard-user:hover {
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-user-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #ff5413;
  font-size: 10px;
  font-weight: 700;
  background: rgba(211, 20, 55, 0.1);
  border: 1px solid rgba(211, 20, 55, 0.16);
}

.dashboard-user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.dashboard-user-info strong {
  color: white;
  font-size: 10px;
  line-height: 1.3;
}
.dashboard-user-info span {
  margin-top: 3px;
  color: #667387;
  font-size: 8px;
}

/* =========================================================
   DROPDOWN
   ========================================================= */
.dashboard-dropdown {
  min-width: 190px;
  padding: 7px;
  margin-top: 10px !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 21, 0.97);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(25px);
}
.dashboard-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  padding: 0 11px;
  border-radius: 8px;
  color: #8995a7;
  font-size: 10px;
}
.dashboard-dropdown .dropdown-item i {
  width: 16px;
  color: #667386;
  text-align: center;
}
.dashboard-dropdown .dropdown-item:hover, .dashboard-dropdown .dropdown-item:focus {
  color: white;
  background: rgba(211, 20, 55, 0.08);
}
.dashboard-dropdown .dropdown-item:hover i, .dashboard-dropdown .dropdown-item:focus i {
  color: #ff5413;
}
.dashboard-dropdown .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-dropdown-logout:hover {
  color: #ff9aa4 !important;
  background: rgba(255, 93, 108, 0.06) !important;
}
.dashboard-dropdown-logout:hover i {
  color: #ff5d6c !important;
}

/* =========================================================
   DASHBOARD MAIN
   ========================================================= */
.dashboard-main {
  width: 100%;
  max-width: 1650px;
  margin: 0 auto;
  padding: 43px 38px 60px;
}

/* =========================================================
   DASHBOARD INTRO
   ========================================================= */
.dashboard-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.dashboard-intro h2 {
  margin: 7px 0 7px;
  color: white;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.dashboard-intro p {
  margin: 0;
  color: #7f8b9d;
  font-size: 11px;
}

.dashboard-eyebrow {
  color: #ff5413;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.btn-new-campaign {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 11px;
  color: white;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(120deg, #d31437, #ff5413);
  box-shadow: 0 12px 30px rgba(211, 20, 55, 0.16);
  transition: 0.25s ease;
}
.btn-new-campaign i {
  font-size: 9px;
}
.btn-new-campaign:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(211, 20, 55, 0.23);
}

/* =========================================================
   DASHBOARD STATS
   ========================================================= */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 17px;
}

.dashboard-stat-card {
  min-height: 153px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.13);
  transition: 0.25s ease;
}
.dashboard-stat-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(211, 20, 55, 0.045);
  filter: blur(45px);
  pointer-events: none;
}
.dashboard-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 20, 55, 0.17);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.18), 0 0 40px rgba(211, 20, 55, 0.025);
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.stat-header > span {
  color: #a7b3c4;
  font-size: 10px;
}

.stat-icon {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #ff5413;
  font-size: 11px;
  background: rgba(211, 20, 55, 0.07);
  border: 1px solid rgba(211, 20, 55, 0.08);
}

.stat-number {
  margin-top: 19px;
  color: white;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.7px;
}

.stat-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #647186;
  font-size: 9px;
}
.stat-footer small {
  color: #647186;
  font-size: inherit;
}
.stat-footer.positive > i,
.stat-footer.positive > span {
  color: #2fff98;
}

/* =========================================================
   SEGMENTOS - SELEÇÃO
========================================================= */
.segment-option {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  border-radius: 14px;
  background: rgba(3, 7, 12, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.segment-option:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.segment-option .form-check {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.segment-option .form-check-input {
  flex: 0 0 auto;
  margin: 0;
}

.segment-option strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.segment-option span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

/* =========================================================
   DASHBOARD PANELS
   ========================================================= */
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.85fr);
  gap: 17px;
}

.dashboard-panel {
  min-width: 0;
  min-height: 385px;
  padding: 23px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.13);
}

.panel-header {
  min-height: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.panel-header h3 {
  margin: 0;
  color: white;
  font-size: 11px;
  font-weight: 600;
}
.panel-header p {
  margin: 5px 0 0;
  color: #7f8b9d;
  font-size: 8px;
}

.panel-action {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  color: #667386;
  background: transparent;
  font-size: 11px;
  transition: 0.25s ease;
}
.panel-action:hover {
  color: white;
  background: rgba(255, 255, 255, 0.035);
}

.panel-view-all {
  color: #ff5413;
  font-size: 9px;
  text-decoration: none;
}
.panel-view-all:hover {
  color: white;
}

/* =========================================================
   CAMPAIGN STATS
========================================================= */
.campaign-stats {
  gap: 18px;
}

.campaign-stat {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.campaign-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* TOP
--------------------------------------------------------- */
.campaign-stat__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign-stat__label {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ICON
--------------------------------------------------------- */
.campaign-stat__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 14px;
}

.campaign-stat__icon--primary {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
}

.campaign-stat__icon--success {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

.campaign-stat__icon--purple {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
}

.campaign-stat__icon--sending {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
}

.campaign-stat__icon--warning {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}

.campaign-stat__icon--draft {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
}

/* NUMBER
--------------------------------------------------------- */
.campaign-stat__value {
  margin-top: 22px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* FOOTER
--------------------------------------------------------- */
.campaign-stat__footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.campaign-stat__footer--success {
  color: #34d399;
}

/* =========================================================
   STATUS
========================================================= */
.campaign-stat__status {
  margin-top: 24px;
}

.campaign-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}

.campaign-status--draft {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.1);
}

.campaign-status--sending {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
}

.campaign-status--sending .fa-circle {
  font-size: 6px;
  animation: campaignPulse 1.5s infinite;
}

.campaign-status--finished {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

.campaign-status--paused {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}

.campaign-status--scheduled {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
}

@keyframes campaignPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* =========================================================
   CHART PLACEHOLDER
   ========================================================= */
.chart-area {
  height: 265px;
  display: flex;
  gap: 12px;
}

.chart-y-axis {
  width: 30px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 1px;
  color: #475367;
  font-size: 10px;
  text-align: right;
}

.chart-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.chart-grid-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.035);
}

.chart-placeholder-line {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 52%;
  height: 2px;
  transform: rotate(-3deg);
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(211, 20, 55, 0.15), #d31437, #ff5413, rgba(211, 20, 55, 0.25));
  box-shadow: 0 0 18px rgba(211, 20, 55, 0.35);
}
.chart-placeholder-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1px;
  height: 115px;
  background: linear-gradient(to bottom, rgba(211, 20, 55, 0.08), transparent);
  filter: blur(3px);
}

.chart-point {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ff5413;
  border: 2px solid #0d1724;
  box-shadow: 0 0 12px rgba(211, 20, 55, 0.8);
}
.chart-point.point-1 {
  left: 6%;
}
.chart-point.point-2 {
  left: 28%;
}
.chart-point.point-3 {
  left: 51%;
}
.chart-point.point-4 {
  left: 73%;
}
.chart-point.point-5 {
  right: 3%;
}

.chart-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 7px 0 42px;
  color: #475367;
  font-size: 10px;
}

/* =========================================================
   CAMPAIGNS LIST
   ========================================================= */
.campaign-list {
  display: flex;
  flex-direction: column;
}

.campaign-item {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 2px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  transition: 0.25s ease;
}
.campaign-item:last-child {
  border-bottom: 0;
}
.campaign-item:hover {
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.campaign-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.campaign-status.success {
  background: #2fff98;
  box-shadow: 0 0 9px rgba(47, 255, 152, 0.45);
}
.campaign-status.draft {
  background: #5c687b;
}

.campaign-info {
  min-width: 0;
}
.campaign-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dce5ef;
  font-size: 9px;
  font-weight: 600;
}
.campaign-info span {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #647186;
  font-size: 8px;
}

.campaign-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}
.campaign-meta small {
  color: #536074;
  font-size: 7px;
}

.campaign-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}
.campaign-badge.success {
  color: #5fffb0;
  background: rgba(47, 255, 152, 0.07);
  border: 1px solid rgba(47, 255, 152, 0.1);
}
.campaign-badge.draft {
  color: #8490a1;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

/* =========================================================
   MOBILE OVERLAY
   ========================================================= */
.dashboard-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(3px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.dashboard-sidebar-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* =========================================================
   RESPONSIVE - 1400
   ========================================================= */
@media (max-width: 1400px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =========================================================
   RESPONSIVE - 1180
   ========================================================= */
@media (max-width: 1180px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-panel {
    min-height: auto;
  }
}
/* =========================================================
   RESPONSIVE - TABLET / MOBILE SIDEBAR
   ========================================================= */
@media (max-width: 900px) {
  .dashboard-layout {
    display: block;
  }
  .dashboard-content {
    width: 100%;
  }
  .dashboard-sidebar {
    transform: translateX(-105%);
    box-shadow: 30px 0 80px rgba(0, 0, 0, 0.45);
    transition: transform 0.28s ease;
  }
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  .dashboard-mobile-menu {
    display: flex;
  }
  .dashboard-header {
    padding: 0 20px;
  }
  .dashboard-main {
    padding: 32px 20px 50px;
  }
}
/* =========================================================
   RESPONSIVE - 650
   ========================================================= */
@media (max-width: 650px) {
  .mailer-mouse-glow {
    display: none;
  }
  .login-page {
    padding: 25px 13px 60px;
  }
  .login-container {
    max-width: 100%;
  }
  .login-card {
    padding: 35px 23px;
    border-radius: 22px;
  }
  .login-logo {
    width: 51px;
    height: 51px;
  }
  .login-heading {
    margin-bottom: 27px;
  }
  .login-heading h1 {
    font-size: 23px;
  }
  .login-heading p {
    font-size: 12px;
  }
  .login-input {
    height: 58px;
  }
  .btn-login {
    height: 58px;
  }
  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .login-system-status {
    bottom: -36px;
  }
  .dashboard-header {
    height: 74px;
  }
  .dashboard-header-left p {
    display: none;
  }
  .dashboard-user-info {
    display: none;
  }
  .dashboard-user {
    gap: 4px;
  }
  .dashboard-user > i {
    display: none;
  }
  .dashboard-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .dashboard-intro h2 {
    font-size: 24px;
  }
  .btn-new-campaign {
    width: 100%;
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .dashboard-main {
    padding: 27px 14px 45px;
  }
  .dashboard-panel {
    padding: 19px;
    border-radius: 14px;
  }
  .chart-area {
    height: 220px;
  }
}
/* =========================================================
   RESPONSIVE - 420
   ========================================================= */
@media (max-width: 420px) {
  .dashboard-header {
    padding: 0 13px;
  }
  .dashboard-header-actions {
    gap: 6px;
  }
  .dashboard-icon-button {
    width: 37px;
    height: 37px;
  }
  .dashboard-user-avatar {
    width: 36px;
    height: 36px;
  }
  .campaign-item {
    grid-template-columns: 6px minmax(0, 1fr);
  }
  .campaign-item .campaign-meta {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    text-align: left;
  }
}
/* =========================================================
   MODAIS
========================================================= */
.modal {
  z-index: 1060 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

.modal-content {
  background-color: #26262b;
}

.dashboard-analytics-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(420px, 1.6fr) minmax(320px, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.dashboard-chart-card {
  min-width: 0;
}

.dashboard-apex-chart {
  min-height: 280px;
}

.chart-summary {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: -10px;
  padding-bottom: 6px;
}

.chart-summary > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.chart-summary strong {
  color: rgba(255, 255, 255, 0.88);
}

.chart-summary__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chart-summary__dot--clicked {
  background: #ff5413;
}

.chart-summary__dot--not-clicked {
  background: rgba(148, 163, 184, 0.35);
}

@media (max-width: 1200px) {
  .dashboard-analytics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-analytics-grid > :nth-child(2) {
    grid-column: span 2;
    order: 3;
  }
}
@media (max-width: 767px) {
  .dashboard-analytics-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-analytics-grid > :nth-child(2) {
    grid-column: auto;
    order: initial;
  }
}
/* TEMA LIGHT */
/* =========================================================
   LIGHT THEME
   ========================================================= */
body.theme-light {
  color: #172033;
}
body.theme-light .modal-content {
  background-color: #f2f2f2;
}
body.theme-light {
  background: radial-gradient(circle at 10% 10%, rgba(63, 140, 255, 0.08), transparent 30%), radial-gradient(circle at 90% 90%, rgba(63, 140, 255, 0.04), transparent 28%), linear-gradient(135deg, #f3f6fb 0%, #eef3f9 50%, #f7f9fc 100%);
  /* =====================================================
     BACKGROUND
     ===================================================== */
}
body.theme-light .mailer-grid {
  background-color: #e3e5e9;
  background-image: linear-gradient(rgba(18, 35, 58, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 35, 58, 0.1) 1px, transparent 1px);
}
body.theme-light .mailer-glow {
  background: rgba(210, 65, 20, 0.38);
}
body.theme-light .mailer-mouse-glow {
  background: radial-gradient(circle, rgba(63, 140, 255, 0.065) 0%, rgba(63, 140, 255, 0.03) 35%, rgba(63, 140, 255, 0.01) 60%, transparent 82%);
}
body.theme-light {
  /* =====================================================
     SIDEBAR
     ===================================================== */
}
body.theme-light .dashboard-sidebar {
  background: rgba(246, 249, 253, 0.88);
  border-right: 1px solid rgba(25, 45, 72, 0.09);
  box-shadow: 18px 0 55px rgba(23, 41, 66, 0.045);
}
body.theme-light .sidebar-brand-link {
  color: #142033;
}
body.theme-light .sidebar-brand-link:hover {
  color: #142033;
}
body.theme-light .sidebar-brand-text strong {
  color: #172033;
}
body.theme-light .sidebar-brand-text span {
  color: #8390a1;
}
body.theme-light .sidebar-section-title {
  color: #97a3b3;
}
body.theme-light .sidebar-link {
  color: #69778b;
}
body.theme-light .sidebar-link i {
  color: #7b899b;
}
body.theme-light .sidebar-link:hover {
  color: #172033;
  background: rgba(63, 140, 255, 0.055);
}
body.theme-light .sidebar-link:hover i {
  color: #347fe8;
}
body.theme-light .sidebar-link.active {
  color: #172033;
  background: linear-gradient(90deg, rgba(63, 140, 255, 0.13), rgba(63, 140, 255, 0.035));
  border: 2px solid #ff5413;
}
body.theme-light .sidebar-link.active i {
  color: #347fe8;
}
body.theme-light .sidebar-footer {
  border-top: 1px solid rgba(25, 45, 72, 0.08);
}
body.theme-light {
  /* =====================================================
     HEADER
     ===================================================== */
}
body.theme-light .dashboard-header {
  background: rgba(248, 250, 253, 0.75);
  border-bottom: 1px solid rgba(25, 45, 72, 0.08);
  box-shadow: 0 8px 30px rgba(28, 47, 73, 0.025);
}
body.theme-light .dashboard-header-left h1 {
  color: #172033;
}
body.theme-light .dashboard-header-left p {
  color: #7d8999;
}
body.theme-light .dashboard-icon-button {
  color: #718095;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(28, 50, 79, 0.09);
}
body.theme-light .dashboard-icon-button:hover {
  color: #276fcf;
  border-color: rgba(63, 140, 255, 0.22);
  background: rgba(63, 140, 255, 0.07);
  box-shadow: 0 8px 25px rgba(45, 93, 155, 0.07);
}
body.theme-light {
  /* =====================================================
     USER
     ===================================================== */
}
body.theme-light .dashboard-user {
  color: #172033;
}
body.theme-light .dashboard-user:hover {
  background: rgba(40, 65, 95, 0.035);
}
body.theme-light .dashboard-user > i {
  color: #8592a3;
}
body.theme-light .dashboard-user-avatar {
  color: #2877df;
  background: rgba(63, 140, 255, 0.09);
  border-color: rgba(63, 140, 255, 0.15);
}
body.theme-light .dashboard-user-info strong {
  color: #172033;
}
body.theme-light .dashboard-user-info span {
  color: #7d8999;
}
body.theme-light {
  /* =====================================================
     DROPDOWN
     ===================================================== */
}
body.theme-light .dashboard-dropdown {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(28, 50, 79, 0.09);
  box-shadow: 0 25px 60px rgba(29, 49, 74, 0.12);
}
body.theme-light .dashboard-dropdown .dropdown-item {
  color: #617085;
}
body.theme-light .dashboard-dropdown .dropdown-item i {
  color: #7c8999;
}
body.theme-light .dashboard-dropdown .dropdown-item:hover, body.theme-light .dashboard-dropdown .dropdown-item:focus {
  color: #172033;
  background: rgba(63, 140, 255, 0.07);
}
body.theme-light .dashboard-dropdown .dropdown-item:hover i, body.theme-light .dashboard-dropdown .dropdown-item:focus i {
  color: #337fe8;
}
body.theme-light .dashboard-dropdown .dropdown-divider {
  border-color: rgba(28, 50, 79, 0.08);
}
body.theme-light {
  /* =====================================================
     INTRO
     ===================================================== */
}
body.theme-light .dashboard-intro h2 {
  color: #172033;
}
body.theme-light .dashboard-intro p {
  color: #758297;
}
body.theme-light .dashboard-eyebrow {
  color: #2f7de6;
}
body.theme-light {
  /* =====================================================
     CARDS
     ===================================================== */
}
body.theme-light .dashboard-stat-card,
body.theme-light .dashboard-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 254, 0.8));
  border: 1px solid rgba(27, 47, 73, 0.085);
  box-shadow: 0 20px 55px rgba(27, 45, 70, 0.055);
}
body.theme-light .dashboard-stat-card::before {
  background: rgba(63, 140, 255, 0.06);
}
body.theme-light .dashboard-stat-card:hover {
  border-color: rgba(63, 140, 255, 0.16);
  box-shadow: 0 24px 65px rgba(27, 45, 70, 0.08), 0 0 40px rgba(63, 140, 255, 0.025);
}
body.theme-light {
  /* =====================================================
     STATS
     ===================================================== */
}
body.theme-light .stat-header > span {
  color: #6d7b8f;
}
body.theme-light .stat-icon {
  color: #2d7ee8;
  background: rgba(63, 140, 255, 0.07);
  border-color: rgba(63, 140, 255, 0.1);
}
body.theme-light .stat-number {
  color: #172033;
}
body.theme-light .stat-footer {
  color: #788599;
}
body.theme-light .stat-footer small {
  color: #788599;
}
body.theme-light {
  /* =====================================================
     PANELS
     ===================================================== */
}
body.theme-light .panel-header h3 {
  color: #172033;
}
body.theme-light .panel-header p {
  color: #7b8799;
}
body.theme-light .panel-action {
  color: #788599;
}
body.theme-light .panel-action:hover {
  color: #172033;
  background: rgba(35, 55, 80, 0.04);
}
body.theme-light .panel-view-all {
  color: #347fe8;
}
body.theme-light .panel-view-all:hover {
  color: #175fbf;
}
body.theme-light {
  /* =====================================================
     CHART
     ===================================================== */
}
body.theme-light .chart-y-axis {
  color: #95a0af;
}
body.theme-light .chart-grid-line {
  background: rgba(34, 55, 80, 0.07);
}
body.theme-light .chart-labels {
  color: #95a0af;
}
body.theme-light .chart-point {
  border-color: #ffffff;
}
body.theme-light {
  /* =====================================================
     CAMPAIGN LIST
     ===================================================== */
}
body.theme-light .campaign-item {
  border-bottom: 1px solid rgba(30, 50, 75, 0.06);
}
body.theme-light .campaign-item:hover {
  background: rgba(63, 140, 255, 0.035);
}
body.theme-light .campaign-info strong {
  color: #243147;
}
body.theme-light .campaign-info span {
  color: #7b889a;
}
body.theme-light .campaign-meta small {
  color: #8b96a5;
}
body.theme-light .campaign-badge.draft {
  color: #6f7c8e;
  background: rgba(34, 50, 70, 0.04);
  border-color: rgba(34, 50, 70, 0.07);
}
body.theme-light {
  /* =====================================================
     MOBILE MENU BUTTON
     ===================================================== */
}
body.theme-light .dashboard-mobile-menu {
  color: #6d7b8f;
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(28, 50, 79, 0.09);
}
body.theme-light {
  /* =====================================================
     SCROLLBAR LIGHT
     ===================================================== */
}
body.theme-light::-webkit-scrollbar-track {
  background: #edf1f6;
}
body.theme-light::-webkit-scrollbar-thumb {
  background: rgba(39, 59, 84, 0.15);
  border-color: #edf1f6;
}
body.theme-light::-webkit-scrollbar-thumb:hover {
  background: rgba(63, 140, 255, 0.35);
}

/* =========================================================
   FORMULÁRIOS - PADRÃO MAILER
========================================================= */
.form-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
}

/* INPUTS E SELECTS
--------------------------------------------------------- */
.form-control,
.form-select {
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  border-radius: 14px;
  background-color: rgba(3, 7, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

/* =========================================================
   EMAIL PREVIEW
========================================================= */
.email-preview-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(3, 7, 12, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.email-preview-header > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.email-preview-header span {
  width: 60px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.email-preview-header strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
}

/* ÁREA EXTERNA
--------------------------------------------------------- */
.email-preview-wrapper {
  padding: 35px 20px;
  border-radius: 16px;
  background: #f1f3f5;
  max-height: 65vh;
  overflow-y: auto;
}

/* EMAIL
--------------------------------------------------------- */
.email-preview {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  color: #222;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  font-family: Arial, Helvetica, sans-serif;
}

/* IMAGEM
--------------------------------------------------------- */
.email-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

/* CONTEÚDO
--------------------------------------------------------- */
.email-preview-content {
  padding: 35px;
}

.email-preview-text {
  color: #222;
  font-size: 16px;
  line-height: 1.7;
}

/* BOTÃO
--------------------------------------------------------- */
.email-preview-button-wrapper {
  margin-top: 30px;
  text-align: center;
}

.email-preview-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  background: #ff5413;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.email-preview-button:hover {
  color: #fff;
}

/* =========================================================
   EMAIL PREVIEW - LIGHT MODE
========================================================= */
/* TEXTAREA
--------------------------------------------------------- */
textarea.form-control {
  min-height: 120px;
  height: auto;
  padding: 16px 18px;
  resize: vertical;
}

/* PLACEHOLDER
--------------------------------------------------------- */
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* FOCUS
--------------------------------------------------------- */
.form-control:focus,
.form-select:focus {
  color: #fff;
  background-color: rgba(3, 7, 12, 0.75);
  border-color: rgba(99, 102, 241, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

/* SELECT
--------------------------------------------------------- */
.form-select {
  cursor: pointer;
  --bs-form-select-bg-img:
      url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-size: 16px 12px;
}

.form-select option {
  color: #fff;
  background: #0b111b;
}

/* MULTIPLE SELECT
--------------------------------------------------------- */
.form-select[multiple] {
  min-height: 130px;
  padding: 10px 12px;
}

.form-select[multiple] option {
  padding: 8px 10px;
  border-radius: 7px;
}

/* =========================================================
   BOTÕES
========================================================= */
.btn-primary,
.btn-secondary {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

/* PRIMARY
--------------------------------------------------------- */
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #d31437, #ff5413);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.16);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background: linear-gradient(135deg, #7073f5, #8950ee);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.24);
  transform: translateY(-1px);
}

/* SECONDARY
--------------------------------------------------------- */
.btn-secondary {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   SWITCH
========================================================= */
.form-check-input {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.form-check-input:checked {
  background-color: #ff5413;
  border-color: #ff5413;
}

.form-check-input:focus {
  border-color: #ff5413;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

/* =========================================================
   LIGHT MODE
========================================================= */
body.theme-light .form-label {
  color: rgba(15, 23, 42, 0.65);
}

body.theme-light .form-control,
body.theme-light .form-select {
  color: #172033;
  background-color: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

body.theme-light .form-control::placeholder {
  color: rgba(15, 23, 42, 0.35);
}

body.theme-light .form-control:focus,
body.theme-light .form-select:focus {
  color: #172033;
  background-color: #fff;
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

body.theme-light .form-select {
  --bs-form-select-bg-img:
      url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23172033' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

body.theme-light .form-select option {
  color: #172033;
  background: #fff;
}

/* SECONDARY - LIGHT
--------------------------------------------------------- */
body.theme-light .btn-secondary {
  color: #475569;
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.09);
}

body.theme-light .btn-secondary:hover,
body.theme-light .btn-secondary:focus {
  color: #172033;
  background: #fff;
  border-color: rgba(15, 23, 42, 0.14);
}

/* =========================================================
   LIGHT MODE
========================================================= */
/* LIGHT */
body.theme-light .chart-summary > div {
  color: rgba(15, 23, 42, 0.48);
}

body.theme-light .chart-summary strong {
  color: #172033;
}

body.theme-light .campaign-stat {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.85));
  border-color: rgba(15, 23, 42, 0.07);
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.035);
}

body.theme-light .campaign-stat:hover {
  border-color: rgba(15, 23, 42, 0.11);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

body.theme-light .campaign-stat__label {
  color: rgba(15, 23, 42, 0.48);
}

body.theme-light .campaign-stat__value {
  color: #172033;
}

body.theme-light .campaign-stat__footer {
  color: rgba(15, 23, 42, 0.45);
}

body.theme-light .campaign-stat__footer--success {
  color: #059669;
}

body.theme-light .email-preview-header {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.08);
}

body.theme-light .email-preview-header span {
  color: rgba(15, 23, 42, 0.4);
}

body.theme-light .email-preview-header strong {
  color: #172033;
}

/* SWITCH - LIGHT
--------------------------------------------------------- */
body.theme-light .form-check-input {
  background-color: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
}

body.theme-light .form-check-input:checked {
  background-color: #ff5413;
  border-color: #ff5413;
}

/* =========================================================
   THEME TRANSITIONS
   ========================================================= */
body,
.dashboard-sidebar,
.dashboard-header,
.dashboard-stat-card,
.dashboard-panel,
.dashboard-icon-button,
.dashboard-user,
.dashboard-dropdown,
.sidebar-link,
.stat-icon,
.dashboard-mobile-menu {
  transition: background-color 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

/* =========================================================
   THEME TOGGLE
   ========================================================= */
.theme-toggle {
  position: relative;
  overflow: hidden;
}
.theme-toggle i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle .theme-icon-light {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
.theme-toggle .theme-icon-dark {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
}

/* =========================================================
   TABELAS - PADRÃO MAILER
========================================================= */
.dashboard-table,
.dashboard-panel .table {
  --bs-table-bg: transparent;
  --bs-table-color: #f5f5f5;
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
  color: #f5f5f5;
  margin-bottom: 0;
}

.dashboard-table thead th,
.dashboard-panel .table thead th {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dashboard-table tbody td,
.dashboard-panel .table tbody td {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dashboard-table tbody tr:hover,
.dashboard-panel .table tbody tr:hover {
  --bs-table-hover-color: #fff;
}

/* =========================================================
   TABELAS - LIGHT MODE
========================================================= */
body.theme-light .dashboard-table,
body.theme-light .dashboard-panel .table {
  --bs-table-bg: transparent;
  --bs-table-color: #1f2937;
  --bs-table-border-color: rgba(0, 0, 0, 0.08);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.02);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.035);
  color: #1f2937;
}

body.theme-light .dashboard-table thead th,
body.theme-light .dashboard-panel .table thead th {
  color: rgba(31, 41, 55, 0.55);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .dashboard-table tbody td,
body.theme-light .dashboard-panel .table tbody td {
  color: rgba(31, 41, 55, 0.88);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.theme-light .dashboard-table tbody tr:hover,
body.theme-light .dashboard-panel .table tbody tr:hover {
  --bs-table-hover-color: #111827;
}

/* LIGHT */
body.theme-light .segment-option {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.08);
}

body.theme-light .segment-option:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.3);
}

body.theme-light .segment-option strong {
  color: #172033;
}

body.theme-light .segment-option span {
  color: rgba(15, 23, 42, 0.5);
}

/* Light mode */
body.theme-light .theme-toggle .theme-icon-light {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}
body.theme-light .theme-toggle .theme-icon-dark {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}/*# sourceMappingURL=app.css.map */