/* ========================================
   ESTILOS DO PAINEL ADMINISTRATIVO
   Design elegante alinhado com a identidade da marca
======================================== */

:root {
  --primary-color: #ff006e;
  --primary-dark: #d90166;
  --secondary-color: #c9004e;
  --secondary-dark: #9c0040;
  --accent-pink: #ff4d94;
  --success-color: #4caf50;
  --danger-color: #f44336;
  --warning-color: #ff9800;
  --dark: #1a1a1a;
  --dark-gray: #2d2d2d;
  --gray: #666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --sexy-glow: rgba(255, 0, 110, 0.6);
}

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

body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  background: var(--dark);
  color: #e0e0e0;
  line-height: 1.6;
}

/* ========================================
   TELA DE LOGIN
======================================== */
.login-container {
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    var(--dark-gray) 50%,
    #1f1f1f 100%
  );
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--sexy-glow);
  border-radius: 50%;
  top: -250px;
  right: -250px;
  animation: float 6s ease-in-out infinite;
  filter: blur(80px);
}

.login-container::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--sexy-glow);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
  animation: float 8s ease-in-out infinite reverse;
  filter: blur(60px);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.btn-back-to-store {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.7rem 1.3rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-back-to-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--sexy-glow);
  text-decoration: none;
}

.login-box {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 25px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 40px var(--sexy-glow),
    inset 0 0 1px rgba(255, 0, 110, 0.3);
  width: 100%;
  max-width: 380px;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: slideUp 0.5s ease;
  border: 1px solid rgba(255, 0, 110, 0.4);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-box h1 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.login-subtitle {
  color: #999;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.login-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #e0e0e0;
  font-size: 0.85rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: rgba(45, 45, 45, 0.8);
  color: #e0e0e0;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--sexy-glow);
  background: rgba(45, 45, 45, 0.95);
}

.btn-login {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.8rem;
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 0, 110, 0.4);
}

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

.error-message {
  background: rgba(200, 0, 0, 0.2);
  color: #ff4444;
  padding: 0.8rem;
  border-radius: 12px;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  border: 2px solid rgba(255, 68, 68, 0.5);
}

.btn-forgot {
  display: block;
  width: 100%;
  padding: 0.7rem;
  background: transparent;
  color: #999;
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.8rem;
  text-align: center;
  text-decoration: none;
}

.btn-forgot:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--sexy-glow);
  text-decoration: none;
  box-shadow: 0 0 20px var(--sexy-glow);
}

.login-hint {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  text-align: center;
}

/* ========================================
   PAINEL ADMINISTRATIVO
======================================== */
.admin-panel {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.admin-header {
  background: linear-gradient(135deg, var(--dark), var(--dark-gray));
  padding: 1rem 0;
  box-shadow:
    0 5px 20px rgba(0, 0, 0, 0.5),
    0 0 30px var(--sexy-glow);
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 0, 110, 0.3);
}

.admin-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h1 {
  font-size: 1.3rem;
  color: white;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-back-store {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-back-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--sexy-glow);
  text-decoration: none;
}

.admin-user {
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

.btn-logout {
  padding: 0.6rem 1.2rem;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-logout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--sexy-glow);
  background: var(--secondary-color);
}

/* ========================================
   CONTEÚDO PRINCIPAL
======================================== */
.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  max-height: calc(100vh - 70px);
}

/* Estatísticas */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(45, 45, 45, 0.9) 0%,
    rgba(30, 30, 30, 0.9) 100%
  );
  padding: 1rem;
  border-radius: 15px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px var(--sexy-glow);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.7),
    0 0 40px var(--sexy-glow);
  border-color: var(--primary-color);
}

