.drupal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.drupal-modal {
    background: #fff;
    border-radius: 8px;
    padding: 1rem 1rem 1.5rem 1.5rem;
    width: min(480px, 90vw);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.drupal-modal .drupal-modal__content{
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.drupal-modal .drupal-modal__content .drupal-modal__content-header .drupal-modal__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
   
.drupal-modal__body {
    font-size: 14px;
    line-height: 1.25;
    color: #555;
    margin: 0.5rem 0.25rem;
}
  
.drupal-modal__footer {
    display: flex;
    justify-content: flex-end;
    padding-left: 48px;
}
  
.drupal-modal__close {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.drupal-modal__close .drupal-modal__close-button{
    background-color: initial;
    border: 0;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-gray-100);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
}

.drupal-modal--status .drupal-modal__icon{
    color: #2d7a3a;
    background: var(--color-gray-050);
}
  
.drupal-modal--warning .drupal-modal__icon {
    background: #fff8e1;
    color: #b45309;
}

.drupal-modal--warning .drupal-modal__type {
    color: #b45309;
}

.drupal-modal--warning .drupal-modal__close {
    border-color: #b45309; color: #b45309;
}
  
.drupal-modal--error .drupal-modal__icon {
    background: #fdecea;
    color: #b91c1c;
}

.drupal-modal--error .drupal-modal__type {
    color: #b91c1c;
}

.drupal-modal--error .drupal-modal__close {
    border-color: #b91c1c; color: #b91c1c;
}
  
.drupal-modal--info .drupal-modal__icon {
    background: #e8f0fe;
    color: #1a56db;
}

.drupal-modal--info .drupal-modal__type {
    color: #1a56db;
}

.drupal-modal--info .drupal-modal__close {
    border-color: #1a56db; color: #1a56db;
}
