@use "../../styles/abstracts/variables" as *;
@use "../../styles/abstracts/mixins" as *;
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

$text-muted: #6b6b6b;

.modalBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;

  /* ✅ FIX: always center vertically */
  align-items: center;

  z-index: 9999;
  padding: 1rem;
  overflow-y: auto;

  /* smooth scroll */
  -webkit-overflow-scrolling: touch;

  @media (max-width: 600px) {
    /* ❌ removed flex-start */
    align-items: center;

    padding: 1.5rem 1rem;
  }
}

.modalContent {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  padding: 1.8rem;
  position: relative;
  font-family: "Figtree" !important;
  animation: fadeIn 0.25s ease;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 20px 40px rgba(94, 56, 23, 0.08);

  max-height: calc(100vh - 4rem);
  overflow-y: auto;

  /* ✅ ensure it stays centered */
  margin: auto;

  @media (max-width: 600px) {
    max-height: calc(100vh - 2rem);
    margin: auto;
  }
}

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

.modalHeader {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  position: relative;

  h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: $text-dark;
  }

  p {
    font-size: 0.85rem;
    color: $text-muted;
  }
}

.closeBtn {
  position: absolute;
  top: 0;
  right: 0;

  width: 32px;
  height: 32px;

  border-radius: 50%;
  border: 1px solid $border;

  background: #ffffff;
  color: $text-light;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition: all 0.2s ease;

  &:hover {
    background: $primary-soft;
    color: $primary;
    transform: rotate(90deg);
  }
}

.modalForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formGroup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;

  label {
    font-size: 0.8rem;
    font-weight: 600;
    color: $text-dark;
  }

  input,
  select,
  textarea, .dateDisplay {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    background: #fafafa;
    color: $text-dark;

    transition: all 0.2s ease;

    &:hover {
      background: #fff;
      border-color: #d6c2aa;
    }

    &:focus {
      outline: none;
      border-color: #7a4b20;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(122, 75, 32, 0.08);
    }
  }

  textarea {
    height: 6rem;
  }
}

.error {
  color: #dc2626;
  font-size: 0.75rem;
}

.submitBtn {
  margin-top: 0.5rem;
  background: $green;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.2s ease;

  &:hover {
    background: $text-dark;
  }

  &:active {
    transform: scale(0.98);
  }

  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .modalContent {
    padding: 1.5rem;
  }
}

/* TOGGLE */
.toggleGroup {
  background: #faf8f6;
  border: 1px solid #f0ece7;
  padding: 14px;
  border-radius: 12px;
}

.toggleHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggleTitle {
  font-weight: 600;
  font-size: 0.9rem;
}

.toggleDesc {
  font-size: 0.75rem;
  color: $text-muted;
}

/* SWITCH */
.switch {
  position: relative;
  width: 42px;
  height: 22px;

  input {
    opacity: 0;
    width: 0;
    height: 0;
  }
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #d1d5db;
  border-radius: 20px;
  transition: 0.3s;

  &:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
  }
}

input:checked + .slider {
  background: #7a4b20;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* INFO BOX */
.infoBox {
  margin-top: 10px;
  font-size: 0.75rem;
  color: $text-muted;
}

/* BUTTON */
.submitBtn {
  margin-top: 0.7rem;

  background: linear-gradient(
    135deg,
    #7a4b20,
    #5e3817
  );

  color: #ffffff;

  border: none;
  border-radius: 12px;

  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;

  /* depth */
  box-shadow:
    0 4px 12px rgba(122, 75, 32, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);

  /* 🔥 HOVER */
  &:hover:not(:disabled) {
    background: linear-gradient(
      135deg,
      #5e3817,
      #4a2c15
    );

    transform: translateY(-1px);

    box-shadow:
      0 8px 20px rgba(122, 75, 32, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  /* 🔥 ACTIVE (CLICK FEEL) */
  &:active:not(:disabled) {
    transform: scale(0.97);

    box-shadow:
      0 3px 8px rgba(122, 75, 32, 0.2),
      inset 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  /* DISABLED */
  &:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
}


.infoBox {
  margin-top: 12px;

  padding: 0.8rem 0.9rem;

  background: rgba(122, 75, 32, 0.05);
  border: 1px solid rgba(122, 75, 32, 0.12);

  font-size: 0.8rem !important; 
  line-height: 1.4;
  font-weight: 500 !important;
  
  color: $text-dark;

  display: flex;
  align-items: flex-start;
  gap: 0.5rem;

  position: relative;

  /* subtle left accent */
  &::before {
    content: "";
    width: 3px;
    height: 100%;
    border-radius: 0px;

    background: #7a4b20;

    position: absolute;
    left: 0;
    top: 0;
  }

  /* better spacing for text */
  span {
    color: $text-muted;
  }
}

/* ================= STATUS WRAPPER ================= */
.statusWrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1rem;
}

/* ================= AVAILABILITY ================= */
.availability {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;

  width: fit-content;
}

.available {
  background: #e8f7ec;
  color: #1e8e3e;
}

.unavailable {
  background: #fdecea;
  color: #d93025;
}

/* indicator dot */
.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ================= BLOCKED STATE ================= */
.blockedState {
  font-size: 0.75rem;

  padding: 8px 10px;
  border-radius: 10px;

  background: rgba(122, 75, 32, 0.06);
  border: 1px solid rgba(122, 75, 32, 0.15);

  color: $text-dark;
}

/* ================= DISABLED FORM ================= */
fieldset:disabled {
  opacity: 0.6;
  pointer-events: none;
}


/* ================= SUCCESS BOX ================= */
.successBox {
  position: relative;

  text-align: center;

  padding: 28px 20px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #faf8f6 100%
  );

  border: 1px solid rgba(0, 0, 0, 0.05);

  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.04),
    0 20px 50px rgba(0, 0, 0, 0.06),
    0 40px 90px rgba(122, 75, 32, 0.06);

  overflow: hidden;
}

/* ================= ICON WRAPPER ================= */
.successIconWrapper {
  position: relative;

  width: 64px;
  height: 64px;

  margin: 0 auto 14px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
    circle at center,
    rgba(16, 185, 129, 0.15),
    rgba(16, 185, 129, 0.05)
  );

  box-shadow:
    0 10px 25px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  animation: popIn 0.45s ease;
}