.stat-icon {
  font-size: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.stat-info h3 {
  font-size: 1.6rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.2rem;
  font-weight: 800;
}

.stat-info p {
  color: #999;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Barra de Ações */
.actions-bar {
  background: linear-gradient(
    135deg,
    rgba(45, 45, 45, 0.9) 0%,
    rgba(30, 30, 30, 0.9) 100%
  );
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px var(--sexy-glow);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.btn-primary {
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 0, 110, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 0, 110, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-warning {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-warning:active {
  transform: translateY(-1px);
}

.btn-warning:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  color: #e0e0e0;
}

.filter-select {
  padding: 0.7rem 1rem;
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  background: rgba(45, 45, 45, 0.9);
  color: #e0e0e0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--sexy-glow);
}

/* Container de Produtos */
.products-container {
  background: linear-gradient(
    135deg,
    rgba(45, 45, 45, 0.9) 0%,
    rgba(30, 30, 30, 0.9) 100%
  );
  padding: 2rem;
  border-radius: 20px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px var(--sexy-glow);
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.products-container h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.products-list {
  display: grid;
  gap: 1rem;
}

.product-item {
  background: linear-gradient(
    135deg,
    rgba(35, 35, 35, 0.9) 0%,
    rgba(25, 25, 25, 0.9) 100%
  );
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.product-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px var(--sexy-glow);
  transform: translateY(-2px);
}

.product-item.sold-out {
  opacity: 0.6;
  background: #f9f9f9;
}

.product-image {
  width: 100px;
  height: 100px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 0, 110, 0.2);
}

.product-info {
  flex: 1;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #e0e0e0;
  font-weight: 700;
}

.product-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(255, 0, 110, 0.3);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--success-color), #66bb6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.product-status {
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  display: inline-block;
  font-size: 0.9rem;
}

.status-available {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
}

.status-sold-out {
  background: linear-gradient(135deg, #ffebee, #ffcdd2);
  color: #c62828;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-edit {
  background: linear-gradient(135deg, #2196f3, #64b5f6);
  color: white;
}

.btn-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn-delete {
  background: var(--danger-color);
  color: white;
}

.btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

.btn-toggle {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
  color: white;
}

.btn-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.empty-message {
  text-align: center;
  padding: 3rem;
  color: #999;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* ========================================
   MODAL DE PRODUTO
======================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.98) 0%,
    rgba(20, 20, 20, 0.98) 100%
  );
  border-radius: 30px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 40px var(--sexy-glow);
  animation: slideUp 0.3s ease;
  border: 1px solid rgba(255, 0, 110, 0.4);
}

.modal-header {
  padding: 2rem;
  background: linear-gradient(135deg, var(--dark), var(--dark-gray));
  border-radius: 30px 30px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 0, 110, 0.3);
}

.modal-header h2 {
  font-size: 1.5rem;
  color: white;
  font-weight: 800;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-weight: 300;
}

.btn-close-modal:hover {
  background: white;
  color: var(--primary-color);
  transform: rotate(90deg);
}

.product-form {
  padding: 2rem;
}

.product-form .form-group {
  margin-bottom: 1.5rem;
}

.product-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #e0e0e0;
  font-size: 1rem;
}

.product-form input,
.product-form select {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  background: rgba(45, 45, 45, 0.8);
  color: #e0e0e0;
}

.product-form input:focus,
.product-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--sexy-glow);
  background: rgba(45, 45, 45, 0.95);
}

.product-form small {
  display: block;
  margin-top: 0.3rem;
  color: #999;
  font-size: 0.85rem;
}

.form-group-checkbox {
  margin: 2rem 0;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 110, 0.15),
    rgba(201, 0, 78, 0.15)
  );
  border-radius: 15px;
  border: 2px solid rgba(255, 0, 110, 0.4);
}

.form-group-checkbox input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
  transform: scale(1.2);
}

.form-group-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}

.form-group-checkbox label strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.form-group-checkbox label small {
  display: block;
  color: #999;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-secondary {
  flex: 1;
  padding: 1rem;
  background: rgba(60, 60, 60, 0.9);
  color: #e0e0e0;
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: #d0d0d0;
  transform: translateY(-2px);
}

.form-actions .btn-primary {
  flex: 1;
  padding: 1rem;
  font-size: 1rem;
}

/* Preview de Imagem */
.image-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(40, 40, 40, 0.9),
    rgba(30, 30, 30, 0.9)
  );
  border: 2px dashed rgba(255, 0, 110, 0.5);
  border-radius: 15px;
  text-align: center;
}

.image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   NOTIFICAÇÃO
======================================== */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--success-color), #66bb6a);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  font-size: 1rem;
  z-index: 2000;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification.error {
  background: linear-gradient(135deg, var(--danger-color), #ef5350);
}

/* ========================================
   RESPONSIVIDADE
======================================== */
@media (max-width: 768px) {
  .admin-header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .actions-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .product-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-image {
    margin: 0 auto;
  }

  .product-actions {
    flex-direction: row;
  }

  .form-actions {
    flex-direction: column;
  }

  .notification {
    right: 1rem;
    left: 1rem;
  }
}

/* ========================================
   MODAL DE RECUPERAÇÃO DE SENHA
======================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal .modal-content {
  background: white;
  border-radius: 25px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s ease;
}

.modal .modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 1.5rem 2rem;
  border-radius: 25px 25px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal .modal-header h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.modal .modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal .modal-body {
  padding: 2rem;
}

.success-message {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  padding: 1rem;
  border-radius: 15px;
  font-weight: 600;
  text-align: center;
  border: 2px solid #b1dfbb;
}
