
.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: 9999;

  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;
}

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


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


.modal-button {
    padding: 6px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    float: right;
}

.modal-button:hover {
    background: #0056b3;
}


.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;
}