/* glowing ring */
.successIconWrapper::after {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border: 2px solid rgba(16, 185, 129, 0.15);

  animation: pulseRing 2.5s infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ================= ICON ================= */
.successIcon {
  font-size: 36px;
  color: #10b981;
}

/* ================= TITLE ================= */
.successBox h3 {
  font-size: 16px;
  font-weight: 600;

  margin: 6px 0;
  margin-bottom: 3px !important;

  color: #1a1a1a;
  letter-spacing: -0.2px;
}

/* ================= TEXT ================= */
.successBox p {
  font-size: 13px;
  color: #6b6b6b;
  font-weight: 500;
  margin: 8px 0;
  margin-top: 4px !important;

  line-height: 1.5;
}

/* ================= HIGHLIGHT NUMBER ================= */
.successHighlight {
  font-weight: 600;
  color: #5e3817;
}

/* ================= PROGRESS ================= */
.progressBar {
  height: 10px;

  background: #f0ece7;

  border-radius: 999px;
  overflow: hidden;

  margin: 16px 0;

  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progressFill {
  height: 100%;
  border-radius: inherit;

  background: linear-gradient(
    135deg,
    #5e3817,
    #7a4b20
  );

  position: relative;

  transition: width 0.5s ease;
}

/* shimmer */
.progressFill::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

/* ================= SMALL NOTE ================= */
.smallNote {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
  margin-top: 4px;
}

/* ================= BUTTON ================= */
.successBtn {
  width: 100%;
  margin-top: 18px;

  padding: 12px;

  border-radius: 12px;

  border: none;
  cursor: pointer;

  font-size: 13px;
  font-weight: 600;

  color: #fff;

  background: linear-gradient(
    135deg,
    #5e3817,
    #7a4b20
  );

  box-shadow:
    0 6px 18px rgba(122, 75, 32, 0.25);

  transition: all 0.25s ease;
}

.successBtn:hover {
  transform: translateY(-1px);

  box-shadow:
    0 10px 24px rgba(122, 75, 32, 0.3);
}

.successBtn:active {
  transform: scale(0.98);
}

/* ================= PREVIOUS CARD ================= */
.previousCard {
  padding: 1.1rem;
  border-radius: 16px;

  background: linear-gradient(
    180deg,
    #ffffff,
    #faf8f6
  );

  border: 1px solid rgba(0, 0, 0, 0.05);

  margin-bottom: 1rem;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(0, 0, 0, 0.05);

  h4 {
    font-size: 0.75rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.6rem;
  }
}

.prevRow {
  display: flex;
  justify-content: space-between;

  font-size: 0.82rem;
  padding: 3px 0;

  span {
    color: #6b6b6b;
  }

  strong {
    color: #1a1a1a;
    font-weight: 600;
  }
}

/* ================= ANIMATION ================= */
@keyframes popIn {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .successBox {
    padding: 22px 14px;
  }

  .successIconWrapper {
    width: 70px;
    height: 70px;
  }

  .successIcon {
    font-size: 30px;
  }
}



.blockedBanner {
  display: flex;
  gap: 10px;
  align-items: flex-start;

  padding: 12px;
  border-radius: 10px;

  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);

  color: #b91c1c;

  svg {
    margin-top: 2px;
  }

  strong {
    font-size: 13px;
    display: block;
  }

  p {
    font-size: 14px;
    margin: 2px 0 0;
  }
}

.disabledFieldset {
  opacity: 0.6;
  pointer-events: none;
}


/* ================= CONFIRM BOX ================= */
.confirmBox {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;
  border-radius: 16px;

  /* 🔥 softer background */
  background: #faf8f6;

  /* 🔥 ultra subtle border */
  border: 1px solid rgba(94, 56, 23, 0.06);

  cursor: pointer;
  transition: all 0.25s ease;

  /* 🔥 diffused shadow (luxury feel) */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 18px rgba(0, 0, 0, 0.04);
}

/* hover */
.confirmBox:hover {
  background: #ffffff;

  border-color: rgba(94, 56, 23, 0.08);

  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.05);
}

