/* ===== Duralux-style Select2 Multi Select ===== */

.select2-container--default .select2-selection--multiple {
  min-height: 38px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px 8px;
  background-color: #fff;
}

/* Rendered list */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

/* Chip */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  /* soft gray */
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  /* pill */
  padding: 4px 10px;
  margin: 0;
  font-size: 13px;
  color: #0f172a;
}

/* REMOVE ❌ button — THIS is the important fix */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border: none !important;
  background: transparent !important;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 0;
  color: #64748b;
  /* muted gray */
  cursor: pointer;
}

/* Hover remove */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ef4444;
  /* red */
}

/* Remove ugly focus/box */
.select2-selection__choice__remove:focus,
.select2-selection__choice__remove:active {
  outline: none;
  box-shadow: none;
}

/* Search input inside select */
.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 4px;
  padding: 4px 2px;
  font-size: 14px;
}

/* 🔥 REMOVE BLUR FROM MODAL BACKDROP */
.modal-backdrop {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 🔥 REMOVE PAGE BLUR WHEN MODAL OPENS */
.modal-open {
  filter: none !important;
}

/* 🔥 IF THEME USES THIS */
.blur,
.blurred,
.has-blur {
  filter: none !important;
}

/****************************************************
  PROJECT MANAGEMENT UI (Screenshot Style)
  Add this at the END of static/css/common.css
****************************************************/

/* ============ PAGE TITLES / BREADCRUMB LOOK ============ */
body.pm-ui .page-header {
  background: transparent !important;
  border: 0 !important;
}

body.pm-ui .page-header-title h5 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

body.pm-ui .page-header-title p,
body.pm-ui .breadcrumb,
body.pm-ui .breadcrumb * {
  color: var(--pm-muted) !important;
}

/* ============ CARDS LOOK (Dashboard tiles style) ============ */
body.pm-ui .card {
  border-radius: var(--pm-radius-xl) !important;
  border: 0 !important;
  box-shadow: var(--pm-shadow-soft);
}

body.pm-ui .card .card-body {
  padding: 26px;
}

/* make stat cards look like screenshot pastel blocks */
body.pm-ui .pm-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.pm-ui .pm-stat {
  border-radius: var(--pm-radius-lg);
  padding: 18px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.pm-ui .pm-stat .pm-num {
  font-size: 34px;
  font-weight: 900;
  color: #0f172a;
}

body.pm-ui .pm-stat .pm-label {
  color: rgba(15, 23, 42, 0.70);
  font-weight: 600;
}

/* helper colors (match screenshot feel) */
body.pm-ui .pm-stat.blue {
  background: #dbeafe;
}

body.pm-ui .pm-stat.yellow {
  background: #fde7c2;
}

body.pm-ui .pm-stat.orange {
  background: #fdba9f;
}

body.pm-ui .pm-stat.green {
  background: #dcfce7;
}

/* ============ PACKAGE / TILE CARDS (2nd screenshot) ============ */
body.pm-ui .pm-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.pm-ui .pm-tile {
  border-radius: 15px;
  padding: 24px;
  /* min-height: 170px; */
  color: #fff;
  position: relative;
  box-shadow: var(--pm-shadow);
  overflow: hidden;
}

body.pm-ui .pm-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.10);
}

body.pm-ui .pm-tile .pm-tile-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

body.pm-ui .pm-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #ffffff;
  color: #111827;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* tile colors */
body.pm-ui .pm-tile.green {
  background: #12C101;
}

body.pm-ui .pm-tile.red {
  background: #DC3C37;
}

/* ============ UPLOAD LIST BUTTONS (1st screenshot) ============ */
body.pm-ui .pm-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

body.pm-ui .pm-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--pm-accent);
  color: #fff;
  box-shadow: 0 12px 22px var(--pm-accent-soft);
}

