* {
  box-sizing: border-box;
}

.login-container {
  width: 100%;
  max-width: 400px;
  display: flex;
}
.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-header img {
  width: 58px;
  margin-bottom: 0.5rem;
}
.login-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.login-header span {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 400;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-group label {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.form-group input {
  border: 1.5px solid #d1d5db;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--background);
  transition: border var(--transition);
  outline: none;
}
.form-group input:focus {
  border: 1.5px solid var(--primary);
  background: #eef2ff;
}
.forgot {
  margin-top: -1rem;
  margin-bottom: 1rem;
}
.forgot a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color var(--transition);
}
.forgot a:hover {
  color: var(--accent);
}
.login-btn {
  background: linear-gradient(90deg, var(--primary) 70%, var(--accent) 100%);
  color: var(--white);
  border: none;
  padding: 0.9rem 0;
  border-radius: 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
  transition:
    background var(--transition),
    transform var(--transition);
  letter-spacing: 0.03em;
}
.login-btn:hover {
  background: linear-gradient(90deg, var(--accent) 30%, var(--primary) 100%);
  transform: translateY(-2px) scale(1.01);
}
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #b0b0b0;
  font-size: 0.97rem;
  margin: 1.2rem 0 0.8rem 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: #e5e7eb;
  border-radius: 1px;
}
.social-login {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.5rem;
  background: var(--background);
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  color: var(--gray);
  transition:
    border var(--transition),
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  border: 1.5px solid var(--primary);
  background: #eef2ff;
  color: var(--primary);
}
.signup {
  text-align: center;
  color: var(--gray);
  font-size: 1.01rem;
}
.signup a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.3em;
  transition: color var(--transition);
}
.signup a:hover {
  color: var(--primary);
}
@media (max-width: 480px) {
  .login-container {
    padding: 1.5rem 0.7rem;
    max-width: 97vw;
  }
  .login-header h1 {
    font-size: 1.45rem;
  }
}
.login-container,
.register-container {
  box-shadow: var(--normal-shadow);
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  border-radius: var(--radius);
  width: 100%;
  gap: 0.5rem;
  margin: 20px auto;
}
.register-container {
  max-width: 500px;
}
.register-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.register-header img {
  width: 58px;
  margin-bottom: 0.5rem;
}
.register-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.register-header span {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 400;
}
.register-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-group label {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.form-group input {
  border: 1.5px solid #d1d5db;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--background);
  transition: border var(--transition);
  outline: none;
}
.form-group input:focus {
  border: 1.5px solid var(--primary);
  background: #eef2ff;
}
.gradient-btn {
  background: linear-gradient(90deg, var(--primary) 70%, var(--accent) 100%);
  color: var(--white);
  border: none;
  padding: 0.9rem 0;
  border-radius: 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
  transition:
    background var(--transition),
    transform var(--transition);
  letter-spacing: 0.03em;
}
.gradient-btn:hover {
  background: linear-gradient(90deg, var(--accent) 30%, var(--primary) 100%);
  transform: translateY(-2px) scale(1.01);
}
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #b0b0b0;
  font-size: 0.97rem;
  margin: 1.2rem 0 0.8rem 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: #e5e7eb;
  border-radius: 1px;
}
.social-register {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.5rem;
  background: var(--background);
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  color: var(--gray);
  transition:
    border var(--transition),
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  border: 1.5px solid var(--primary);
  background: #eef2ff;
  color: var(--primary);
}
.login {
  text-align: center;
  color: var(--gray);
  margin-top: 1rem;
  font-size: 1.01rem;
}
.login a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.3em;
  transition: color var(--transition);
}
.login a:hover {
  color: var(--primary);
}
@media (max-width: 480px) {
  .register-container {
    padding: 1.5rem 0.7rem;
    max-width: 97vw;
  }
  .register-header h1 {
    font-size: 1.45rem;
  }
}

/* Recouvery Acount */

* {
  box-sizing: border-box;
}
.recovery-container {
  background: var(--white);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  border-radius: var(--radius);
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.2),
    0 1.5px 4.5px rgba(0, 0, 0, 0.07);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.recovery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.recovery-header img {
  width: 58px;
  margin-bottom: 0.5rem;
}
.recovery-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.recovery-header span {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 400;
  text-align: center;
  max-width: 270px;
}
.recovery-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.3rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-group label {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.form-group input {
  border: 1.5px solid #d1d5db;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--background);
  transition: border var(--transition);
  outline: none;
}
.form-group input:focus {
  border: 1.5px solid var(--primary);
  background: #eef2ff;
}
.recovery-btn {
  background: linear-gradient(90deg, var(--primary) 70%, var(--accent) 100%);
  color: var(--white);
  border: none;
  padding: 0.9rem 0;
  border-radius: 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
  transition:
    background var(--transition),
    transform var(--transition);
  letter-spacing: 0.03em;
}
.recovery-btn:hover {
  background: linear-gradient(90deg, var(--accent) 30%, var(--primary) 100%);
  transform: translateY(-2px) scale(1.01);
}
.back-login {
  text-align: center;
  color: var(--gray);
  margin-top: 1.1rem;
  font-size: 1.01rem;
}
.back-login a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.3em;
  transition: color var(--transition);
}
.back-login a:hover {
  color: var(--primary);
}
@media (max-width: 480px) {
  .recovery-container {
    padding: 1.5rem 0.7rem;
    max-width: 97vw;
  }
  .recovery-header h1 {
    font-size: 1.45rem;
  }
}

