/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/components/ui/Modal/Modal.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
/* ================================================================
   W O O P Z E   M O D A L   S Y S T E M
   ================================================================ */

/* ── Backdrop ─────────────────────────────────────────────────── */
.Modal_backdrop___W1_c {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 40, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.Modal_backdropVisible__uSQg1 {
  opacity: 1;
  pointer-events: auto;
}

/* ── Panel base ───────────────────────────────────────────────── */
.Modal_panel__QCe7z {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
}

.Modal_panelCenter__6Jy9E {
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(10, 12, 42, 0.18),
    0 4px 16px  rgba(10, 12, 42, 0.08),
    0 0 0 1px   rgba(0,   0,  0, 0.05);
}

.Modal_panelLeft__eyg3S {
  border-radius: 0;
  box-shadow:
     4px 0 40px rgba(10, 12, 42, 0.18),
     0 0 0 1px  rgba(0,   0,  0, 0.04);
}

.Modal_panelRight__hhgxZ {
  border-radius: 0;
  box-shadow:
    -4px 0 40px rgba(10, 12, 42, 0.18),
      0 0 0 1px rgba(0,   0,  0, 0.04);
}

/* ── Header ───────────────────────────────────────────────────── */
.Modal_header__dOsfK {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: none;
  flex-shrink: 0;
}

.Modal_headerDefault__EMC7S { background: #ffffff; }

.Modal_headerDanger__Y6U6y {
  background: #ffffff;
}

.Modal_headerWarning__KrFO1 {
  background: #ffffff;
}

.Modal_headerText__5xyyo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.Modal_title__2z7is {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.Modal_titleDanger___QmGr  { color: #b91c1c; }
.Modal_titleWarning__H6uo6 { color: #92650a; }

.Modal_description__l7uH7 {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* ── Close button ─────────────────────────────────────────────── */
.Modal_closeBtn__z3Os1 {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: 8px;
  color: #b0b5ce;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  padding: 0;
  margin: -2px -2px 0 4px;
}

.Modal_closeBtn__z3Os1:hover {
  background: rgba(26, 31, 60, 0.07);
  color: #1a1f3c;
}

.Modal_closeBtnDanger__fsvih:hover {
  background: rgba(240, 96, 96, 0.10);
  color: #d93025;
}

.Modal_closeBtnWarning__4XJ_S:hover {
  background: rgba(245, 158, 11, 0.10);
  color: #92650a;
}

/* ── Progress bar ─────────────────────────────────────────────── */
.Modal_progressTrack__Z5w0Z {
  height: 3px;
  background: #f0f2f7;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.Modal_progressFill__aosxw {
  height: 100%;
  background: linear-gradient(90deg, var(--dash-ac), var(--dash-pu));
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.Modal_progressDanger__S2AAU .Modal_progressFill__aosxw  { background: linear-gradient(90deg, #f06060, #e04040); }
.Modal_progressWarning__htQNl .Modal_progressFill__aosxw { background: linear-gradient(90deg, #f59e0b, #d97706); }

.Modal_progressIndeterminate__MquQv {
  width: 40% !important;
  transition: none !important;
  animation: Modal_progressSweep__GJbz4 1.4s ease-in-out infinite;
}

/* ── Body ─────────────────────────────────────────────────────── */
.Modal_body__ahiS3 {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
}

.Modal_body__ahiS3::-webkit-scrollbar       { width: 5px; }
.Modal_body__ahiS3::-webkit-scrollbar-track { background: transparent; }
.Modal_body__ahiS3::-webkit-scrollbar-thumb { background: #e0e4f0; border-radius: 3px; }

/* ── Footer ───────────────────────────────────────────────────── */
.Modal_footer__vChwy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 20px 20px;
  border-top: none;
  flex-shrink: 0;
  background: #ffffff;
}

/* Each direct child fills equal space */
.Modal_footer__vChwy > * {
  flex: 1;
  min-height: 40px;
}

/* Buttons inside footer fill their slot fully */
.Modal_footer__vChwy button {
  border-radius: 2px !important;
  width: 100%;
  height: 40px;
}

/* ── Stack peek indicator ─────────────────────────────────────── */
/* Peeked side panels show a subtle edge handle */
.Modal_peekHandle__AoY6Y {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 48px;
  border-radius: 2px;
  background: rgba(123, 108, 247, 0.35);
}

.Modal_peekHandleLeft__CeUsX  { right: 8px; }
.Modal_peekHandleRight__xVFJx { left: 8px; }

/* ================================================================
   @keyframes
   ================================================================ */

@keyframes Modal_enterCenter__2JFwp {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

@keyframes Modal_leaveCenter__Ycxpe {
  from { opacity: 1; transform: scale(1)    translateY(0);    }
  to   { opacity: 0; transform: scale(0.92) translateY(12px); }
}

@keyframes Modal_enterLeft__CQMfI {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0);     }
}

@keyframes Modal_leaveLeft__Z30iK {
  from { transform: translateX(0);     }
  to   { transform: translateX(-100%); }
}

@keyframes Modal_enterRight__kSPbq {
  from { transform: translateX(100%); }
  to   { transform: translateX(0);    }
}

@keyframes Modal_leaveRight__KtEdB {
  from { transform: translateX(0);    }
  to   { transform: translateX(100%); }
}

@keyframes Modal_progressSweep__GJbz4 {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(200%);  }
  100% { transform: translateX(200%);  }
}

/* ================================================================
   Animation trigger classes
   center → applied to .panel  |  left/right → applied to .wrap
   ================================================================ */

.Modal_enterCenterAnim___CWF4 {
  animation: Modal_enterCenter__2JFwp 0.28s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.Modal_leaveCenterAnim__hIOaM {
  animation: Modal_leaveCenter__Ycxpe 0.22s cubic-bezier(0.4, 0, 1, 1) both;
}

.Modal_enterLeftAnim__FTsWd {
  animation: Modal_enterLeft__CQMfI 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.Modal_leaveLeftAnim__QX6tq {
  animation: Modal_leaveLeft__Z30iK 0.26s cubic-bezier(0.4, 0, 1, 1) both;
}

.Modal_enterRightAnim___ZTm5 {
  animation: Modal_enterRight__kSPbq 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.Modal_leaveRightAnim__oVmhX {
  animation: Modal_leaveRight__KtEdB 0.26s cubic-bezier(0.4, 0, 1, 1) both;
}