body.pm-ui .pm-upload-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.pm-ui .pm-upload-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.pm-ui .pm-upload-title {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.pm-ui .pm-upload-sub {
  margin: 0;
  opacity: 0.9;
  font-weight: 700;
  font-size: 14px;
}

body.pm-ui .pm-upload-action {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex: 0 0 auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  body.pm-ui .pm-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== HEADER ALIGNMENT FIX ========== */

/* body.pm-ui .nxl-header {
  position: fixed;
  left: calc(var(--pm-sidebar-w) + 48px);
  right: 24px;
}

body.pm-ui .nxl-header .header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
}

body.pm-ui .nxl-header .header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.pm-ui .nxl-header .header-left h3 {
  font-size: 30px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
}

body.pm-ui .nxl-header .header-right {
  display: flex;
  align-items: center;

}*/

body.pm-ui .nxl-header .nxl-head-link i {
  font-size: 22px;
  color: #061e55;
}

body.pm-ui .nxl-header .user-avtar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(6, 30, 85, 0.2);
}


/* ========== PLANNING LIST -> TILE UI ========== */

.pm-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.pm-tile {
  border-radius: 22px;
  padding: 22px;
  min-height: 135px;
  color: #fff;
  position: relative;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}

.pm-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.pm-tile-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  max-width: 85%;
}

/* pill like Completed/Pending */
.pm-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

/* background colors */
.pm-tile.green {
  background: #12C101;
}

.pm-tile.red {
  background: #DC3C37;
}

/* left soft highlight */
.pm-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: rgba(255, 255, 255, 0.22);
}

/* responsive */
@media (max-width: 992px) {
  .pm-tile-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 576px) {
  .pm-tile-grid {
    grid-template-columns: 1fr;
  }
}

/* blinking effect */
.blink-until-done {
  animation: softBlink 0.6s ease-in-out infinite;
}

/* animation */
@keyframes softBlink {
  0% {
    box-shadow: 0 0 0 rgba(255, 87, 34, 0.0);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 18px rgba(255, 87, 34, 0.6);
    transform: scale(1.01);
  }

  100% {
    box-shadow: 0 0 0 rgba(255, 87, 34, 0.0);
    transform: scale(1);
  }
}

/* =========================================
   FINAL OVERRIDE (Header + Breadcrumb clean)
   Put this at the VERY END of CSS
   ========================================= */

body.pm-ui {
  --pm-header-h: 70px;
  /* adjust if needed */
}



/* PAGE HEADER: inline title + breadcrumb, no gap */
body.pm-ui .page-header {
  margin: 0 !important;
  padding: 0 !important;
  /* important: removes gap */
}

body.pm-ui .page-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 29px 10px !important;
  /* controlled spacing only */
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  /* subtle divider line */
}

/* title */
body.pm-ui .page-header-title h5 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.1 !important;
}

/* breadcrumb smaller/lighter */
body.pm-ui .breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  transform: translateY(1px);
}

body.pm-ui .breadcrumb::before {
  content: "" !important;
  width: 1px;
  height: 18px;
  background: rgba(15, 23, 42, 0.22);
  display: inline-block;
  margin-right: 6px;
}

body.pm-ui .breadcrumb,
body.pm-ui .breadcrumb a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(15, 23, 42, 0.55) !important;
  text-decoration: none !important;
}

/* remove default separator */
body.pm-ui .breadcrumb-item::before {
  display: none !important;
}



/* =========================================
   BANNER TASK UI (IMAGE-1 STYLE)
   ========================================= */

.pm-banner-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* grid-template-columns: 1fr 1fr; */
  gap: 48px;
  align-items: start;
  margin-top: 20px;
}

/* Column title */
.pm-banner-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #f25c27;
  margin-bottom: 20px;
}

/* Banner row */
.pm-banner-item {
  background: #f25c27;
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(242, 92, 39, .35);
}

/* Left side */
.pm-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-banner-left i {
  font-size: 20px;
  opacity: .95;
}

/* Text */
.pm-banner-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.pm-banner-size {
  font-size: 13px;
  opacity: .9;
}

/* Upload button */
.pm-banner-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pm-banner-action i {
  font-size: 16px;
  color: #fff;
}

/* Hover */
.pm-banner-item:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media(max-width: 992px) {
  .pm-banner-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.pm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pm-banner-col {
  width: 100%;
  min-width: 0;
}

.pm-banner-title {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #f25c27;
  margin-bottom: 18px;
}

.pm-banner-sub {
  font-size: 12px;
  opacity: .9;
  margin-top: 2px;
}

@media(max-width: 992px) {
  .pm-two-col {
    grid-template-columns: 1fr;
  }
}

/* ===== Upload Modal UI ===== */
.pm-upload-modal {
  border-radius: 22px;
  border: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.pm-modal-title {
  margin: 0;
  font-weight: 900;
  color: #f25c27;
}

.pm-modal-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.55);
}