/* PROFILE PAGE  ######################
    #######################################*/

.profile-container {
  display: flex;
  margin-top: 2rem;
  height: 100vh !important;
}

.profile-sidebar {
  background: #fff;
  border-right: 1px solid #eaeaea;
  padding: 30px 20px;
  box-sizing: border-box;
}

.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #cccccc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-sidebar h2 {
  margin: 12px 0 2px;
  font-size: 1.3em;
}

.profile-sidebar .email {
  color: #777;
  font-size: 0.98em;
}

#edit-profile-btn {
  background: #1a78d7;
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

#edit-profile-btn:hover {
  background: #125ba3;
}

.profile-sidebar nav {
  margin-top: 32px;
}

.profile-sidebar nav ul {
  list-style: none;
  padding: 0;
}

.profile-sidebar nav li {
  margin: 20px 0;
}

.profile-sidebar nav a.logout {
  color: #d11a1a;
}

.profile-template {
  flex: 1;
  padding: 10px 10px;
  background: #f6f7fb !important;
}

.profile-template h3 {
  margin-top: 0;
  font-size: 1.38em;
  margin-bottom: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 35px;
  margin-bottom: 34px;
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 1px 3px #dbdde5;
  font-size: 1.02em;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 0px 2px #dbdde5;
  background: #fff;
  margin-bottom: 34px;
}

.orders-table th,
.orders-table td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid #e2e6ee;
}

.orders-table th {
  background: #f0f4fa;
  font-weight: 500;
}

.orders-table td button {
  background: #ddd;
  border: none;
  padding: 6px 16px;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.orders-table td button:hover {
  background: #cce3fc;
}

.addresses {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.address-card {
  background: #fff;
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: 0 1px 3px #e3e6ed;
  min-width: 240px;
  max-width: 340px;
  flex: 1;
  margin-bottom: 10px;
}

.address-card h4 {
  margin: 0 0 5px;
  font-size: 1.09em;
  color: #1a78d7;
}

.address-card button {
  margin-right: 7px;
  background: #eee;
  border: none;
  padding: 6px 13px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.address-card button:hover {
  background: #cce3fc;
}

.favorite-item {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 11px;
  box-shadow: 0 1px 2px #e3e6ed;
  min-width: 220px;
  max-width: 320px;
  flex: 1;
}

.favorite-item img {
  width: 56px;
  height: 56px;
  border-radius: 7px;
  margin-right: 14px;
  object-fit: cover;
  border: 1px solid #eaeaea;
}

.favorite-item div {
  flex: 1;
}

.favorite-item button {
  background: #eee;
  border: none;
  padding: 6px 13px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.favorite-item button:hover {
  background: #cce3fc;
}

@media (max-width: 900px) {
  .profile-container {
    flex-direction: column;
    min-height: unset;
  }

  .profile-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eaeaea;
    flex-direction: row;
    align-items: center;
    padding: 20px 10px;
  }

  .profile-main {
    padding: 23px 8px;
  }
}

/*  */
/* ============================================
       ESTILO DE EDIÇÃO DE ENDEREÇO
       Baseado no design system existente
       ============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Container principal */
.address-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
       HEADER DA PÁGINA
       ============================================ */
.address-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 20px;
}

.address-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red-doby);
  letter-spacing: -0.02em;
}

.address-header p {
  color: var(--gray);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

/* ============================================
       CARD PRINCIPAL
       ============================================ */
.address-card,
.root-address {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.profile-template {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 1;
  margin-bottom: 10px;
}
.address-card:hover {
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
}

/* ============================================
       LAYOUT EM GRID - 3 COLUNAS
       ============================================ */
.address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
}

/* Cada coluna */
.address-column {
  background: transparent;
}

.column-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-doby);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-lighter);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.column-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--red-doby);
  stroke-width: 1.8;
}

/* ============================================
       GRUPOS DE FORMULÁRIO
       ============================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-weight: 600;
  color: var(--red-doby);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.form-group label .required-label {
  color: var(--danger);
  margin-left: 0.25rem;
}

.form-group input,
.form-group select {
  border: 1.5px solid var(--gray-lighter);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  background: var(--background);
  transition:
    border var(--transition),
    box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--red-doby);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: #fff5f5;
}

.form-group input:hover,
.form-group select:hover {
  border-color: var(--gray);
}

/* Campos somente leitura */
.readonly-input {
  background: #f9fafb;
  border-color: var(--gray-lighter);
  color: var(--gray);
  cursor: default;
}

.readonly-input:focus {
  border-color: var(--gray-lighter);
  box-shadow: none;
  background: #f9fafb;
}

