/* EngineSoft — área de revendedores no mesmo visual escuro da home de referência. */
.reseller-page,
.reseller-login-page,
.reseller-dashboard-page {
  --partner-bg: #041426;
  --partner-bg-2: #05192d;
  --partner-card: #071c31;
  --partner-card-2: #082039;
  --partner-card-3: #0a223b;
  --partner-line: #153550;
  --partner-line-2: rgba(80, 155, 215, .28);
  --partner-text: #f5f8fc;
  --partner-muted: #9fb1c4;
  --partner-muted-2: #718aa3;
  --partner-blue: #1f99ff;
  --partner-blue-2: #0879ed;
  --partner-blue-soft: #63bbff;
  --partner-success: #38d2a5;
  color: var(--partner-text);
  background: var(--partner-bg);
}

.reseller-page .container,
.reseller-login-page .container {
  width: min(1020px, calc(100% - 42px));
}

/* Header público */
.reseller-page .site-header,
.reseller-login-page .site-header {
  height: 66px;
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(4, 20, 38, .94);
  border-bottom: 1px solid rgba(91, 146, 190, .18);
  backdrop-filter: blur(18px);
}
.reseller-page .nav-wrap,
.reseller-login-page .nav-wrap { gap: 20px; }
.reseller-page .brand,
.reseller-login-page .brand,
.reseller-dashboard-page .brand { gap: 8px; }
.reseller-page .brand-mark,
.reseller-login-page .brand-mark,
.reseller-dashboard-page .brand-mark {
  width: 31px;
  height: 32px;
}
.reseller-page .brand-mark i,
.reseller-login-page .brand-mark i,
.reseller-dashboard-page .brand-mark i {
  width: 24px;
  height: 6px;
  left: 1px;
  border-radius: 7px;
  transform: rotate(-26deg);
  background: linear-gradient(90deg, #086cff, #22a9ff);
  box-shadow: 0 0 14px rgba(17, 136, 255, .14);
}
.reseller-page .brand-mark i:nth-child(1),
.reseller-login-page .brand-mark i:nth-child(1),
.reseller-dashboard-page .brand-mark i:nth-child(1) { top: 3px; }
.reseller-page .brand-mark i:nth-child(2),
.reseller-login-page .brand-mark i:nth-child(2),
.reseller-dashboard-page .brand-mark i:nth-child(2) { top: 12px; left: 5px; background: linear-gradient(90deg,#0b5ce8,#199eff); }
.reseller-page .brand-mark i:nth-child(3),
.reseller-login-page .brand-mark i:nth-child(3),
.reseller-dashboard-page .brand-mark i:nth-child(3) { top: 21px; left: 0; background: linear-gradient(90deg,#1599ff,#2eb8ff); }
.reseller-page .brand-text,
.reseller-login-page .brand-text,
.reseller-dashboard-page .brand-text {
  position: relative;
  color: #f7fbff;
  font-size: 22px;
  letter-spacing: -1px;
  padding-bottom: 8px;
}
.reseller-page .brand-text span,
.reseller-login-page .brand-text span,
.reseller-dashboard-page .brand-text span { color: #4eb2ff; }
.reseller-page .brand-text::after,
.reseller-login-page .brand-text::after,
.reseller-dashboard-page .brand-text::after {
  content: "SISTEMAS QUE MOVEM NEGÓCIOS";
  position: absolute;
  left: 1px;
  bottom: 1px;
  color: #7690a9;
  font: 700 4.6px/1 "Inter", sans-serif;
  letter-spacing: 1.15px;
  white-space: nowrap;
}
.reseller-page .desktop-nav,
.reseller-login-page .desktop-nav {
  margin-left: auto;
  gap: 24px;
  color: #aebfd0;
  font-size: 9px;
  font-weight: 500;
}
.reseller-page .desktop-nav a,
.reseller-login-page .desktop-nav a { padding: 25px 0 22px; }
.reseller-page .desktop-nav a::after,
.reseller-login-page .desktop-nav a::after {
  bottom: 14px;
  height: 1px;
  background: #4baeff;
}
.reseller-page .desktop-nav a:hover,
.reseller-page .desktop-nav .active,
.reseller-login-page .desktop-nav a:hover,
.reseller-login-page .desktop-nav .active { color: #fff; }
.reseller-page .nav-cta,
.reseller-login-page .nav-cta {
  min-height: 38px;
  padding: 0 17px;
  border-radius: 9px;
  color: #eef8ff;
  border: 1px solid #187fdb;
  background: rgba(6,72,132,.18);
  box-shadow: inset 0 0 18px rgba(23,145,255,.05);
  font-size: 9px;
}
.reseller-page .nav-cta:hover,
.reseller-login-page .nav-cta:hover {
  border-color: #3ca8ff;
  background: rgba(16,113,195,.2);
}
.reseller-page .menu-toggle span,
.reseller-login-page .menu-toggle span { background: #dfeeff; }
.reseller-page .mobile-menu,
.reseller-login-page .mobile-menu {
  top: 66px;
  background: rgba(4,20,38,.98);
  border-bottom: 1px solid var(--partner-line);
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}
.reseller-page .mobile-menu a,
.reseller-login-page .mobile-menu a { color: #dce9f5; }

.reseller-page .eyebrow,
.reseller-login-page .eyebrow,
.reseller-dashboard-page .eyebrow {
  color: #55aef4;
  font-size: 8px;
  letter-spacing: 2.25px;
  font-weight: 700;
}
.reseller-page .btn,
.reseller-login-page .btn,
.reseller-dashboard-page .btn {
  border-radius: 9px;
  font-size: 9.5px;
}
.reseller-page .btn-primary,
.reseller-login-page .btn-primary,
.reseller-dashboard-page .btn-primary {
  color: #fff;
  background: linear-gradient(105deg,#149dff 0%,#168cff 56%,#0c76e6 100%);
  box-shadow: 0 10px 23px rgba(9,112,218,.20), inset 0 1px 0 rgba(255,255,255,.10);
}
.reseller-page .btn-outline,
.reseller-login-page .btn-outline,
.reseller-dashboard-page .btn-outline {
  color: #e3edf7;
  border-color: #2c719e;
  background: rgba(5,35,60,.38);
}
.reseller-page .btn-outline:hover,
.reseller-login-page .btn-outline:hover,
.reseller-dashboard-page .btn-outline:hover {
  color: #fff;
  border-color: #4c9dce;
  background: rgba(12,56,89,.55);
  box-shadow: none;
}

/* Página Seja um Revendedor */
.reseller-page .reseller-hero {
  position: relative;
  padding: 80px 0 74px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 24%, rgba(17,123,218,.14), transparent 28%),
    radial-gradient(circle at 3% 85%, rgba(16,97,180,.09), transparent 26%),
    linear-gradient(180deg,#041426 0%,#041525 100%);
  border-bottom: 1px solid rgba(80,137,181,.20);
}
.reseller-page .reseller-hero::before,
.reseller-page .reseller-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(30,105,164,.16);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.reseller-page .reseller-hero::before { width: 680px; height: 410px; right: -220px; top: -210px; }
.reseller-page .reseller-hero::after { width: 510px; height: 290px; right: -120px; top: -105px; opacity: .65; }
.reseller-page .reseller-glow { filter: blur(48px); opacity: .8; }
.reseller-page .reseller-glow-one { background: rgba(20,132,232,.14); }
.reseller-page .reseller-glow-two { background: rgba(17,88,170,.10); }
.reseller-page .reseller-hero-grid {
  grid-template-columns: 1.08fr .92fr;
  gap: 58px;
}
.reseller-page .reseller-hero-copy h1 {
  color: var(--partner-text);
  font-size: clamp(39px, 4.1vw, 54px);
  line-height: 1.01;
  letter-spacing: -2.2px;
  max-width: 650px;
}
.reseller-page .reseller-hero-copy h1 span {
  color: #188cff;
  background: linear-gradient(90deg,#178cff,#38a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reseller-page .reseller-hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 18px;
  color: #a8b8c8;
  font-size: 13px;
  line-height: 1.65;
}
.reseller-page .reseller-points { gap: 12px; margin-top: 31px; }
.reseller-page .reseller-points > div {
  min-height: 126px;
  padding: 17px 15px;
  background: linear-gradient(180deg,rgba(8,31,54,.90),rgba(7,27,47,.88));
  border: 1px solid rgba(66,128,178,.24);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02), 0 16px 32px rgba(0,0,0,.10);
}
.reseller-page .reseller-point-icon {
  color: #5bb6ff;
  background: radial-gradient(circle at 35% 30%,#0d4b80,#0a2d50 72%);
  border: 1px solid rgba(55,139,205,.20);
  box-shadow: 0 0 24px rgba(18,128,224,.08);
}
.reseller-page .reseller-points strong { color: #f0f5fa; font-size: 11px; }
.reseller-page .reseller-points small { color: #8fa4b8; }
.reseller-page .reseller-process-card {
  padding: 30px;
  border: 1px solid rgba(55,126,180,.32);
  border-radius: 19px;
  background: linear-gradient(155deg,rgba(8,31,54,.96),rgba(5,24,43,.96));
  box-shadow: 0 28px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.03);
}
.reseller-page .reseller-process-card::before {
  background: radial-gradient(circle,rgba(18,143,243,.17),transparent 66%);
}
.reseller-page .process-pill {
  color: #63bbff;
  background: rgba(15,93,158,.20);
  border: 1px solid rgba(49,139,208,.22);
}
.reseller-page .reseller-process-card h2 { color: #f4f8fc; }
.reseller-page .process-list li {
  border: 1px solid rgba(64,124,171,.22);
  background: rgba(6,26,46,.66);
}
.reseller-page .process-list li > span {
  color: #63bbff;
  background: linear-gradient(145deg,#0b3f6d,#092a49);
  border: 1px solid rgba(51,128,192,.22);
}
.reseller-page .process-list strong { color: #eaf2f9; }
.reseller-page .process-list p { color: #8ea3b8; }

.reseller-page .reseller-form-section {
  padding: 78px 0 92px;
  background:
    radial-gradient(circle at 100% 12%,rgba(18,119,203,.09),transparent 27%),
    linear-gradient(180deg,#041322,#041426 100%);
}
.reseller-page .reseller-form-layout { grid-template-columns: 300px 1fr; gap: 48px; }
.reseller-page .reseller-form-intro h2 {
  color: #f5f8fc;
  font-size: 32px;
}
.reseller-page .reseller-form-intro > p:not(.eyebrow) { color: #98aabd; }
.reseller-page .privacy-note {
  border: 1px solid rgba(55,126,180,.24);
  background: rgba(7,29,50,.78);
  box-shadow: none;
}
.reseller-page .privacy-note svg { color: #58b3fb; }
.reseller-page .privacy-note strong { color: #eaf2f8; }
.reseller-page .privacy-note span { color: #879daf; }
.reseller-page .reseller-form {
  padding: 31px;
  border: 1px solid rgba(55,126,180,.27);
  background: linear-gradient(180deg,rgba(7,29,50,.98),rgba(5,24,43,.98));
  border-radius: 19px;
  box-shadow: 0 25px 58px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.025);
}
.reseller-page .form-section-title > span {
  background: linear-gradient(135deg,#149dff,#0875e8);
  box-shadow: 0 8px 18px rgba(8,120,255,.17);
}
.reseller-page .form-section-title strong { color: #edf4fa; }
.reseller-page .form-section-title small { color: #7f94a8; }
.reseller-page .form-divider { background: rgba(71,126,170,.20); }
.reseller-page .field > span { color: #bdd0df; }
.reseller-page .field > span small { color: #72899f; }
.reseller-page .field input,
.reseller-page .field select,
.reseller-page .field textarea,
.reseller-page .password-wrap input {
  border-color: rgba(73,132,179,.28);
  color: #eef5fb;
  background: rgba(4,21,38,.74);
}
.reseller-page .field select { color-scheme: dark; }
.reseller-page .field select option { background: #071c31; color: #eef5fb; }
.reseller-page .field input:focus,
.reseller-page .field select:focus,
.reseller-page .field textarea:focus,
.reseller-page .password-wrap input:focus {
  border-color: #2d8ed7;
  background: rgba(5,27,48,.96);
  box-shadow: 0 0 0 3px rgba(25,144,232,.08);
}
.reseller-page .field input::placeholder,
.reseller-page .field textarea::placeholder { color: #60788e; }
.reseller-page .system-choice {
  border-color: rgba(72,132,178,.24);
  background: rgba(5,25,44,.78);
}
.reseller-page .system-choice:hover {
  border-color: #2e82bd;
  box-shadow: 0 13px 28px rgba(0,0,0,.14);
}
.reseller-page .system-choice > span:nth-of-type(2) strong { color: #eaf2f8; }
.reseller-page .system-choice > span:nth-of-type(2) small { color: #8097aa; }
.reseller-page .choice-icon.blue,
.reseller-page .choice-icon.purple,
.reseller-page .choice-icon.orange,
.reseller-page .choice-icon.green {
  color: #5cb7ff;
  background: linear-gradient(145deg,#0b3d69,#082946);
}
.reseller-page .system-choice > i { border-color: #3b607d; }
.reseller-page .system-choice:has(input:checked) {
  border-color: #238ad7;
  background: linear-gradient(135deg,rgba(9,55,94,.75),rgba(6,32,55,.85));
  box-shadow: 0 0 0 1px rgba(27,145,229,.10), 0 12px 28px rgba(0,0,0,.12);
}
.reseller-page .system-choice:has(input:checked) > i {
  background: #168eee;
  border-color: #168eee;
}
.reseller-page .field-error { color: #ff8190; }
.reseller-page .upload-field {
  border-color: rgba(71,144,199,.48);
  background: rgba(5,25,44,.75);
}
.reseller-page .upload-field:hover,
.reseller-page .upload-field.has-file {
  border-color: #278ed9;
  background: rgba(7,39,67,.82);
}
.reseller-page .upload-icon {
  color: #5db8ff;
  background: linear-gradient(145deg,#0b3d69,#082946);
}
.reseller-page .upload-copy strong { color: #eaf2f8; }
.reseller-page .upload-copy small { color: #8197aa; }
.reseller-page .upload-button {
  border-color: #285f89;
  color: #cfeaff;
  background: rgba(7,42,72,.82);
}
.reseller-page .consent-field {
  color: #8fa3b6;
  background: rgba(5,24,42,.72);
  border: 1px solid rgba(63,119,162,.18);
}
.reseller-page .form-feedback.success { color:#76e4bf; background:rgba(20,120,90,.16); border-color:rgba(56,210,165,.28); }
.reseller-page .form-feedback.error { color:#ff9cab; background:rgba(148,38,58,.15); border-color:rgba(255,111,131,.25); }
.reseller-page .form-feedback.info { color:#8fcaff; background:rgba(22,105,176,.14); border-color:rgba(89,176,245,.25); }
.reseller-page .form-bottom-note { color: #71879c; }

/* Rodapé da candidatura */
.reseller-page .footer,
.reseller-login-page .footer {
  color: #d8e4ef;
  background: #03111f;
  border-top: 1px solid rgba(77,132,175,.22);
}
.reseller-page .footer h4 { color: #f0f6fb; }
.reseller-page .footer p,
.reseller-page .footer a,
.reseller-login-page .footer a,
.reseller-login-page .footer span { color: #8297aa; }
.reseller-page .footer a:hover,
.reseller-login-page .footer a:hover { color: #54b1fb; }
.reseller-page .footer-bottom,
.reseller-login-page .footer-bottom { border-top-color: rgba(67,118,158,.18); }

/* Login do revendedor */
.reseller-login-page .reseller-login-main {
  position: relative;
  min-height: calc(100vh - 118px);
  background:
    radial-gradient(circle at 75% 25%,rgba(20,127,220,.13),transparent 28%),
    radial-gradient(circle at 15% 85%,rgba(16,91,171,.08),transparent 25%),
    linear-gradient(180deg,#041426,#041322);
  overflow: hidden;
}
.reseller-login-page .reseller-login-main::before,
.reseller-login-page .reseller-login-main::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(30,105,164,.15);
  border-radius: 50%;
  transform: rotate(-20deg);
  pointer-events: none;
}
.reseller-login-page .reseller-login-main::before { width: 680px; height: 390px; right: -230px; top: -195px; }
.reseller-login-page .reseller-login-main::after { width: 480px; height: 280px; left: -260px; bottom: -170px; }
.reseller-login-page .login-orb { opacity: .32; filter: blur(55px); }
.reseller-login-page .reseller-login-grid { position: relative; z-index: 2; gap: 70px; }
.reseller-login-page .login-presentation h1 { color: #f5f9fd; }
.reseller-login-page .login-presentation h1 span {
  color: #188cff;
  background: linear-gradient(90deg,#178cff,#38a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reseller-login-page .login-presentation > p:not(.eyebrow) { color: #9eb0c1; }
.reseller-login-page .login-feature-list > div > span {
  color: #70c0ff;
  background: rgba(17,104,174,.20);
  border: 1px solid rgba(56,148,216,.28);
}
.reseller-login-page .login-feature-list strong { color: #e9f1f8; }
.reseller-login-page .login-feature-list small { color: #8298ac; }
.reseller-login-page .login-card {
  border: 1px solid rgba(55,126,180,.30);
  background: linear-gradient(160deg,rgba(8,31,54,.97),rgba(5,23,41,.97));
  box-shadow: 0 30px 66px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.03);
}
.reseller-login-page .login-lock {
  color: #5db8ff;
  background: linear-gradient(145deg,#0b3f6d,#082946);
  border: 1px solid rgba(55,139,205,.20);
}
.reseller-login-page .login-card h2 { color: #f1f6fb; }
.reseller-login-page .login-subtitle { color: #8da2b6; }
.reseller-login-page .field > span { color: #bdd0df; }
.reseller-login-page .field input,
.reseller-login-page .password-wrap input {
  border-color: rgba(73,132,179,.28);
  color: #eef5fb;
  background: rgba(4,21,38,.78);
}
.reseller-login-page .field input:focus,
.reseller-login-page .password-wrap input:focus {
  border-color: #2d8ed7;
  background: rgba(5,27,48,.96);
  box-shadow: 0 0 0 3px rgba(25,144,232,.08);
}
.reseller-login-page .field input::placeholder,
.reseller-login-page .password-wrap input::placeholder { color: #60788e; }
.reseller-login-page .toggle-password { color: #62baff; }
.reseller-login-page .login-help {
  border-top-color: rgba(68,123,166,.20);
  color: #7f94a8;
}
.reseller-login-page .login-help a { color: #58b3fb; }
.reseller-login-page .form-feedback.error { color:#ff9cab; background:rgba(148,38,58,.15); border-color:rgba(255,111,131,.25); }
.reseller-login-page .form-feedback.info { color:#8fcaff; background:rgba(22,105,176,.14); border-color:rgba(89,176,245,.25); }

/* Painel do revendedor */
.reseller-dashboard-page { background: #041426; }
.reseller-dashboard-page .reseller-dashboard-shell { grid-template-columns: 238px 1fr; }
.reseller-dashboard-page .reseller-sidebar {
  width: 238px;
  padding: 22px 16px 18px;
  background: linear-gradient(180deg,#061a2e 0%,#041424 100%);
  border-right: 1px solid rgba(69,128,175,.23);
  box-shadow: 14px 0 38px rgba(0,0,0,.08);
}
.reseller-dashboard-page .reseller-sidebar-brand { padding: 0 6px 24px; }
.reseller-dashboard-page .reseller-profile-mini {
  padding: 13px 10px;
  border-color: rgba(66,126,174,.24);
  background: rgba(7,31,54,.80);
}
.reseller-dashboard-page .profile-avatar {
  color: #fff;
  background: linear-gradient(135deg,#149dff,#0875e8);
  box-shadow: 0 8px 20px rgba(10,119,221,.20);
}
.reseller-dashboard-page .reseller-profile-mini strong { color: #edf5fb; }
.reseller-dashboard-page .reseller-profile-mini small { color: #7d94a8; }
.reseller-dashboard-page .reseller-sidebar-nav a,
.reseller-dashboard-page .reseller-logout {
  color: #8fa5b8;
  border: 1px solid transparent;
}
.reseller-dashboard-page .reseller-sidebar-nav a:hover,
.reseller-dashboard-page .reseller-sidebar-nav a.active {
  color: #7bc5ff;
  background: rgba(12,75,126,.28);
  border-color: rgba(52,132,195,.16);
}
.reseller-dashboard-page .reseller-logout:hover {
  color: #ff9aaa;
  background: rgba(125,31,48,.15);
}
.reseller-dashboard-page .reseller-dashboard-main { background: #041426; }
.reseller-dashboard-page .reseller-dashboard-header {
  height: 66px;
  padding: 0 31px;
  background: rgba(4,20,38,.91);
  border-bottom: 1px solid rgba(74,132,178,.21);
  backdrop-filter: blur(18px);
}
.reseller-dashboard-page .reseller-dashboard-header small { color: #688299; }
.reseller-dashboard-page .reseller-dashboard-header strong { color: #dce9f4; }
.reseller-dashboard-page .dashboard-site-link { color: #58b4fc; }
.reseller-dashboard-page .dashboard-menu-button span { background: #ddecf7; }
.reseller-dashboard-page .dashboard-content {
  width: min(1120px,calc(100% - 52px));
  padding: 34px 0 66px;
}
.reseller-dashboard-page .dashboard-welcome {
  min-height: 190px;
  padding: 31px;
  border-radius: 18px;
  border: 1px solid rgba(61,132,185,.29);
  background:
    radial-gradient(circle at 82% 36%,rgba(22,129,216,.14),transparent 28%),
    linear-gradient(125deg,#071e34 0%,#061a2e 58%,#07223a 100%);
  box-shadow: 0 20px 46px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.025);
}
.reseller-dashboard-page .dashboard-welcome::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 235px;
  right: -170px;
  top: -95px;
  border: 1px solid rgba(45,130,195,.17);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.reseller-dashboard-page .dashboard-welcome::after {
  width: 285px;
  height: 285px;
  right: -125px;
  top: -130px;
  border-color: rgba(27,135,223,.08);
}
.reseller-dashboard-page .approved-badge {
  color: #7be4c1;
  background: rgba(31,136,103,.17);
  border: 1px solid rgba(56,210,165,.18);
}
.reseller-dashboard-page .approved-badge i { background: #38d2a5; box-shadow: 0 0 0 4px rgba(56,210,165,.08); }
.reseller-dashboard-page .dashboard-welcome h1 { color: #f4f8fc; }
.reseller-dashboard-page .dashboard-welcome h1 span { color: #40aaff; }
.reseller-dashboard-page .dashboard-welcome p { color: #91a6b9; }
.reseller-dashboard-page .partner-code-card {
  min-width: 240px;
  padding: 18px;
  border-color: rgba(64,137,192,.28);
  background: rgba(5,25,44,.86);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.reseller-dashboard-page .partner-code-card small { color: #7790a6; }
.reseller-dashboard-page .partner-code-card strong { color: #eaf4fb; }
.reseller-dashboard-page .partner-code-card button {
  color: #6bc0ff;
  background: rgba(9,57,96,.72);
  border-color: #245d88;
}
.reseller-dashboard-page .partner-code-card button:hover { border-color: #318bc8; }
.reseller-dashboard-page .dashboard-stat-grid { gap: 14px; margin-top: 14px; }
.reseller-dashboard-page .dashboard-stat-grid article {
  min-height: 110px;
  padding: 18px;
  border-color: rgba(61,122,169,.24);
  background: linear-gradient(180deg,#071c31,#061a2e);
  box-shadow: 0 12px 28px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.018);
}
.reseller-dashboard-page .dashboard-stat-icon.blue,
.reseller-dashboard-page .dashboard-stat-icon.green,
.reseller-dashboard-page .dashboard-stat-icon.purple {
  color: #5db8ff;
  background: linear-gradient(145deg,#0b3f6d,#082946);
  border: 1px solid rgba(55,139,205,.18);
}
.reseller-dashboard-page .dashboard-stat-grid small { color: #7e94a7; }
.reseller-dashboard-page .dashboard-stat-grid strong { color: #edf5fb; }
.reseller-dashboard-page .dashboard-stat-grid p { color: #6e859a; }
.reseller-dashboard-page .dashboard-section { margin-top: 38px; }
.reseller-dashboard-page .dashboard-section-heading h2 { color: #f3f7fb; }
.reseller-dashboard-page .dashboard-section-heading p:not(.eyebrow) { color: #879caf; }
.reseller-dashboard-page .partner-system-grid,
.reseller-dashboard-page .partner-resource-grid { gap: 14px; }
.reseller-dashboard-page .partner-system-card {
  min-height: 205px;
  padding: 19px;
  border-color: rgba(61,122,169,.24);
  background: linear-gradient(180deg,#071c31,#061a2e);
  box-shadow: 0 13px 30px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.018);
  transition: transform .2s ease, border-color .2s ease;
}
.reseller-dashboard-page .partner-system-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53,144,211,.48);
}
.reseller-dashboard-page .partner-system-icon.blue,
.reseller-dashboard-page .partner-system-icon.purple,
.reseller-dashboard-page .partner-system-icon.orange {
  color: #5db8ff;
  background: linear-gradient(145deg,#0b3f6d,#082946);
  border: 1px solid rgba(55,139,205,.18);
}
.reseller-dashboard-page .partner-system-card small { color: #69859b; }
.reseller-dashboard-page .partner-system-card h3 { color: #edf5fb; }
.reseller-dashboard-page .partner-system-card p { color: #8399ad; }
.reseller-dashboard-page .partner-system-card a { color: #58b4fc; }
.reseller-dashboard-page .dashboard-loading,
.reseller-dashboard-page .dashboard-empty {
  color: #8098ad;
  background: rgba(7,29,50,.76);
  border-color: rgba(67,133,184,.34);
}
.reseller-dashboard-page .partner-resource-grid article {
  min-height: 175px;
  padding: 18px;
  border-color: rgba(61,122,169,.24);
  background: linear-gradient(180deg,#071c31,#061a2e);
}
.reseller-dashboard-page .partner-resource-grid article > span {
  color: #5db8ff;
  background: linear-gradient(145deg,#0b3f6d,#082946);
  border: 1px solid rgba(55,139,205,.18);
}
.reseller-dashboard-page .partner-resource-grid strong { color: #edf5fb; }
.reseller-dashboard-page .partner-resource-grid p { color: #8399ad; }
.reseller-dashboard-page .partner-resource-grid button {
  color: #72889b;
  background: rgba(8,36,61,.76);
}
.reseller-dashboard-page .partner-resource-grid a {
  color: #67bdff;
  background: rgba(10,65,108,.52);
}

@media (max-width: 1120px) {
  .reseller-page .mobile-menu,
  .reseller-login-page .mobile-menu { top: 66px; }
  .reseller-page .reseller-hero-grid { gap: 38px; }
  .reseller-dashboard-page .reseller-dashboard-shell { grid-template-columns: 1fr; }
  .reseller-dashboard-page .reseller-dashboard-main { grid-column: 1; }
  .reseller-dashboard-page .reseller-sidebar {
    background: linear-gradient(180deg,#061a2e,#041424);
    box-shadow: 18px 0 42px rgba(0,0,0,.28);
  }
}

@media (max-width: 860px) {
  .reseller-page .reseller-hero { padding: 58px 0 54px; }
  .reseller-page .reseller-hero-grid,
  .reseller-page .reseller-form-layout,
  .reseller-login-page .reseller-login-grid { grid-template-columns: 1fr; }
  .reseller-page .reseller-form-intro { position: static; max-width: 600px; }
  .reseller-page .reseller-process-card { max-width: 680px; }
  .reseller-login-page .reseller-login-grid { gap: 38px; }
  .reseller-dashboard-page .dashboard-content { width: min(100% - 28px,1120px); }
}

@media (max-width: 650px) {
  .reseller-page .container,
  .reseller-login-page .container { width: min(100% - 28px,1020px); }
  .reseller-page .site-header,
  .reseller-login-page .site-header { height: 62px; }
  .reseller-page .mobile-menu,
  .reseller-login-page .mobile-menu { top: 62px; }
  .reseller-page .brand-text,
  .reseller-login-page .brand-text,
  .reseller-dashboard-page .brand-text { font-size: 20px; }
  .reseller-page .reseller-hero-copy h1 { font-size: 38px; letter-spacing: -1.6px; }
  .reseller-page .reseller-points { grid-template-columns: 1fr; }
  .reseller-page .reseller-points > div { min-height: 0; display: flex; align-items: center; gap: 12px; }
  .reseller-page .reseller-point-icon { margin-bottom: 0; flex: 0 0 auto; }
  .reseller-page .reseller-form-section { padding: 55px 0 66px; }
  .reseller-page .reseller-form { padding: 21px 17px; }
  .reseller-page .form-grid.two-columns,
  .reseller-page .reseller-system-picker { grid-template-columns: 1fr; }
  .reseller-page .upload-field { grid-template-columns: 42px 1fr; }
  .reseller-page .upload-button { grid-column: 1/-1; text-align: center; }
  .reseller-page .footer-grid { grid-template-columns: 1fr 1fr; }
  .reseller-page .footer-brand { grid-column: 1/-1; }
  .reseller-login-page .reseller-login-main { padding: 48px 0; }
  .reseller-dashboard-page .reseller-dashboard-header { padding: 0 17px; }
  .reseller-dashboard-page .dashboard-welcome { padding: 22px; align-items: flex-start; flex-direction: column; }
  .reseller-dashboard-page .partner-code-card { width: 100%; min-width: 0; }
  .reseller-dashboard-page .dashboard-stat-grid,
  .reseller-dashboard-page .partner-system-grid,
  .reseller-dashboard-page .partner-resource-grid { grid-template-columns: 1fr; }
  .reseller-dashboard-page .dashboard-section-heading { align-items: flex-start; flex-direction: column; }
}

/* Modal de pagamento, download e licença dos sistemas do revendedor */
.reseller-dashboard-page.system-modal-open { overflow: hidden; }
.reseller-dashboard-page .partner-system-card { cursor: pointer; }
.reseller-dashboard-page .partner-system-card:focus-visible {
  outline: 2px solid #4caeff;
  outline-offset: 3px;
}
.reseller-dashboard-page .partner-system-card-action {
  margin-top: auto;
  padding: 15px 0 0;
  border: 0;
  background: transparent;
  color: #58b4fc;
  font: 800 9px "Inter",sans-serif;
  text-align: left;
  cursor: pointer;
}
.reseller-dashboard-page .partner-system-card-action span { margin-left: 4px; }

.system-access-modal[hidden],
.system-access-modal [hidden] { display: none !important; }
.system-access-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
}
.system-access-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,8,17,.78);
  backdrop-filter: blur(9px);
}
.system-access-dialog {
  position: relative;
  z-index: 1;
  width: min(780px,100%);
  max-height: min(88vh,820px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(76,157,217,.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 0%,rgba(17,119,199,.14),transparent 30%),
    linear-gradient(180deg,#071d32 0%,#051728 100%);
  box-shadow: 0 32px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.025);
  color: #eaf3fb;
}
.system-access-close {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(91,151,197,.28);
  border-radius: 10px;
  background: rgba(5,30,51,.78);
  color: #9eb5c9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.system-access-close:hover { color: #fff; border-color: rgba(93,182,248,.55); }
.system-access-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 45px;
  margin-bottom: 22px;
}
.system-access-head-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(59,145,211,.25);
  border-radius: 15px;
  background: linear-gradient(145deg,#0c4779,#082c4d);
  color: #66bdff;
}
.system-access-head-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.system-access-head .eyebrow { margin: 0 0 6px; color: #49adf8; }
.system-access-head h2 {
  margin: 0;
  color: #f5f9fc;
  font: 800 24px "Manrope",sans-serif;
  letter-spacing: -.5px;
}
.system-access-head > div > p:last-child {
  margin: 5px 0 0;
  color: #8299ad;
  font-size: 10px;
  line-height: 1.5;
}
.system-access-loading,
.system-access-error {
  padding: 17px 18px;
  border-radius: 13px;
  font-size: 10px;
}
.system-access-loading {
  border: 1px dashed rgba(72,145,199,.35);
  background: rgba(6,29,50,.68);
  color: #8199ad;
  text-align: center;
}
.system-access-error {
  margin-bottom: 14px;
  border: 1px solid rgba(216,76,95,.32);
  background: rgba(106,24,38,.2);
  color: #ff9dad;
}
.system-access-content { display: grid; gap: 14px; }
.system-access-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(62,129,179,.24);
  border-radius: 14px;
  background: rgba(5,27,47,.78);
}
.system-access-summary small {
  display: block;
  margin-bottom: 5px;
  color: #708aa0;
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 800;
}
.system-access-summary strong {
  color: #f2f7fb;
  font: 800 20px "Manrope",sans-serif;
}
.system-payment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.system-payment-badge.pending {
  color: #ffd27a;
  border: 1px solid rgba(224,164,61,.25);
  background: rgba(111,72,11,.22);
}
.system-payment-badge.approved {
  color: #71e3bc;
  border: 1px solid rgba(58,204,157,.24);
  background: rgba(20,106,80,.22);
}
.system-payment-badge.neutral {
  color: #9cb1c3;
  border: 1px solid rgba(106,139,165,.22);
  background: rgba(54,75,94,.18);
}
.system-unpaid-panel,
.system-pix-panel,
.system-release-item {
  border: 1px solid rgba(62,129,179,.24);
  border-radius: 15px;
  background: linear-gradient(180deg,rgba(7,31,54,.92),rgba(6,26,45,.92));
}
.system-unpaid-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(210px,.65fr) auto;
  align-items: end;
  gap: 15px;
  padding: 17px;
}
.system-unpaid-panel h3,
.system-pix-details h3 {
  margin: 0;
  color: #edf5fb;
  font-size: 12px;
}
.system-unpaid-panel p,
.system-pix-details p,
.system-release-item p {
  margin: 5px 0 0;
  color: #8197aa;
  font-size: 8.8px;
  line-height: 1.55;
}
.system-payer-document span {
  display: block;
  margin-bottom: 6px;
  color: #718ba1;
  font-size: 7px;
  letter-spacing: .6px;
  font-weight: 800;
  text-transform: uppercase;
}
.system-payer-document input,
.system-license-row input,
.system-pix-details textarea {
  width: 100%;
  border: 1px solid rgba(74,137,185,.34);
  border-radius: 9px;
  outline: 0;
  background: rgba(3,19,34,.8);
  color: #eaf3fa;
  font: 600 9px "Inter",sans-serif;
}
.system-payer-document input,
.system-license-row input { height: 40px; padding: 0 11px; }
.system-pix-details textarea {
  min-height: 75px;
  padding: 10px;
  resize: vertical;
  line-height: 1.45;
  word-break: break-all;
}
.system-payer-document input:focus,
.system-license-row input:focus,
.system-pix-details textarea:focus {
  border-color: #278ed8;
  box-shadow: 0 0 0 3px rgba(36,140,214,.1);
}
.system-primary-button,
.system-pix-actions button,
.system-pix-actions a,
.system-license-row button,
.system-download-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font: 800 8.7px "Inter",sans-serif;
  cursor: pointer;
  transition: .18s ease;
}
.system-primary-button {
  min-width: 145px;
  padding: 0 14px;
  border: 1px solid #1c8ce3;
  background: linear-gradient(135deg,#149bff,#0877e7);
  color: #fff;
  box-shadow: 0 10px 24px rgba(5,110,199,.18);
}
.system-primary-button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); }
.system-primary-button:disabled { opacity: .5; cursor: not-allowed; }
.system-pix-panel {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px;
}
.system-pix-qr-wrap {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 13px;
  background: #fff;
}
.system-pix-qr-wrap img { width: 100%; max-width: 175px; height: auto; display: block; }
.system-pix-details { min-width: 0; }
.system-pix-details textarea { margin-top: 12px; }
.system-pix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}
.system-pix-actions button,
.system-pix-actions a {
  min-height: 35px;
  padding: 0 11px;
  border: 1px solid rgba(55,139,205,.33);
  background: rgba(8,51,86,.72);
  color: #69bdff;
  text-decoration: none;
}
.system-release-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.system-release-item {
  min-height: 145px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.system-release-item-head { display: flex; gap: 11px; align-items: flex-start; }
.system-release-item-head > span {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(8,72,120,.5);
  color: #63bbff;
  font-size: 8px;
  font-weight: 900;
}
.system-release-item strong { color: #edf5fb; font-size: 10.5px; }
.system-download-button {
  margin-top: auto;
  width: 100%;
  padding: 0 13px;
  border: 1px solid #268fdd;
  background: linear-gradient(135deg,#138fde,#0872cb);
  color: #fff;
  text-decoration: none;
}
.system-download-button.disabled {
  border-color: rgba(82,117,145,.25);
  background: rgba(42,62,79,.32);
  color: #71879a;
  cursor: not-allowed;
}
.system-license-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  margin-top: auto;
}
.system-license-row input { font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; letter-spacing: .2px; }
.system-license-row button {
  padding: 0 11px;
  border: 1px solid rgba(51,139,207,.34);
  background: rgba(8,54,91,.72);
  color: #69bdff;
}
.system-license-row button:disabled { opacity: .38; cursor: not-allowed; }
.system-config-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(208,151,52,.22);
  border-radius: 11px;
  background: rgba(93,63,13,.16);
  color: #d8b56f;
  font-size: 8.7px;
  line-height: 1.55;
}

@media (max-width: 780px) {
  .system-access-modal { padding: 12px; place-items: end center; }
  .system-access-dialog {
    width: 100%;
    max-height: 92vh;
    padding: 22px 17px;
    border-radius: 20px 20px 12px 12px;
  }
  .system-access-head { align-items: flex-start; }
  .system-unpaid-panel { grid-template-columns: 1fr; align-items: stretch; }
  .system-primary-button { width: 100%; }
  .system-pix-panel { grid-template-columns: 1fr; }
  .system-pix-qr-wrap { width: min(220px,100%); margin: auto; }
  .system-release-panel { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .system-access-summary { align-items: flex-start; flex-direction: column; }
  .system-pix-actions { flex-direction: column; }
  .system-pix-actions button,
  .system-pix-actions a { width: 100%; }
  .system-license-row { grid-template-columns: 1fr; }
  .system-license-row button { width: 100%; }
}
