/* ===== Toaster Message ===== */

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  min-width: 250px;
  margin-bottom: 10px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

/* types */
.toast.success { background: #28a745; }
.toast.error   { background: #dc3545; }
.toast.warning { background: #f0ad4e; }

/* show animation */
.toast.show {
  opacity: 1;
  transform: translateX(0);
}



 .section-wrapper {
    position: relative;
    min-height: 200px;
}

/* Loader overlay inside section */
.loader {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Hide by default */
.loader .hidden {
    display: none;
}
.loaderhidden{
    display: none;
}
/* Spinner Center */
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #3498db;
    border-radius: 50%;

    animation: spin 1s linear infinite;
    z-index: 10;
}

/* Animation */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
