.page-header {
  background: linear-gradient(rgba(24, 29, 56, 0.7), rgba(24, 29, 56, 0.7)), url('../img/banner6.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  overflow: hidden;
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 32, 0.12) 0%, rgba(6, 12, 32, 0.18) 100%);
  pointer-events: none;
}

.page-title {
  position: relative;
  z-index: 2;
  font-family: 'Heebo', 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 10px 30px rgba(6, 12, 32, 0.45);
  font-size: clamp(1.8rem, 2.4rem + 1.6vw, 3.6rem);
  margin-bottom: .5rem;
}

.page-title .text-accent {
  display: inline-block;
  padding: 0 .14rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.page-subtitle {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(.98rem, .95rem + .6vw, 1.05rem);
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 6px 18px rgba(6, 12, 32, 0.28);
}

.page-header .btn-lg {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  padding: .65rem 1.15rem;
  box-shadow: 0 8px 24px rgba(11, 42, 102, 0.12);
  font-weight: 700;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.06);
}

.breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.28);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb .active {
  color: #fff;
}

@media (max-width: 576px) {
  .page-header {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .page-subtitle {
    padding: 0 1rem;
    font-size: .95rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: .5rem .9rem;
    font-size: .95rem;
  }
}


:root {
  --glass: #ffffffcc;
  --accent: #0d6efd;
  --muted: #6b7280;
  --card-shadow: 0 8px 30px rgba(13, 20, 40, 0.12);
  --glass-border: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
}


.ed-modal-backdrop {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 17, 0.55), rgba(6, 10, 17, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  backdrop-filter: blur(4px);
}


.ed-modal {
  width: min(920px, 95vw);
  border-radius: 14px;
  background: var(--glass);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  
}


.ed-modal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 28px;
}


.ed-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 6px 2px;
}

.ed-icon-wrap {
  width: 180px;
  height: 180px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(29, 78, 216, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -8px 24px rgba(13, 110, 253, 0.02);
  border: 1px solid rgba(13, 110, 253, 0.06);
}

.ed-icon {
  font-size: 64px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.ed-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(7, 12, 20, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ed-badge h4 {
  margin: 0;
  font-size: 1rem;
  color: #0b6ae6;
}

.ed-badge p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}


.status-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(10, 12, 20, 0.12);
  display: inline-block;
}

.status-dot.green {
  background: linear-gradient(180deg, #19c37d, #0aa464);
}

.status-dot.red {
  background: linear-gradient(180deg, #ff6b6b, #e04b4b);
}

.status-label {
  font-size: .88rem;
  color: var(--muted);
}

.status-meta {
  font-size: .78rem;
  color: #3b3f47;
}


.ed-right {
  padding-right: 8px;
}

.ed-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ed-title h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #081029;
}

.ed-title .small-cta {
  font-size: .88rem;
  color: var(--muted);
}

.ed-desc {
  margin-top: 12px;
  color: #2b2f37;
  line-height: 1.45;
  font-size: .97rem;
}


.ed-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.feat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(13, 20, 40, 0.04);
  box-shadow: 0 8px 20px rgba(11, 14, 20, 0.04);
  min-height: 72px;
}

.feat i {
  font-size: 16px;
  color: var(--accent);
  width: 30px;
  text-align: center;
}


.feat .ftext {
  font-size: 0.85rem;
  line-height: 1.12rem;
  color: #223;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.ed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  gap: 12px;
}

.support {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support i {
  font-size: 18px;
  color: var(--muted);
}


.support .meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.support a {
  font-size: 0.86rem;
  color: #073b8a;
  word-break: break-word;
  font-weight: 600;
  text-decoration: none;
}

.actions {
  display: flex;
  gap: 10px;
}

.btn {
  cursor: pointer;
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px rgba(13, 20, 40, 0.12);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(13, 20, 40, 0.06);
  color: var(--muted);
}

.btn.btn-sm-square{
  border-radius: 0px;
}

.bg-light .btn .btn-info { color:#fff !important; }

@media (min-width:1024px) and (max-width:2560px) {
  .ed-modal {
    max-height: calc(100vh - 80px);
  }
  .ed-modal-grid {
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 28px;
  }
  .ed-icon-wrap {
    width: 180px;
    height: 180px;
  }
  .ed-title h2 {
    font-size: 1.35rem;
  }
  .feat .ftext {
    font-size: 0.95rem;
    line-height: 1.18rem;
  }
  .support a {
    font-size: 0.92rem;
  }
}

@media (min-width:768px) and (max-width:1024px) {
  .ed-modal {
    max-height: calc(100vh);
  }
  .ed-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .ed-icon-wrap {
    width: 140px;
    height: 140px;
    border-radius: 14px;
  }
  .ed-title h2 {
    font-size: 1.18rem;
  }
  .feat .ftext {
    font-size: 0.85rem;
  }
  .support a {
    font-size: 0.82rem;
  }
  .feat {
    min-height: 66px;
  }
}

@media (min-width:480px) and (max-width:768px) {
  .ed-modal {
    max-height: calc(100vh - 80px);
  }
  .ed-modal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .ed-icon-wrap {
    width: 120px;
    height: 120px;
  }
  .ed-title h2 {
    font-size: 1.12rem;
  }
  .feat .ftext {
    font-size: 0.82rem;
  }
  .support a {
    font-size: 0.8rem;
  }
  .feat {
    min-height: 64px;
  }
  .ed-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:320px) and (max-width:480px) {
  .ed-modal {
    max-height: calc(100vh);
  }
  .ed-modal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .ed-icon-wrap {
    width: 100px;
    height: 100px;
  }
  .ed-title h2 {
    font-size: 1.02rem;
  }
  .feat .ftext {
    font-size: 0.78rem;
    line-height: 1.02rem;
  }
  .support {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .support>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
  }
  .support .meta {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1;
  }
  .support a {
    display: block;
    margin: 0;
    padding: 1px;
    font-size: 0.63rem;
    line-height: 1;
    word-break: break-all;
  }
  .support i {
    margin: 2px 0 0 0;
    flex: 0 0 20px;
    font-size: 18px;
    line-height: 1;
  }
  .feat {
    min-height: 60px;
    padding: 8px 10px;
  }
  .ed-features {
    grid-template-columns: 1fr;
  }
  .close-x {
    padding: 6px;
  }

  .ed-features .feat:nth-child(n+3) {
    display: none !important;
    visibility: hidden;
  }
  .actions {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .actions .btn {
    padding: 6px 10px;
    font-size: 0.82rem;
    border-radius: 8px;
    min-width: 110px;
    height: auto;
    box-shadow: none;
  }
  .ed-desc{
    font-size: 12px;
  }
}


.btn.disabled,
a.disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.ed-modal {
  transform-origin: center;
  animation: modalPop .36s cubic-bezier(.2, .9, .2, 1);
}

@keyframes modalPop {
  from {
    transform: translateY(8px) scale(.995);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}


.close-x {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: #223;
  padding: 6px;
  border-radius: 999px;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.close-x:hover {
  background: rgba(13, 20, 40, 0.05);
  transform: translateY(-1px);
}

.close-x:focus {
  outline: 3px solid rgba(13, 110, 253, 0.16);
  outline-offset: 3px;
  border-radius: 10px;
}