/* Dropzone */
.pm-dropzone {
  display: block;
  border: 2px dashed rgba(242, 92, 39, 0.35);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  background: #fff;
}

.pm-dropzone.drag {
  background: rgba(242, 92, 39, 0.06);
  border-color: rgba(242, 92, 39, 0.6);
}

.pm-dropzone-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pm-dropzone-inner i {
  font-size: 34px;
  color: #f25c27;
}

.pm-dropzone-text {
  font-weight: 800;
  color: #f25c27;
}

.pm-dropzone-hint {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.55);
}

.pm-dropzone-btn {
  background: rgba(0, 0, 0, 0.08);
  padding: 7px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.7);
  white-space: nowrap;
}

/* File row */
.pm-file-added {
  font-weight: 800;
  color: #f25c27;
  font-size: 13px;
}

.pm-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(242, 92, 39, 0.25);
  padding: 14px;
  border-radius: 12px;
}

.pm-file-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #111827;
}

.pm-file-meta {
  flex: 1;
}

.pm-file-name {
  font-weight: 800;
  color: #111827;
  font-size: 14px;
  margin-bottom: 8px;
}

/* progress */
.pm-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.pm-progress-bar {
  height: 100%;
  width: 0%;
  background: #f25c27;
  transition: width .35s ease;
}

/* buttons */
.pm-cancel {
  color: #111827 !important;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid #f25c27;
  border-radius: 20px;
}

.pm-cancel:hover {
  border: 1px solid #f25c27;
  border-radius: 20px;
}

.pm-upload-btn {
  background: #f25c27 !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 900;
  padding: 10px 22px;
  border-radius: 10px;
}

.pm-file-small {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.70);
  margin-bottom: 8px;
}

.pm-file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.pm-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(242, 92, 39, 0.25);
  padding: 12px;
  border-radius: 12px;
}

.pm-file-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #111827;
  font-size: 12px;
}

.pm-file-meta {
  flex: 1;
}

.pm-file-name {
  font-weight: 800;
  color: #111827;
  font-size: 14px;
  margin-bottom: 6px;
}

.pm-file-small {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.70);
  margin-bottom: 6px;
}

.pm-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.pm-progress-bar {
  height: 100%;
  width: 0%;
  background: #f25c27;
  transition: width .35s ease;
}

/* remove file button */
.pm-remove-file {
  border: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.65);
  cursor: pointer;
}

.pm-remove-file:hover {
  color: rgba(15, 23, 42, 0.95);
}

/* ===== PLANNING FORM UI ===== */
.pm-form-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  padding: 26px;
}

.pm-form-header h4 {
  margin: 0;
  font-weight: 900;
  color: #0f172a;
}

.pm-form-header p {
  margin: 6px 0 0;
  color: rgba(15, 23, 42, 0.55);
  font-weight: 600;
  font-size: 13px;
}

.pm-section {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.pm-sec-title {
  margin: 0 0 14px;
  font-weight: 900;
  color: #0f172a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.pm-label {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  display: block;
}

.pm-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.55);
}

/* inputs */
.pm-form-card input,
.pm-form-card select,
.pm-form-card textarea {
  width: 100%;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  padding: 10px 12px !important;
  outline: none;
}

.pm-form-card textarea {
  min-height: 110px;
}

/* file upload box */
.pm-filebox {
  border: 1px dashed rgba(15, 23, 42, 0.25);
  border-radius: 14px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.02);
}

/* right side checklist */
.pm-side-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px;
  position: sticky;
  top: 90px;
}

.pm-check-group {
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pm-check-group:last-child {
  border-bottom: 0;
}

.pm-check-title {
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 13px;
}

.pm-save-btn {
  border-radius: 12px;
  font-weight: 900;
  padding: 12px 14px;
}

.pm-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-check {
  margin-bottom: 6px;
}

/* =========================================
   ORANGE THEME – FORM CONTROLS
   ========================================= */

body.pm-ui {
  --pm-orange: #f25c27;
  --pm-orange-soft: rgba(242, 92, 39, 0.18);
  --pm-text-dark: #0f172a;
  --pm-border: rgba(15, 23, 42, 0.18);
}

/* Labels */
body.pm-ui .pm-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--pm-text-dark);
  margin-bottom: 6px;
  display: block;
}