/* ============================================
       BADGES E INFORMAÇÕES ADICIONAIS
       ============================================ */
.info-badge {
  background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--red-doby);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-left: 3px solid var(--red-doby);
}

.info-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--red-doby);
  flex-shrink: 0;
}

.divider-light {
  height: 1px;
  background: linear-gradient(90deg, var(--gray-lighter), transparent);
  margin: 1rem 0 1.25rem;
}

/* ============================================
       AÇÕES DO FORMULÁRIO
       ============================================ */
.form-actions {
  border-top: 1px solid var(--gray-lighter);
  padding: 1.5rem 2rem;
  background: #fefefe;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Botões no estilo do design system */
.btn {
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  border: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(90deg, var(--red-doby) 70%, var(--accent) 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--accent) 30%, var(--red-doby) 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--gray-lighter);
  color: var(--gray);
}

.btn-secondary:hover {
  background: var(--background);
  border-color: var(--red-doby);
  color: var(--red-doby);
}

/* ============================================
       MENSAGENS DE VALIDAÇÃO
       ============================================ */
.error-message {
  color: var(--danger);
  font-size: 0.7rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

input.error,
select.error {
  border-color: var(--danger);
  background: #fff5f5;
}

/* ============================================
       RESPONSIVIDADE
       ============================================ */
@media (max-width: 1024px) {
  .address-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  body {
    padding: 1.5rem;
  }
}

/* ============================================
       ANIMAÇÕES
       ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.address-card {
  animation: fadeIn 0.4s ease-out;
}

/* ============================================
       UTILITÁRIOS
       ============================================ */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

small {
  color: var(--gray-light);
  font-size: 0.7rem;
  display: block;
  margin-top: 0.25rem;
}

/* DASH BOARD */

.perfil-container {
  border-radius: 10px;
  display: flex;
  min-height: 100vh;
  background: var(--background);
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* Sidebar */
.dashboard-sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-lighter);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.sidebar-header {
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--gray-lighter);
}

.sidebar-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.sidebar-nav {
  flex: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--gray);
  transition: all var(--transition);
  font-weight: 500;
  font-size: 0.875rem;
}

.nav-item:hover {
  background: rgba(220, 38, 38, 0.05);
  color: var(--primary);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.1), rgba(245, 158, 66, 0.05));
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

.nav-item.logout {
  margin-top: auto;
  color: var(--danger);
}

.nav-item.logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

.sidebar-footer {
  padding: 1rem;
}

/* Main Content */
/* Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-lighter);
}

.header-welcome h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.header-welcome h1 span {
  color: var(--accent);
}

.header-welcome p {
  color: var(--gray);
  font-size: 0.875rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.notification-icon {
  position: relative;
  cursor: pointer;
  color: var(--gray);
  transition: color var(--transition);
}

.notification-icon:hover {
  color: var(--primary);
}

.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  border-radius: 1rem;
  font-weight: 600;
}

.user-avatar {
  cursor: pointer;
}

.avatar-initials {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.stat-info h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

/* Section Cards */
.section-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.view-all,
.edit-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.view-all:hover,
.edit-link:hover {
  color: var(--primary);
}

/* Orders Table */
.orders-table-wrapper {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  text-align: left;
  padding: 0.75rem;
  color: var(--gray);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gray-lighter);
}

.orders-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--gray-lighter);
  color: var(--gray);
  font-size: 0.875rem;
}

.order-status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.order-status-entregue {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.order-status-pendente {
  background: rgba(16, 185, 129, 0.1);
  color: #1a78d7;
}
.order-status-enviado {
  background: rgba(245, 158, 66, 0.1);
  color: #f59e42;
}

.order-status-processando {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.action-btn {
  background: var(--background);
  border: 1px solid var(--gray-lighter);
  padding: 0.375rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}

.action-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Two Columns */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Profile Info */
.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-lighter);
}

.info-label {
  font-weight: 600;
  color: var(--gray);
  font-size: 0.875rem;
}

.info-value {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
}

/* Address Info */
.address-details {
  margin-bottom: 1rem;
}

.address-street {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.address-complement,
.address-city {
  color: var(--gray);
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.secondary-btn {
  background: var(--background);
  border: 1px solid var(--gray-lighter);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}

.secondary-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Favorites Grid */
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.favorite-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--background);
  border-radius: 0.5rem;
  transition: all var(--transition);
}

.favorite-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fav-image {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--gray-lighter);
}

.fav-info {
  flex: 1;
}

.fav-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.fav-info p {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.fav-btn {
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
}

.fav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.dashboard-sidebar.active {
  transform: translateX(0);
}
.open-profile-menu {
  margin-bottom: 10px;
  width: fit-content;
}
/* Responsive */
@media (max-width: 768px) {
  /*   .dashboard-sidebar {
    transform: translateX(-100%);
    position: fixed;
    z-index: 1000;
    transition: transform 0.3s;
  } */

  .dashboard-sidebar.active {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
    padding: 1rem;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
  }
}
