
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 29999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}


.theme-light .modal-box {
  background: white;
  color: #333;
}

.theme-dark .modal-box {
  background: #282f46;
  color: white;
}


.modal-box {
    padding: 20px;
    border-radius: 10px;
    width: 520px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    text-align: left;
    font-family: sans-serif;
    background: white;
}

.modal-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}


.modal-content {
    font-size: 14px;
    margin-bottom: 20px;
}

.modal-button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-footer-custom {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.modal-footer-custom .btn-cancel {
width: 120px;
}
.modal-footer-custom .btn-confirm {
width: 77px;
}

.modal-button {
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-cancel {
    background: transparent;
    color: var(--slack-accent);
    border: 1px solid var(--slack-accent) !important;
}

.btn-cancel:hover {    
    background: #d5d5d5;
}

.btn-confirm {
    background: var(--slack-accent, #4c51bf);
    color: var(--slack-accent-text, #ffffff);
    border: 1px solid var(--slack-accent, #4c51bf);
}

.btn-confirm:hover {
    background: var(--slack-accent-strong, #3730a3);
}

.main-button {
    margin: 50px;
    padding: 8px 18px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.main-button:hover {
    background: #218838;
}


.clearfix {
  clear: both;
}