/* ================= FILE INPUT ================= */

body.pm-ui input[type="file"].form-control {
  border-radius: 12px !important;
  border: 1px solid var(--pm-border) !important;
  padding: 8px 10px !important;
  cursor: pointer;
}

/* "Choose File" button */
body.pm-ui input[type="file"]::file-selector-button {
  border: 0 !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  margin-right: 12px !important;
  background: var(--pm-orange) !important;
  color: #fff !important;
  font-weight: 900 !important;
  cursor: pointer;
}

body.pm-ui input[type="file"]::file-selector-button:hover {
  filter: brightness(0.95);
}

/* Focus */
body.pm-ui input[type="file"]:focus {
  border-color: var(--pm-orange) !important;
  box-shadow: 0 0 0 4px var(--pm-orange-soft) !important;
}

/* ================= CHECKBOX ================= */

body.pm-ui .form-check {
  margin-bottom: 8px;
}

body.pm-ui .form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid var(--pm-orange) !important;
  border-radius: 4px;
  cursor: pointer;
}

body.pm-ui .form-check-input:focus {
  box-shadow: 0 0 0 4px var(--pm-orange-soft) !important;
}

/* Checked state */
body.pm-ui .form-check-input:checked {
  background-color: var(--pm-orange) !important;
  border-color: var(--pm-orange) !important;
}

/* Checkbox label */
body.pm-ui .form-check-label {
  color: var(--pm-text-dark);
  font-weight: 700;
  margin-left: 6px;
  cursor: pointer;
}

/* =========================================
   APPROVAL UI (Orange)
   ========================================= */

.pm-approve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 18px;
}

.pm-col-title {
  text-align: center;
  font-weight: 900;
  color: #f25c27;
  font-size: 18px;
  margin-bottom: 22px;
}

.pm-col-title-active {
  position: relative;
}

.pm-col-title-active::after {
  content: "";
  display: block;
  width: 140px;
  height: 3px;
  background: #f25c27;
  margin: 8px auto 0;
  border-radius: 10px;
}

.pm-approve-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pm-approve-card {
  flex: 1;
  background: #f25c27;
  color: #fff;
  border-radius: 14px;
  padding: 16px 16px 12px;
  box-shadow: 0 10px 22px rgba(242, 92, 39, .28);
}

.pm-approve-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pm-file-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
}

.pm-file-ic i {
  font-size: 18px;
  color: #fff;
}

.pm-task-name {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.1;
}

.pm-task-size {
  font-weight: 800;
  opacity: .9;
  font-size: 13px;
  margin-top: 2px;
}

/* Buttons row */


/* second row for testing */
.pm-approve-actions-2 {
  justify-content: flex-start;
  margin-top: 10px;
}

.pm-role-tag {
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  margin-right: 8px;
}

/* pills */
.pm-pill {
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  line-height: 1;
}

.pm-pill-ok {
  background: #16a34a;
  /* green */
  color: #fff;
}

.pm-pill-no {
  background: #ef4444;
  /* red */
  color: #fff;
}

/* Eye button */
.pm-eye-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f25c27;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 92, 39, .28);
  text-decoration: none;
}

.pm-eye-btn i {
  font-size: 18px;
}

