
/* Booking.com / Travelstart hybrid app style for NulaneTravel editor */

.ntfpe-app {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #f3f4f6;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ntfpe-app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ntfpe-app__title {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
  color: #123499;
}

.ntfpe-app__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.ntfpe-app__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr);
  gap: 1.25rem;
}

.ntfpe-app__column {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* Buttons */

.ntfpe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ntfpe-btn--primary {
  background: #BD0000;
  border-color: #BD0000;
  color: #ffffff;
}

.ntfpe-btn--primary:hover {
  background: #940000;
}

.ntfpe-btn--ghost {
  background: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}

.ntfpe-btn--ghost:hover {
  background: #f3f4f6;
}

.ntfpe-btn--link {
  background: transparent;
  border: none;
  padding: 0;
  color: #123499;
}

/* Alerts */

.ntfpe-alert {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.ntfpe-alert--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.ntfpe-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Cards & listing grid */

.ntfpe-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.ntfpe-packages-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.ntfpe-packages-grid {
  display: grid;
  gap: 1rem;
}

/* 3-column on desktop/laptop */
.ntfpe-columns-3 .ntfpe-packages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ntfpe-columns-2 .ntfpe-packages-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ntfpe-columns-1 .ntfpe-packages-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.ntfpe-card,
.ntfpe-package-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.ntfpe-card__inner,
.ntfpe-package-card__inner {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ntfpe-card__title,
.ntfpe-package-card__title {
  margin: 0;
  font-size: 0.95rem;
}

.ntfpe-card__title,
.ntfpe-card__title a,
.ntfpe-package-card__title a {
  color: #123499;
  text-decoration: none;
}

.ntfpe-card__title a:hover,
.ntfpe-package-card__title a:hover {
  text-decoration: underline;
}

.ntfpe-card__meta,
.ntfpe-package-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.ntfpe-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #e5e7eb;
  color: #374151;
}

.ntfpe-badge--price {
  background: #eff6ff;
  color: #123499;
}

.ntfpe-badge--status-publish {
  background: #dcfce7;
  color: #15803d;
}

.ntfpe-badge--status-draft {
  background: #fef3c7;
  color: #92400e;
}

.ntfpe-card__excerpt,
.ntfpe-package-card__excerpt {
  margin: 0;
  font-size: 0.82rem;
  color: #4b5563;
}

.ntfpe-card__actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.5rem;
}

/* Listing card thumbnail */

.ntfpe-package-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 66%;
  overflow: hidden;
}

.ntfpe-package-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ntfpe-package-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Form */

.ntfpe-section-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: #111827;
}

.ntfpe-section-subtitle {
  margin: 0.5rem 0 0.85rem;
  font-size: 0.98rem;
  color: #111827;
}

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

.ntfpe-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ntfpe-form__group label {
  font-size: 0.85rem;
  color: #4b5563;
}

.ntfpe-form__group input,
.ntfpe-form__group textarea,
.ntfpe-form__group select {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ntfpe-form__group input:focus,
.ntfpe-form__group textarea:focus,
.ntfpe-form__group select:focus {
  border-color: #123499;
  box-shadow: 0 0 0 1px rgba(18, 52, 153, 0.12);
  outline: none;
  background: #ffffff;
}

.ntfpe-form__group--inline {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.ntfpe-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.ntfpe-toggle input {
  accent-color: #123499;
}

.ntfpe-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0.75rem 0 1rem;
}

.ntfpe-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Helper text */

.ntfpe-field-help {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0;
}

/* Media field */

.ntfpe-media-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#ntfpe-featured-preview {
  max-width: 180px;
  border-radius: 12px;
  display: block;
}

.ntfpe-hidden {
  display: none;
}

/* Gallery */

.ntfpe-gallery-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ntfpe-gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ntfpe-gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.ntfpe-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Empty state */

.ntfpe-empty-state {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Toast */

.ntfpe-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #123499;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 99999;
}

.ntfpe-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Pagination */

.ntfpe-pagination {
  margin: 1.5rem 0 0;
  text-align: center;
}

.ntfpe-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 0.4rem;
}

.ntfpe-page-link a,
.ntfpe-page-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  padding: 0 0.75rem;
  font-size: 0.85rem;
  border: 1px solid #d1d5db;
  color: #123499;
  text-decoration: none;
}

.ntfpe-page-link--current span {
  background: #123499;
  color: #ffffff;
  border-color: #123499;
}

/* Mobile layout */

@media (max-width: 900px) {
  .ntfpe-app {
    padding: 1rem;
    margin: 1rem;
  }

  .ntfpe-app__body {
    display: block;
  }

  .ntfpe-app__column--list {
    margin-bottom: 1rem;
  }

  .ntfpe-app__column--form {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    z-index: 9999;
  }

  .ntfpe-slide-in {
    transform: translateX(0) !important;
  }

  .ntfpe-mobile-back {
    margin-bottom: 1rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    color: #123499;
    cursor: pointer;
  }

  .ntfpe-columns-3 .ntfpe-packages-grid,
  .ntfpe-columns-2 .ntfpe-packages-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.ntfpe-login-wrap {
    display:flex;justify-content:center;align-items:center;padding:40px;
}
.ntfpe-login-card {
    width:100%;max-width:380px;background:#fff;padding:30px;border-radius:16px;
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
}
.ntfpe-login-title {font-size:24px;color:#123499;margin-bottom:6px;text-align:center;}
.ntfpe-login-sub {font-size:13px;color:#6b7280;margin-bottom:18px;text-align:center;}
.ntfpe-login-footer {font-size:12px;color:#6b7280;margin-top:20px;text-align:center;}
.ntfpe-login-footer a {color:#BD0000;font-weight:600;}


/* ===== Display Shortcodes / Elementor Widgets ===== */
.ntfpe-gallery{
  display:grid;
  grid-template-columns: repeat(var(--ntfpe-gallery-cols,3), minmax(0, 1fr));
  gap: var(--ntfpe-gallery-gap, 10px);
}
.ntfpe-gallery__item{
  display:block;
  overflow:hidden;
  border-radius: var(--ntfpe-gallery-radius, 16px);
  background:#f3f4f6;
}
.ntfpe-gallery__img{
  width:100%;
  height:auto;
  display:block;
}

.ntfpe-details{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.ntfpe-details--grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 767px){
  .ntfpe-details--grid{ grid-template-columns: 1fr; }
}
.ntfpe-details__row{
  border:1px solid rgba(17,24,39,.08);
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
}
.ntfpe-details__label{
  font-weight:700;
  color:#123499;
  margin-bottom:6px;
  font-size:13px;
  letter-spacing:.2px;
  text-transform:none;
}
.ntfpe-details__value{
  font-size:14px;
  color:#111827;
}
