.modal { 
  display:flex; 
  align-items:center; 
  justify-content:center;
  position: fixed; 
  top:0; left:0; 
  width:100%; height:100%; 
  background: rgba(0,0,0,.5); 
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s 0.3s ease;
}

.modal.show { 
  opacity: 1; 
  visibility: visible; 
  pointer-events: auto; 
  transition: opacity 0.3s ease;
}

.modal.hidden { 
  display: none; 
}

.modal-content {
  width: 450px;
  max-width: 90%;
  position: relative;
  background: white;
  border-radius: 22px;
  padding: 24px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

.close-icon {
  width: 20px;
  height: 20px; 
}

.modal-title {
  text-align: center;
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0;
  margin-bottom: 16px;
}

.modal-text {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.45;
}

.modal-actions {
  display: flex;
  justify-content: space-evenly;
  margin-top: 10px;
  gap: 16px;
}

.accept-button {
  display: block;
  width: auto;
  margin: 0;
  padding: 0.5rem 2.35rem;
  font-size: 1.3rem;
  background: linear-gradient(180deg, #5294F8 0%, #357AE8 100%);
  color: #fff;
  border: none;
  border-radius: 17px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: filter 0.2s ease;
}

.decline-button {
  display: block;
  width: auto;
  margin: 0;
  padding: 0.5rem 1.8rem;
  font-size: 1.3rem;
  background: linear-gradient(180deg, #ff6b6b 0%, #e84848 100%);
  color: #fff;
  border: none;
  border-radius: 17px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: filter 0.2s ease;
}

.accept-button:hover,
.decline-button:hover {
  filter: brightness(0.9);
}