@media(max-width: 992px) {
  .pm-approve-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===============================
   DOCUMENT UPLOAD FORM (ORANGE)
   =============================== */

.pm-doc-form {
  max-width: 1100px;
}

/* Plan name */
.pm-form-group {
  margin-bottom: 24px;
}

.pm-label {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  display: block;
  color: #0f172a;
}

.pm-input {
  border-radius: 14px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(15, 23, 42, .2) !important;
}

.pm-input:focus {
  border-color: #f25c27 !important;
  box-shadow: 0 0 0 4px rgba(242, 92, 39, .18) !important;
}

/* Upload grid */
.pm-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* Upload card */
.pm-upload-card {
  background: #f25c27;
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(242, 92, 39, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}

.pm-upload-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(242, 92, 39, .35);
}

.pm-upload-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.pm-upload-left i {
  font-size: 18px;
}

/* upload icon */
.pm-upload-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-upload-icon i {
  font-size: 16px;
}

/* submit button */
.pm-submit-btn {
  background: #f25c27;
  color: #fff;
  font-weight: 900;
  padding: 12px 26px;
  border-radius: 12px;
  border: 0;
}

.pm-submit-btn:hover {
  filter: brightness(.95);
}

/* responsive */
@media(max-width: 768px) {
  .pm-upload-grid {
    grid-template-columns: 1fr;
  }
}

.pm-upload-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-upload-title {
  font-weight: 900;
}

.pm-upload-filename {
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
  max-width: 340px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* icon turns green when file selected */
.pm-upload-icon.done {
  background: rgba(255, 255, 255, .22);
}

.pm-upload-icon.done i {
  color: #22c55e;
  /* green check */
  font-weight: 900;
}

.pm-deploy-wrap {
  max-width: 1100px;
}

.pm-deploy-head {
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.pm-deploy-task {
  font-weight: 900;
  font-size: 16px;
  color: #0f172a;
}

.pm-deploy-sub {
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 23, 42, .55);
  margin-top: 2px;
}

.pm-stage-pill {
  background: rgba(242, 92, 39, .14);
  color: #f25c27;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

.pm-deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px auto;

}

.pm-deploy-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 26px rgb(31 45 78 / 23%);

}

.pm-deploy-card-title {
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pm-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f25c27;
}

.pm-label {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  display: block;
  color: #0f172a;
}

.pm-input {
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, .18) !important;
  padding: 10px 12px !important;
}

.pm-input:focus {
  border-color: #f25c27 !important;
  box-shadow: 0 0 0 4px rgba(242, 92, 39, .18) !important;
}

.pm-orange-btn {
  background: #f25c27;
  color: #fff;
  font-weight: 900;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
}

.pm-orange-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.pm-locked {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, .06);
  color: rgba(15, 23, 42, .65);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 12px;
}

@media(max-width: 992px) {
  .pm-deploy-grid {
    grid-template-columns: 1fr;
  }
}

.pm-deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1100px;
}

/* .pm-deploy-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
} */

.pm-deploy-title {
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}

.pm-locked {
  background: rgba(15, 23, 42, .06);
  color: rgba(15, 23, 42, .65);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 12px;
}

.pm-label {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  display: block;
  color: #0f172a;
}

.pm-input {
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, .18) !important;
  padding: 10px 12px !important;
}

.pm-input:focus {
  border-color: #f25c27 !important;
  box-shadow: 0 0 0 4px rgba(242, 92, 39, .18) !important;
}

.pm-orange-btn {
  background: #f25c27;
  color: #fff;
  font-weight: 900;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
}

.pm-orange-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

@media(max-width:992px) {
  .pm-deploy-grid {
    grid-template-columns: 1fr;
  }
}

.pm-test-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  max-width: 980px;
  box-shadow: 0 12px 26px rgb(31 45 78 / 23%);
  margin: 22px auto;
}

.pm-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pm-upload-card {
  background: #f35b1f;
  color: #fff;
  border-radius: 14px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 18px 28px rgba(243, 91, 31, .28);
}

.pm-upload-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-upload-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
}

.pm-upload-sub {
  font-size: 12px;
  opacity: .9;
  margin-top: 4px;
}

.pm-upload-action {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .25);
}

.pm-btn {
  background: #f35b1f;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 18px;
  border: 0;
}

.pm-btn:hover {
  opacity: .92
}

.pm-plan-form {
  max-width: 900px;
}

