/* Style the main modal box */
dialog {
  border: none;
  border-radius: 8px;
  padding: 0;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background-color: #fff;

  margin:auto;
  
  /* Smooth scale-in animation */
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  padding: 2rem;
  text-align: center;
}

/* Target the dialog when it is actively open */
dialog[open] {
  transform: scale(1);
  opacity: 1;
}

/* Style the semi-transparent overlay backdrop */
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px); /* Subtle blur behind the modal */
}

/* Inner Layout Layout Styles */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
  margin: 1rem;
}

.modal-header h2 {
  margin: 1rem;
  font-size: 1.25rem;
}

.modal-body {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.5;
  margin: 1rem;
}

dialog p{
    margin-bottom: 0.5rem;
  
}

.fees-info{
  margin-bottom: 0.5rem;
  color: #0c4298;                      
  text-decoration: underline #0c4298;
  gap: 8px;
}

#nb-fees {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

#nb-fees .info-icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    display: block;
    color: #0c4298;   
    
}

#nb-fees .fees-info {
    line-height: 1;
    margin: 0;
    padding: 0;
}
