@media (prefers-color-scheme: dark) {
  html {
    background-color: #fff !important;
    color-scheme: only light;
  }

  body, body * {
    background: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
  }
}

/* ===== Toast Notifications ===== */
.notifications {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 9999;
  }
  .notifications :where(.toast, .column) {
    display: flex;
    align-items: center;
  }
  .notifications .toast {
    width: 400px;
    position: relative;
    overflow: hidden;
    list-style: none;
    border-radius: 4px;
    padding: 16px 17px;
    margin-bottom: 10px;
    background: #fff;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: show_toast 0.3s ease forwards;
  }
  @keyframes show_toast {
    0% { transform: translateX(100%); }
    40% { transform: translateX(-5%); }
    80% { transform: translateX(0%); }
    100% { transform: translateX(-10px); }
  }
  .toast::before {
    content: "";
    position: absolute;
    height: 3px;
    width: 100%;
    bottom: 0;
    left: 0;
    animation: progress 5s linear forwards;
  }
  @keyframes progress {
    100% { width: 0%; }
  }
  .toast.success::before { background: #0ABF30; }
  .toast.error::before   { background: #E24D4C; }
  
  .toast .column i {
    font-size: 1.75rem;
    margin-right: 12px;
  }
  .toast.success .column i { color: #0ABF30; }
  .toast.error .column i   { color: #E24D4C; }
  
  .toast span {
    font-size: 1.07rem;
  }
  .toast i:last-child {
    color: #999;
    cursor: pointer;
    margin-left: 12px;
  }
  .toast i:last-child:hover {
    color: #333;
  }
  