.pm-label {
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.pm-input {
  height: 46px;
  border-radius: 12px;
}

.pm-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pm-doc-card {
  background: #f76525;
  color: #fff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(247, 101, 37, 0.35);
}

.pm-doc-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.pm-doc-left i {
  font-size: 22px;
}

.pm-doc-title {
  font-weight: 800;
}

.pm-doc-sub {
  font-size: 13px;
  opacity: 0.9;
}

.pm-doc-action {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.pm-btn-primary {
  background: #f76525;
  border: 0;
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
}

.pm-btn-primary:hover {
  background: #f76525;
  color: #fff !important;
  border: 1px solid #f76525;
}

/* ===== Sections layout ===== */
.pm-sections {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pm-section {
  background: #fff;
  border-radius: 18px;
  padding: 14px 14px 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.pm-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pm-section-title {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 106, 0, .10);
  color: #ff6a00;
}

/* ===== Grid: NO scroll, wrap next row ===== */
.pm-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

/* ===== Small cards ===== */


.pm-mini-card.pending {
  animation: blinkPulse 0.5s infinite;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.7);
}

.pm-mini-left {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.pm-mini-meta {
  min-width: 0;
}

.pm-mini-status {
  white-space: nowrap;
  /* keep status in one line */
}

.pm-mini-title {
  font-weight: 900;
  font-size: 14px;
  text-overflow: wrap;
  white-space: normal;
  /* ✅ allow wrapping */
  word-break: break-word;
  /* break long words */
  overflow-wrap: anywhere;
  /* safe wrap */
  line-height: 1.25;
  max-width: 100%;
}

.pm-mini-size {
  font-weight: 700;
  opacity: .9;
  margin-left: 6px;
  font-size: 12px;
}

.pm-mini-sub {
  font-size: 12px;
  opacity: .92;
  font-weight: 600;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  /* wrap */
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.pm-mini-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  justify-content: flex-end;

}

.pm-upload-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  cursor: pointer;
}

/* ===== Status pill ===== */
.pm-status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  text-transform: capitalize;
}

.pm-status-pill.completed {
  background: #22c55e;
  color: #ffffff;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0);
}

.pm-status-pill.pending {
  background: #ef4444;
  /* red */
  color: #ffffff;
  /* animation: blinkPulse 0.5s infinite; */
  /* box-shadow: 0 0 0 rgba(239, 68, 68, 0.7); */
}

/* ===============================
   BLINK ANIMATION
   =============================== */
@keyframes blinkPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    opacity: 0.85;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    opacity: 1;
  }
}

/* completed card look (optional) */
.pm-mini-card.is-done {
  filter: saturate(.9);
  opacity: .95;
}

/* ===== Different colors per platform section ===== */
.pm-app .pm-mini-card {
  background: #ff6a00;
}

.pm-web .pm-mini-card {
  background: #ff3d00;
}

.pm-instagram .pm-mini-card {
  background: #ff2d79;
}

.pm-facebook .pm-mini-card {
  background: #1877f2;
}

.pm-whats-app-template .pm-mini-card {
  background: #22c55e;
}

/* Responsive */
@media (max-width: 576px) {
  .pm-card-grid {
    grid-template-columns: 1fr;
  }
}

.pm-upload-ico.is-disabled {
  opacity: .45;
  pointer-events: none;
  /* ✅ click won’t work */
  cursor: not-allowed;
}

/* ===============================
   CELEBRATION EFFECTS
   =============================== */

.celebration-item {
  position: fixed;
  z-index: 9999;
  font-size: 28px;
  pointer-events: none;
}

/* 🌸 Flower falling */
.flower {
  top: -40px;
  animation: flowerFall linear forwards;
}

@keyframes flowerFall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* 🎆 Cracker burst */
.cracker {
  animation: crackerPop 1s ease-out forwards;
}

@keyframes crackerPop {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.pm-preview-btn,
.pm-upload-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c2410c;
  color: #fff7ed;
  border: none;
}

.pm-preview-btn:hover {
  background: #484849;
  color: #1d4ed8;
}

.pm-upload-btn {
  background: #fff7ed;
  color: #c2410c;
}

.pm-upload-btn:hover {
  background: #ffedd5;
}

.pm-task-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.pm-banner-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

/* outside button */
.pm-outside-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #ff6a00;
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.pm-outside-btn:hover {
  transform: translateY(-1px);
}

/* badges */
.pm-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.pm-badge-done {
  background: #16a34a;
}

.pm-badge-pending {
  background: #dc2626;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .35
  }
}

.pm-blink {
  animation: blink 1s infinite;
}

/* approve/rework buttons */
.pm-approve-btn,
.pm-rework-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
}

