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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.5;
}

.education-banner {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: white;
  padding: 10px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.education-banner svg {
  width: 20px;
  height: 20px;
}

.header {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 10px 20px;
  max-width: none;
  margin: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-btn {
  background: #003366;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.menu-btn:hover {
  background: #002244;
}

/* Botao menu laranja (estilo Itau referencia) */
.menu-btn-orange {
  background: #FF6200;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  text-transform: lowercase;
  padding: 12px 15px;
  min-width: 55px;
  min-height: 55px;
}

.menu-btn-orange:hover {
  background: #e55a00;
}

.logo {
  height: 40px;
  width: auto;
}

.search-container {
  flex: none;
  width: 350px;
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 10px 45px 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  background: #f9f9f9;
}

.search-input:focus {
  outline: none;
  border-color: #FF6200;
}

.search-btn {
  position: absolute;
  right: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.account-info {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #666;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}

.header-icon:hover {
  color: #FF6200;
}

.header-icon svg {
  width: 24px;
  height: 24px;
}

/* Icones laranja do header (referencia Itau) */
.header-icon-orange {
  color: #FF6200;
}

.header-icon-orange:hover {
  color: #e55a00;
}

.header-icon-orange span {
  color: #333;
  font-weight: 600;
}

.header-user-icon {
  display: flex;
  align-items: center;
}

.main-content {
  max-width: 1400px;
  margin: 0;
  padding: 20px;
  padding-left: 20px;
}

.page-title {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  max-width: 1000px;
}

.card {
  background: white;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.card-toggle {
  color: #FF6200;
  font-size: 20px;
  transition: transform 0.3s;
}

.card-toggle.collapsed {
  transform: rotate(180deg);
}

.card-body {
  padding: 15px;
}

.card-body.collapsed {
  display: none;
}

/* Layout 2 colunas para Saldo e Extrato */
.saldo-extrato-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.extrato-section {
  flex: 1;
}

.extrato-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.extrato-tab {
  padding: 10px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  position: relative;
}

.extrato-tab.active {
  color: #333;
}

.extrato-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #333;
}

.extrato-table {
  width: 100%;
  border-collapse: collapse;
}

.extrato-table th,
.extrato-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.extrato-table th {
  color: #333;
  font-weight: 700;
}

.extrato-table .valor-positivo {
  color: #0066cc;
}

.extrato-table .valor-negativo {
  color: #c62828;
}

/* Zebra striping para tabela de extrato */
.extrato-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.extrato-table tbody tr:nth-child(even) {
  background-color: #fff;
}

/* Zebra striping para tabela de cartões */
.cartoes-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.cartoes-table tbody tr:nth-child(even) {
  background-color: #fff;
}

.saldo-section {
  text-align: left;
  min-width: 200px;
  padding-left: 20px;
  border-left: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.saldo-label {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
}

.saldo-valor {
  font-size: 22px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 5px;
}

.btn-extrato {
  background: #FF6200;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-extrato:hover {
  background: #e55a00;
}

.sidebar-card {
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.sidebar-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-card-icon {
  color: #FF6200;
  font-size: 20px;
}

.sidebar-card-text {
  font-size: 15px;
  color: #003366;
  font-weight: 600;
  text-decoration: underline;
}

.sidebar-card-underline {
  text-decoration: underline;
}

.sidebar-card-arrow {
  color: #666;
  font-size: 18px;
}

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

.sidebar-card-dropdown {
  font-size: 12px;
  color: #666;
  margin-left: auto;
  margin-right: 8px;
}

.docs-section {
  background: white;
  border: 1px solid #FF6200;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
}

.docs-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.docs-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.docs-tab.active {
  color: #333;
  font-weight: 600;
}

.docs-tab svg {
  width: 18px;
  height: 18px;
}

.docs-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-link {
  color: #0066cc;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
}

.docs-link:hover {
  color: #004499;
}

.docs-link-right {
  text-align: right;
}

.credito-banner {
  background: linear-gradient(135deg, #003366, #004488);
  color: white;
  padding: 15px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.credito-banner svg {
  width: 30px;
  height: 30px;
  color: #4CAF50;
}

.credito-banner-text {
  font-size: 14px;
}

/* Credito simplificado */
.credito-content {
  padding: 10px 0;
}

.credito-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.avaliacao-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-top: 15px;
}

.avaliacao-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.avaliacao-question {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.avaliacao-emojis {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 25px;
}

.emoji-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.emoji-option:hover {
  background: #f5f5f5;
}

.emoji-option.selected {
  background: #fff3e0;
}

.emoji-option .emoji {
  font-size: 32px;
}

.emoji-option .emoji-label {
  font-size: 12px;
  color: #666;
}

.avaliacao-comment {
  margin-bottom: 15px;
}

.avaliacao-comment input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.avaliacao-comment input:focus {
  outline: none;
  border-color: #FF6200;
}

.avaliacao-counter {
  text-align: right;
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
}

.btn-avaliacao {
  background: #e0e0e0;
  color: #666;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
}

.btn-avaliacao:hover {
  background: #d0d0d0;
}

.btn-avaliacao.active {
  background: #FF6200;
  color: white;
}

.footer {
  background: #666;
  color: white;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
}

.consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.consent-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.consent-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.consent-title {
  font-size: 22px;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 15px;
}

.consent-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.consent-permissions {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  text-align: left;
}

.consent-permission {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.consent-permission:last-child {
  border-bottom: none;
}

.consent-permission input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.consent-permission label {
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.consent-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-consent {
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-consent-primary {
  background: #FF6200;
  color: white;
}

.btn-consent-primary:hover {
  background: #e55a00;
}

.btn-consent-secondary {
  background: #e0e0e0;
  color: #333;
}

.btn-consent-secondary:hover {
  background: #d0d0d0;
}

.camera-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  text-align: center;
}

.camera-preview {
  width: 100%;
  max-width: 400px;
  height: 300px;
  background: #000;
  border-radius: 8px;
  margin: 20px auto;
  overflow: hidden;
}

.camera-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-capture {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
}

.btn-capture:hover {
  background: #43a047;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e0e0e0;
  border-top-color: #FF6200;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-text {
  margin-top: 20px;
  font-size: 16px;
  color: #666;
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .docs-section {
    grid-column: span 2;
  }

  .saldo-extrato-container {
    flex-direction: column;
  }

  .saldo-section {
    text-align: left;
    margin-top: 20px;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .education-banner {
    font-size: 12px;
    padding: 8px 15px;
    flex-wrap: wrap;
  }

  .header-top {
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .search-container {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 10px 0 0 0;
  }

  .header-right {
    display: none;
  }

  .account-info {
    display: none;
  }

  .main-content {
    padding: 15px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .docs-section {
    grid-column: span 1;
  }

  .extrato-table th:nth-child(2),
  .extrato-table td:nth-child(2) {
    display: none;
  }

  .avaliacao-emojis {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .emoji-option .emoji {
    font-size: 28px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .consent-modal {
    padding: 20px;
  }

  .consent-buttons {
    flex-direction: column;
  }

  .btn-consent {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .cartoes-table {
    font-size: 12px;
  }

  .cartoes-table th:nth-child(2),
  .cartoes-table td:nth-child(2) {
    display: none;
  }

  .cartao-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .menu-btn span {
    display: none;
  }

  .saldo-valor {
    font-size: 24px;
  }

  .btn-extrato {
    width: 100%;
  }

  .extrato-table {
    font-size: 13px;
  }

  .avaliacao-emojis {
    gap: 10px;
  }

  .emoji-option {
    padding: 5px;
  }

  .emoji-option .emoji {
    font-size: 24px;
  }

  .emoji-option .emoji-label {
    font-size: 10px;
  }

  .cartoes-table th:nth-child(3),
  .cartoes-table td:nth-child(3) {
    display: none;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

.hidden {
  display: none !important;
}

.text-orange {
  color: #FF6200;
}

.text-blue {
  color: #003366;
}

.bg-orange {
  background-color: #FF6200;
}

.bg-blue {
  background-color: #003366;
}

.auth-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f5f5f5;
  z-index: 5000;
  display: flex;
  flex-direction: column;
}

.auth-header {
  background: white;
  padding: 12px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.auth-logo {
  display: block;
}

.auth-content {
  flex: 1;
  padding: 30px 20px;
}

.auth-card {
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 600px;
  margin-bottom: 20px;
}

.auth-card-inner {
  background: #e8e8e8;
  margin: 15px;
  padding: 20px;
  border-radius: 4px;
}

.auth-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.auth-form {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.auth-field label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.auth-select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  background: white;
  min-width: 150px;
}

.auth-code-input {
  display: flex;
  gap: 5px;
}

.auth-code-input input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  width: 120px;
}

.auth-ok-btn {
  padding: 8px 15px;
  background: #999;
  color: white;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
}

.auth-ok-btn:hover {
  background: #888;
}

.auth-hint {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 3px;
}

.auth-btn-wrapper {
  max-width: 600px;
  text-align: right;
  margin-top: 10px;
}

.auth-confirm-btn {
  background: #FF6200;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
}

.auth-confirm-btn:hover:not(:disabled) {
  background: #e55a00;
}

.auth-confirm-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.auth-error-text {
  display: block;
  font-size: 11px;
  color: #c62828;
  margin-top: 15px;
}

.auth-code-input input.error {
  border-color: #f44336;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@media (max-width: 480px) {
  .auth-form {
    flex-direction: column;
  }

  .auth-select,
  .auth-code-input input {
    width: 100%;
  }

  .auth-confirm-btn {
    width: 100%;
    text-align: center;
  }
}

.senha-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 6000;
}

.senha-modal {
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.senha-header {
  background: #f5f5f5;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.senha-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
}

.senha-close:hover {
  color: #333;
}

.senha-content {
  padding: 30px;
  text-align: center;
}

.senha-icon {
  margin-bottom: 20px;
}

.senha-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.senha-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.senha-input-wrapper {
  margin-bottom: 15px;
}

.senha-input-wrapper input {
  width: 100%;
  padding: 15px;
  font-size: 24px;
  text-align: center;
  letter-spacing: 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
}

.senha-input-wrapper input:focus {
  border-color: #FF6200;
}

.senha-error {
  display: block;
  font-size: 12px;
  color: #c62828;
  margin-bottom: 15px;
}

.senha-btn {
  width: 100%;
  padding: 15px;
  background: #FF6200;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
}

.senha-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.senha-btn:hover:not(:disabled) {
  background: #e55a00;
}

.senha-link {
  font-size: 14px;
  color: #0066cc;
  text-decoration: none;
}

.senha-link:hover {
  text-decoration: underline;
}

.sessao-invalida-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
}

.sessao-header {
  background: white;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sessao-header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.sessao-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.sessao-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.sessao-icon {
  margin-bottom: 24px;
}

.sessao-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
}

.sessao-message {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.sessao-info {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.sessao-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.sessao-info-item:last-child {
  margin-bottom: 0;
}

.sessao-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.sessao-btn-primary {
  display: block;
  background: #FF6200;
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}

.sessao-btn-primary:hover {
  background: #e55a00;
}

.sessao-btn-secondary {
  display: block;
  background: transparent;
  color: #003366;
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid #003366;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}

.sessao-btn-secondary:hover {
  background: #003366;
  color: white;
}

.sessao-help {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.sessao-help p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.sessao-phone {
  font-weight: 600;
  color: #003366 !important;
  margin-top: 8px !important;
}

.sessao-footer {
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.sessao-footer p {
  margin: 0;
  font-size: 12px;
  color: #999;
}

.sessao-footer-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px !important;
}

@media (max-width: 480px) {
  .sessao-card {
    padding: 30px 20px;
  }

  .sessao-title {
    font-size: 20px;
  }

  .sessao-message {
    font-size: 14px;
  }
}

.saldo-mobile {
  display: none;
  background: linear-gradient(135deg, #003366 0%, #004488 100%);
  padding: 20px;
  color: white;
}

.saldo-mobile-content {
  text-align: center;
}

.saldo-mobile-label {
  font-size: 12px;
  opacity: 0.8;
  margin: 0 0 5px 0;
}

.saldo-mobile-valor {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 768px) {
  .saldo-mobile {
    display: block;
  }
}

.cartao-visual {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.cartao-frente {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 12px;
  padding: 20px;
  color: white;
  position: relative;
  width: 320px;
  height: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  aspect-ratio: 1.586 / 1;
}

.cartao-chip {
  position: absolute;
  top: 20px;
  left: 20px;
}

.cartao-bandeira {
  position: absolute;
  top: 20px;
  right: 20px;
}

.cartao-numero {
  position: absolute;
  top: 50%;
  left: 20px;
  font-size: 18px;
  letter-spacing: 3px;
  font-family: 'Courier New', monospace;
}

.cartao-info-bottom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 40px;
}

.cartao-nome {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cartao-validade {
  font-size: 12px;
}

.cartao-logo-banco {
  position: absolute;
  bottom: 15px;
  right: 20px;
  opacity: 0.9;
}

.cartao-resumo {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.cartao-resumo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cartao-tipo {
  font-weight: 600;
  color: #333;
}

.cartao-status {
  background: #e8f5e9;
  color: #4caf50;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.cartao-limite-section {
  margin-bottom: 20px;
}

.cartao-limite-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cartao-limite-label {
  font-size: 13px;
  color: #666;
}

.cartao-limite-valor {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.cartao-limite-barra {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.cartao-limite-usado {
  height: 100%;
  background: linear-gradient(90deg, #FF6200, #ff8c00);
  border-radius: 4px;
}

.cartao-limite-detalhes {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #999;
}

.cartao-fatura {
  background: white;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #e0e0e0;
}

.cartao-fatura-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: #666;
}

.cartao-fatura-venc {
  color: #FF6200;
  font-weight: 500;
}

.cartao-fatura-valor {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.cartao-gastos {
  margin-bottom: 20px;
}

.cartao-gastos-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
}

.cartao-gasto-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cartao-gasto-item:last-child {
  border-bottom: none;
}

.cartao-gasto-icon {
  width: 40px;
  height: 40px;
  background: #fff5ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.cartao-gasto-info {
  flex: 1;
  min-width: 0;
}

.cartao-gasto-desc {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cartao-gasto-data {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.cartao-gasto-valor {
  font-size: 14px;
  font-weight: 600;
  color: #c62828;
  flex-shrink: 0;
  margin-left: 10px;
}

.btn-ver-fatura {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: #FF6200;
  border: 2px solid #FF6200;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ver-fatura:hover {
  background: #FF6200;
  color: white;
}

/* Tabela de Cartoes (novo estilo) */
.cartoes-table {
  width: 100%;
  border-collapse: collapse;
}

.cartoes-table th,
.cartoes-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  vertical-align: middle;
}

.cartoes-table th {
  color: #333;
  font-weight: 700;
}

.cartao-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cartao-icon-small {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cartao-info-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cartao-nome-tabela {
  font-size: 14px;
  color: #0066cc;
  text-decoration: underline;
}

.cartao-limite-tabela {
  font-size: 12px;
  color: #666;
}

.cartoes-btn-container {
  text-align: right;
  margin-top: 20px;
}

.btn-ver-faturas {
  background: transparent;
  color: #003366;
  border: 2px solid #003366;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ver-faturas:hover {
  background: #003366;
  color: white;
}

@media (max-width: 480px) {
  .cartao-frente {
    width: 100%;
    max-width: 300px;
    height: 180px;
    padding: 15px;
  }

  .cartao-numero {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .cartao-info-bottom {
    gap: 20px;
    bottom: 15px;
    left: 15px;
  }

  .cartao-nome,
  .cartao-validade {
    font-size: 10px;
  }

  .cartao-gasto-desc {
    font-size: 13px;
  }

  .cartao-gasto-valor {
    font-size: 13px;
  }
}