/* active */
.confirmActive {
  background: #fffdfb;

  border-color: rgba(94, 56, 23, 0.12);

  box-shadow:
    0 4px 12px rgba(122, 75, 32, 0.08),
    0 16px 32px rgba(122, 75, 32, 0.06);
}

/* ================= CHECK WRAPPER ================= */
.checkWrapper {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* hide native */
.checkWrapper input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* ================= CUSTOM CHECK ================= */
.customCheck {
  width: 100%;
  height: 100%;

  border-radius: 6px;

  /* 🔥 softer border */
  border: 1.5px solid rgba(94, 56, 23, 0.2);

  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.2s ease;
}

/* hover */
.confirmBox:hover .customCheck {
  border-color: rgba(94, 56, 23, 0.3);
}

/* active */
.confirmActive .customCheck {
  background: #5e3817;
  border-color: #5e3817;

  /* 🔥 subtle glow */
  box-shadow:
    0 3px 8px rgba(94, 56, 23, 0.25);
}

/* ================= CHECK MARK ================= */
.customCheck::after {
  content: "";

  width: 7px;
  height: 12px;

  border: solid #fff;
  border-width: 0 2px 2px 0;

  transform: rotate(45deg) scale(0);
  transition: transform 0.18s ease;
}

/* visible */
.confirmActive .customCheck::after {
  transform: rotate(45deg) scale(1);
}

/* ================= TEXT ================= */
.confirmText {
  flex: 1;
}

.confirmText p {
  margin: 0;

  font-size: 0.86rem;
  line-height: 1.55;

  /* 🔥 softer text tone */
  color: #3a3a3a;
  font-weight: 500;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .confirmBox {
    padding: 14px;
    gap: 12px;
  }

  .confirmText p {
    font-size: 0.82rem;
  }

  .checkWrapper {
    width: 20px;
    height: 20px;
  }

  .customCheck::after {
    width: 6px;
    height: 10px;
  }
}




//Permissions modal styling 
/* ================= USER INFO ================= */
.permissionUser {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.4rem;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #faf8f6);
  border: 1px solid #f0e8df;

  strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
  }

  small {
    font-size: 0.75rem;
    color: #7a7a7a;
  }
}

/* AVATAR */
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5e3817, #7a4b20);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(94, 56, 23, 0.25);
}

/* ================= INFO BOX (FLAT STYLE) ================= */
.infoBox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px .7rem;
  font-size: 0.75rem;
  color: #7a4b20;
  margin-bottom: 1.3rem;
   span{
    font-weight: 00;
   }

  svg {
    opacity: 0.8;
  }
}

/* ================= PERMISSIONS ================= */
.permissionsList {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

/* PERMISSION ITEM */
.permissionItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #f0ece7;
  background: linear-gradient(180deg, #faf8f6, #fdfbf9);
  transition: all 0.25s ease;
  position: relative;

  &:hover {
    border-color: #e6d3b3;
    transform: translateY(-1px);
  }

  &:active {
    transform: scale(0.98);
  }
}

/* ACTIVE STATE */
.permissionActive {
  border: 1px solid rgba(122, 75, 32, 0.25);
  background: linear-gradient(180deg, #fffaf5, #fffdfb);
  box-shadow: 0 8px 20px rgba(94, 56, 23, 0.08);
}

/* ICON */
.permIcon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff3e8, #fff8f3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a4b20;
  border: 1px solid #f0d7bf;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6),
              0 4px 10px rgba(0, 0, 0, 0.04);
}

/* TEXT (🔥 FIXED STACKED LAYOUT) */
.permText {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;

  strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
  }

  small {
    font-size: 0.72rem;
    color: #6b6b6b;
    line-height: 1.3;
  }
}