.pm-approve-btn {
  background: #16a34a;
}

.pm-rework-btn {
  background: #dc2626;
}

/* ======================
   ORANGE THEME BASE
   ====================== */
:root {
  --pm-orange: #f97316;
  --pm-orange-2: #fb923c;
  --pm-border: rgba(15, 23, 42, .10);
  --pm-text: #0f172a;
  --pm-muted: rgba(15, 23, 42, .62);
}

/* section spacing */
.pm-sections {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* section header */
.pm-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pm-section-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--pm-text);
  letter-spacing: .2px;
}

/* ======================
   GRID WRAP (NO SCROLL)
   ====================== */
.pm-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

/* each item = card + outside button */
.pm-card-wrap {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

/* ======================
   CARD
   ====================== */
.pm-mini-card {
  flex: 1 1 auto;
  min-height: 92px;
  border-radius: 16px;
  border: 1px solid var(--pm-border);
  background: #fff;
  padding: 14px;
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: space-between; */
  /* gap: 14px; */
  position: relative;
  overflow: hidden;
}

/* colored left strip per platform */
.pm-mini-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  /* background: var(--pm-orange); */
  opacity: .85;
}

/* left side */
.pm-mini-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.pm-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  /* background: rgba(249, 115, 22, .14); */
  background: #e9ecef7d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pm-icon i {
  color: white;
  font-size: 18px;
}

/* title wrap fix */
.pm-mini-title {
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  font-size: 14px;
  white-space: normal;
  /* ✅ wrap */
  word-break: break-word;
  /* ✅ wrap long words */
}

.pm-mini-size {
  font-weight: 700;
  color: rgba(15, 23, 42, .55);
  margin-left: 6px;
  font-size: 12px;
}

.pm-mini-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #e9eef5;
  white-space: normal;
}

/* right side inside card */
/* .pm-mini-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
} */

/* ======================
   STATUS PILLS
   ====================== */
.pm-status-pill {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: capitalize;
  border: 1px solid rgba(0, 0, 0, .08);
}

.pm-status-pill.completed {
  background: #16a34a;
  color: #fff;
  border-color: rgba(22, 163, 74, .25);
}

.pm-status-pill.pending {
  background: #dc2626;
  color: #fff;
  border-color: rgba(220, 38, 38, .25);
}

/* blink for pending */
.pm-mini-card.is-blink {
  animation: pmBlink 0.5s infinite;
}

@keyframes pmBlink {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(220, 38, 38, 0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(220, 38, 38, .10);
  }
}

/* approval buttons inside card */
.pm-approve-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
}

.pm-approve-btn,
.pm-rework-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pm-approve-btn i {
  color: #16a34a;
}

.pm-rework-btn i {
  color: #dc2626;
}

.pm-approve-btn:hover {
  background: rgba(22, 163, 74, .08);
}

.pm-rework-btn:hover {
  background: rgba(220, 38, 38, .08);
}

.pm-waiting {
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 23, 42, .55);
}

/* ======================
   OUTSIDE BUTTON
   ====================== */
.pm-outside {
  display: flex;
  align-items: center;
}

.pm-outside-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.pm-outside-btn i {
  font-size: 18px;
}

.pm-outside-btn.is-upload {
  background: rgba(249, 115, 22, .12);
  border-color: rgba(249, 115, 22, .25);
}

.pm-outside-btn.is-upload i {
  color: var(--pm-orange);
}

.pm-outside-btn.is-preview {
  background: rgba(59, 130, 246, .12);
  border-color: rgba(59, 130, 246, .25);
}

.pm-outside-btn.is-preview i {
  color: #2563eb;
}

/* ======================
   PLATFORM COLOR THEMES
   ====================== */
.pm-web .pm-mini-card::before {
  background: #2563eb;
}

.pm-app .pm-mini-card::before {
  background: #7c3aed;
}

.pm-instagram .pm-mini-card::before {
  background: #db2777;
}

.pm-facebook .pm-mini-card::before {
  background: #1877f2;
}

.pm-whats-app-template .pm-mini-card::before {
  background: #16a34a;
}

/* responsive */
@media (max-width:576px) {
  .pm-card-wrap {
    flex-direction: column;
  }

  .pm-outside {
    justify-content: flex-end;
  }
}

