/* ----------------- Dialog push ----------------- */

/* Container dialog — poziționare jos-dreapta, fără overlay */
.perfecty-push-dialog-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: auto;
  height: auto;
  display: flex; /* schimbat de la none la flex pentru vizibilitate inițială */
  justify-content: flex-end;
  align-items: flex-end;
  background: transparent;
  z-index: 100000;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Caseta dialog */
.perfecty-push-dialog-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 300px;
  background: #fff;
  padding: 20px 18px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  text-align: left;
  animation: slideIn 0.4s ease;
  pointer-events: auto;
}

.perfecty-push-dialog-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #000;
}

/* Butoane dialog */
.perfecty-push-dialog-buttons button {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  min-width: 120px;
  max-width: 120px;
  height: 44px;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

#perfecty-push-dialog-cancel {
  background-color: #e6f0ff;
  color: #0066cc;
}

#perfecty-push-dialog-cancel:hover {
  background-color: #d4e6ff;
}

#perfecty-push-dialog-subscribe {
  background-color: #0066cc;
  color: #fff;
}

#perfecty-push-dialog-subscribe:hover {
  background-color: #1a75ff;
}

/* ----------------- Setări push ----------------- */

/* Container setări */
.perfecty-push-settings-container {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 100000;
  display: flex; /* flex pentru vizibilitate și poziționare corectă */
  flex-direction: column;
  align-items: flex-start;
}

/* Formular setări */
#perfecty-push-settings-form {
  display: none; /* inițial ascuns, JS îl va afișa */
  background: #fff;
  color: #000000;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  margin-bottom: 15px;
}

#perfecty-push-settings-form label {
  display: inline-block;
  margin-left: 8px;
  cursor: pointer;
}

/* Buton deschidere setări — clopoțel mic și alb */
#perfecty-push-settings-open {
  height: 55px;       
  width: 55px;        
  background-color: #0066cc; /* albastru ca butonul de subscribe */
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#perfecty-push-settings-open:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

#perfecty-push-settings-open svg {
  width: 25px;
  height: 25px;
  fill: #fff !important; /* forțează alb chiar dacă SVG-ul are alt fill */
}

/* Animație slideIn */
@keyframes slideIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