/* ================= TOGGLE ================= */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;

  input {
    opacity: 0;
    width: 0;
    height: 0;
  }
}

.slider {
  position: absolute;
  inset: 0;
  background: #e0d6cc;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;

  &::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  }
}

/* ACTIVE TOGGLE */
.switch input:checked + .slider {
  background: linear-gradient(135deg, #5e3817, #7a4b20);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

/* SUBTLE RIPPLE */
.switch input:checked + .slider::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(122, 75, 32, 0.15);
  animation: ripple 0.4s ease;
}

@keyframes ripple {
  from {
    opacity: 0.5;
    transform: scale(0.9);
  }
  to {
    opacity: 0;
    transform: scale(1.3);
  }
}

/* ================= BUTTON ================= */
.submitBtn {
  margin-top: 16px;
  align-self: flex-end;
  padding: 13px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5e3817, #7a4b20);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;

  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(94, 56, 23, 0.25);
  }

  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .permissionItem {
    padding: 10px;
  }

  .permIcon {
    width: 34px;
    height: 34px;
  }

  .submitBtn {
    width: 100%;
  }
}



//Still on permission assignment
/* ================= PRESET TABS ================= */
.presetTabs {
  display: flex;
  gap: 8px;
  margin: 12px 0;

  overflow-x: auto;    
  overflow-y: hidden;
  white-space: nowrap; 

  // scrollbar-width: thin; 
  ::-webkit-scrollbar {
    display: none !important;
  }
}

.presetTab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  background: #f5f0ea;
  border: 1px solid #e6dcd2;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;

  &:hover {
    background: #efe7df;
  }
}

.activePresetTab {
  background: linear-gradient(135deg, #5e3817, #7a4b20);
  color: #fff;
  box-shadow: 0 6px 16px rgba(94, 56, 23, 0.25);
}





/* ================= TOGGLE FOR ADD PLEDGE MODAL ================= */
.toggleGroup {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toggleBtn {
  flex: 1;
  padding: 0.5rem;
  border-radius: 10px;

  font-size: 0.75rem;
  font-weight: 600;

  border: 1px solid rgba(122, 75, 32, 0.2);

  background: #fff;
  color: #5e3817;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  cursor: pointer;
}

.activeToggle {
  background: rgba(122, 75, 32, 0.1);
  border-color: rgba(122, 75, 32, 0.4);
}



//View Branch Remittance Modal specifi 
/* ================= LARGE MODAL ================= */
.largeModal {
  max-width: 500px;
  width: 95%;
}

/* ================= VIEW CONTAINER ================= */
.viewContainer {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* ================= SUMMARY ================= */
.summaryCard {
  background: linear-gradient(135deg, #5e3817, #7a4b20);
  color: #fff;

  border-radius: 14px;
  padding: 1.2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  h3 {
    font-size: 1.4rem;
    font-weight: 700;
  }

  span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
  }
}

/* ================= DETAILS GRID ================= */
.detailsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;

  @media (max-width: 600px) {
    grid-template-columns: 1fr;
  }
}

/* ================= DETAIL ITEM ================= */
.detailItem {
  background: #faf8f6;
  border: 1px solid #f0ece7;

  border-radius: 10px;
  padding: 10px;

  display: flex;
  flex-direction: column;

  span {
    font-size: 11px;
    color: #9ca3af;
  }

  strong {
    font-size: 13px;
    color: #1a1a1a;
    margin-top: 2px;
  }
}

/* ================= SECTION ================= */
.section {
  h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
  }

  p {
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.6;
  }
}

/* ================= PROOF ================= */
.proofBox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proofImage {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eee;
}

/* ================= FILE PREVIEW ================= */
.filePreview {
  display: flex;
  align-items: center;
  gap: 8px;

  background: #faf8f6;
  border: 1px solid #f0ece7;
  padding: 10px;
  border-radius: 10px;

  span {
    font-size: 13px;
    color: #6b6b6b;
  }
}

/* ================= DOWNLOAD ================= */
.downloadBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  width: fit-content;

  background: #5e3817;
  color: #fff;

  padding: 8px 12px;
  border-radius: 8px;

  font-size: 12px;
  font-weight: 500;

  text-decoration: none;

  transition: 0.2s ease;

  &:hover {
    background: #7a4b20;
  }
}

/* ================= FOOTER ================= */
.modalFooter {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.secondaryBtn {
  padding: 8px 16px;
  border-radius: 10px;

  border: 1px solid #e6dcd2;
  background: #faf8f6;

  font-size: 12px;
  font-weight: 500;

  cursor: pointer;

  &:hover {
    background: #f3ebe5;
  }
}