.pm-plan-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.pm-plan-card,
.pm-docs-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.pm-plan-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.pm-plan-title {
  margin: 0;
  font-weight: 800;
}

.pm-plan-sub {
  font-size: 12px;
  opacity: .75;
  margin-top: 6px;
}

.pm-dot {
  margin: 0 6px;
}

.pm-plan-desc {
  margin-top: 12px;
  background: #fff7f0;
  border: 1px dashed #ffb37d;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.pm-plan-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-meta-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pm-meta-k {
  min-width: 90px;
  font-size: 12px;
  opacity: .75;
}

.pm-meta-v {
  font-size: 13px;
  color: #ff6a00;
  text-decoration: none;
  word-break: break-all;
}

.pm-docs-head {
  margin-bottom: 10px;
}

.pm-docs-title {
  margin: 0;
  font-weight: 800;
}

.pm-docs-hint {
  font-size: 12px;
  opacity: .7;
  margin-top: 4px;
}

.pm-docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pm-doc-item {
  border: 1px solid #ffe2cf;
  background: linear-gradient(0deg, #fff, #fff7f0);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pm-doc-left {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.pm-doc-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6a00;
  color: #fff;
  flex: 0 0 auto;
}

.pm-doc-meta {
  min-width: 0;
}

.pm-doc-name {
  font-weight: 800;
}

.pm-doc-small {
  font-size: 12px;
  opacity: .7;
}

.pm-missing {
  color: #c2410c;
  opacity: 1;
}

.pm-doc-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.pm-btn {
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}

.pm-btn-ghost {
  background: #fff;
  border-color: #ffd3b3;
  color: #ff6a00;
}

.pm-btn-fill {
  background: #ff6a00;
  color: #fff;
}

.pm-btn-disabled {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.pm-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pm-pill-stage {
  background: #fff0e6;
  color: #ff6a00;
}

.pm-pill-live {
  background: #fff0e6;
  color: #ff6a00;
}

.pm-pill-done {
  background: #dcfce7;
  color: #166534;
}

/* responsive */
@media(max-width: 1100px) {
  .pm-plan-top {
    grid-template-columns: 1fr;
  }
}



.doc-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #ffe2d1;
  border-radius: 12px;
  background: #fffaf6;
}

.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.bg-orange {
  background: #ff6a00;
}

.doc-info {
  flex: 1;
}

.doc-title {
  font-weight: 600;
  font-size: 14px;
}

.doc-status {
  font-size: 12px;
}

.not-uploaded {
  color: #ff4d4f;
}

.uploaded {
  color: #22c55e;
}

.doc-actions {
  display: flex;
  gap: 6px;
}


.planning-docs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Large tablets / small laptops */
@media (max-width: 1200px) {
  .planning-docs-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* iPad / tablets */
@media (max-width: 992px) {
  .planning-docs-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .planning-docs-row {
    grid-template-columns: 1fr;
  }
}

.navbar-wrapper {
  background-color: #06173e;
}

.nxl-navigation-toggle a,
.nxl-item a {
  color: white !important;
}

.nxl-navigation .navbar-content {
  border-right: 1px solid #06173e;
  height: calc(100vh - 34px);
}

.nxl-navigation:hover .navbar-content {
  color: white !important;
  background-color: #06173e !important;
}

.nxl-navigation .nxl-link {
  color: #ffffff !important;
  background: transparent !important;
  transition: background-color .2s ease, color .2s ease;
}

.nxl-navigation .nxl-link i {
  color: #ffffff !important;
}

.nxl-navigation .nxl-item:hover>.nxl-link,
.nxl-navigation .nxl-link:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-radius: 10px;
}

.nxl-navigation .nxl-item:hover>.nxl-link i,
.nxl-navigation .nxl-link:hover i {
  color: #000000 !important;
}

.nxl-navigation .nxl-submenu .nxl-link:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.nxl-navigation .nxl-link {
  padding: 10px 14px;
}

@media (max-width: 991.98px) {
  body.pm-ui .nxl-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #06173e;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 10000;
  }

  body.pm-ui.sidebar-open .nxl-navigation {
    transform: translateX(0);
  }
}

.nxl-content {
  background-color: white;
}