/**
 * YellowPin Pool Campus Module Styles
 * Strictly follows YellowPin design tokens and clean layout conventions
 */

:root {
  --yp-pc-primary: #fabc57;
  --yp-pc-primary-dk: #e6a94a;
  --yp-pc-dark: #0F172A;
  --yp-pc-muted: #64748B;
  --yp-pc-border: #E2E8F0;
  --yp-pc-bg: #F8FAFC;
  --yp-pc-white: #ffffff;
  --yp-pc-success: #22C55E;
  --yp-pc-warning: #F59E0B;
  --yp-pc-danger: #EF4444;
}

.yp-pool-campus-page {
  background-color: #f6f8fc;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  color: var(--yp-pc-dark);
}

/* Guardrails: Prevent sidebar from stretching and enforce flex-start alignment */
.pool-campus-dashboard .dashboard-layout {
  display: flex !important;
  align-items: flex-start !important;
}

.pool-campus-dashboard .dashboard-sidebar {
  align-self: flex-start !important;
  height: auto !important;
  max-height: fit-content !important;
}

.pool-campus-dashboard .dashboard-main {
  min-height: 0 !important;
  min-width: 0 !important;
  align-self: flex-start !important;
  width: 100%;
}

/* ─── Main Container Locked to Sidebar Height ─── */
#ypPoolCampusContainer {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 992px) {
  #ypPoolCampusContainer {
    overflow: hidden;
  }
}

@media (max-width: 991.98px) {
  #ypPoolCampusContainer {
    min-height: 520px;
    max-height: 85vh;
  }
}

/* ─── Sticky Header ─── */
.yp-pc-app-header {
  background: #ffffff;
  border-bottom: 1px solid var(--yp-pc-border);
  padding: 18px 24px 14px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.yp-pc-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  width: 100%;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .yp-pc-top-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .yp-pc-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.yp-pc-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.yp-pc-title-wrap>div {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.yp-pc-title-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFFBEB;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.yp-pc-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--yp-pc-dark);
  margin: 0;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-subtitle {
  font-size: 12.5px;
  color: var(--yp-pc-muted);
  margin: 2px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
}

.yp-pc-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.yp-pc-btn-primary {
  background: var(--yp-pc-primary);
  color: #0F172A;
  border: none;
  font-weight: 700;
  font-size: 13px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(250, 188, 87, 0.35);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.yp-pc-btn-primary:hover {
  background: var(--yp-pc-primary-dk);
  color: #0F172A;
  transform: translateY(-1px);
}

.yp-pc-btn-outline-danger {
  background: transparent;
  color: #EF4444;
  border: 1px solid #FECACA;
  font-weight: 600;
  font-size: 12.5px;
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.yp-pc-btn-outline-danger:hover {
  background: #FEE2E2;
  border-color: #F87171;
  color: #DC2626;
}

/* ─── Segmented Tabs (3 Tabs) matching Collaboration Hub ─── */
.yp-pc-tabs {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  gap: 6px;
  width: 100%;
}

.yp-pc-tab-btn {
  flex: 1 1 0;
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #64748B;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.yp-pc-tab-btn:hover:not(.active) {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.65);
}

.yp-pc-tab-btn.active {
  background: #ffffff;
  color: #0F172A !important;
  font-weight: 700;
  border-color: #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.yp-pc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #E2E8F0;
  color: #475569;
  transition: all 0.2s ease;
}

.yp-pc-tab-btn.active .yp-pc-badge {
  background: #FFF6DD;
  color: #D97706;
}

.yp-pc-badge.badge-alert {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
  border: 1px solid #FECACA;
}

/* ─── Scroll Area ─── */
#ypPCScrollArea {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  padding: 24px;
  background: #fafbfd;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
  overscroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

#ypPCScrollArea::-webkit-scrollbar {
  width: 7px;
}

#ypPCScrollArea::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 6px;
}

#ypPCScrollArea::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
}

#ypPCScrollArea::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ─── Cards Grid (Vertical Portrait Cards, Clean Structured Layout) ─── */
.yp-pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .yp-pc-grid {
    grid-template-columns: 1fr;
  }
}

.yp-pc-card {
  background: #ffffff;
  border: 1px solid var(--yp-pc-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.yp-pc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.yp-pc-card-banner-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-bottom: 1px solid var(--yp-pc-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.yp-pc-card-banner {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.yp-pc-card:hover .yp-pc-card-banner {
  transform: scale(1.02);
}

.tag-self-hosted {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fabc57;
  color: #0F172A;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yp-pc-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.yp-pc-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--yp-pc-dark);
  margin: 0 0 10px 0;
  line-height: 1.38;
  cursor: pointer;
}

.yp-pc-card-title:hover {
  color: #D97706;
}

.yp-pc-card-host {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.yp-pc-card-host .yp-pc-host-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  padding: 2px;
  border: 1px solid #E2E8F0;
  background: #ffffff;
  box-shadow: none;
  flex-shrink: 0;
}

.yp-pc-card-host-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  height: 52px;
  max-height: 52px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.yp-pc-card-host-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  line-height: 1.15;
  margin: 0;
}

.yp-pc-card-host .yp-pc-host-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-card-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 11px 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 12px;
  margin-top: auto;
}

.yp-pc-card-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.yp-pc-card-info-item.is-wide {
  grid-column: 1 / -1;
}

.yp-pc-card-info-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #FDE68A;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.yp-pc-card-info-content {
  min-width: 0;
  flex: 1 1 auto;
}

.yp-pc-card-info-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748B;
  line-height: 1.2;
  margin-bottom: 3px;
}

.yp-pc-card-info-val {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  word-break: break-word;
}

.yp-pc-card-info-item:not(.is-wide) .yp-pc-card-info-val {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-card-deadlines {
  grid-column: 1 / -1;
  border-top: 1px solid #E2E8F0;
  padding-top: 10px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.yp-pc-card-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.yp-pc-card-dl-lbl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-card-dl-lbl i {
  color: #D97706;
  font-size: 12px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.yp-pc-card-dl-val {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  flex-shrink: 0;
}

.yp-pc-card-dl-row.is-closed .yp-pc-card-dl-lbl i,
.yp-pc-card-dl-row.is-closed .yp-pc-card-dl-val {
  color: #64748B;
}

.yp-pc-card-footer {
  border-top: 1px solid #F1F5F9;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  background: #ffffff;
  margin-top: auto;
}

.yp-pc-card-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.yp-pc-btn-decline {
  background: #ffffff !important;
  border: 1px solid #FECACA !important;
  color: #EF4444 !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.yp-pc-btn-decline:hover {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
  border-color: #F87171 !important;
}

.yp-pc-btn-accept {
  background: #FCC060 !important;
  border: 1px solid #E69B26 !important;
  color: #0F172A !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.yp-pc-btn-accept:hover {
  background: #F59E0B !important;
  color: #000000 !important;
  border-color: #D97706 !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}

.yp-pc-btn-details {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.yp-pc-btn-details:hover {
  background: #FEF3C7;
  color: #B45309;
  border-color: #FDE68A;
}

/* ─── Status Badges ─── */
.yp-pc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.status-accepted {
  background: #DCFCE7;
  color: #15803D;
}

.status-pending {
  background: #FEF3C7;
  color: #B45309;
}

.status-declined {
  background: #FEE2E2;
  color: #B91C1C;
}

/* ─── Empty State ─── */
.yp-pc-empty {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed #CBD5E1;
  border-radius: 16px;
  margin: 10px 0;
}

.yp-pc-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FFFBEB;
  color: #D97706;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.yp-pc-empty-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--yp-pc-dark);
  margin-bottom: 6px;
}

.yp-pc-empty-desc {
  font-size: 13.5px;
  color: var(--yp-pc-muted);
  max-width: 440px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* ─── Form View (In-Box) ─── */
.yp-pc-form-container {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 26px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.yp-pc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 0 16px 0;
  transition: color 0.15s ease;
}

.yp-pc-back-btn:hover {
  color: var(--yp-pc-dark);
}

.yp-pc-form-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.yp-pc-form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--yp-pc-dark);
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.yp-pc-form-desc {
  font-size: 13.5px;
  color: var(--yp-pc-muted);
  margin: 0;
}

.yp-pc-required-note {
  font-size: 12.5px;
  color: #64748B;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 3px;
}

.yp-pc-required-note .req {
  color: #EF4444;
  font-weight: 700;
}

.yp-pc-form-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 18px;
}

.yp-pc-form-section-head {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.yp-pc-form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.1px;
}

.yp-pc-form-section .row>[class*="col-"] {
  min-width: 0;
}

.yp-pc-field-group {
  margin-bottom: 18px;
}

.yp-pc-form-section .yp-pc-field-group:last-child {
  margin-bottom: 0;
}

.yp-pc-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.yp-pc-label-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  max-width: 100%;
  margin-bottom: 8px;
  min-width: 0;
}

.yp-pc-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  max-width: 100%;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
  line-height: 1.3;
}

.yp-pc-label-row .yp-pc-label {
  margin-bottom: 0;
}

.yp-pc-form-section .row>.col-md-6 .yp-pc-label {
  font-size: clamp(10.75px, 0.94vw, 13.5px);
  gap: 4px;
}

.yp-pc-form-section .yp-pcd-info-wrap {
  margin-left: 1px;
  flex-shrink: 0;
}

.yp-pc-label .req {
  color: #EF4444;
}

.yp-pc-input,
.yp-pc-textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  font-family: inherit;
}

.yp-pc-input {
  height: 48px;
}

.yp-pc-input[readonly] {
  cursor: pointer;
}

.yp-pc-input::placeholder,
.yp-pc-textarea::placeholder,
.yp-pc-search-input::placeholder,
.yp-pc-degree-search::placeholder,
.yp-pool-campus-page input::placeholder,
.yp-pool-campus-page textarea::placeholder {
  color: #c4c4c4 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.yp-pc-input::-webkit-input-placeholder,
.yp-pc-textarea::-webkit-input-placeholder,
.yp-pc-search-input::-webkit-input-placeholder,
.yp-pc-degree-search::-webkit-input-placeholder,
.yp-pool-campus-page input::-webkit-input-placeholder,
.yp-pool-campus-page textarea::-webkit-input-placeholder {
  color: #c4c4c4 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.yp-pc-input:focus,
.yp-pc-textarea:focus {
  background: #ffffff;
  border-color: #fabc57;
  box-shadow: 0 0 0 3px rgba(250, 188, 87, 0.2);
}

.yp-pool-campus-page .yp-quill-editor .ql-toolbar.ql-snow {
  border: 1px solid #e2e8f0;
  border-radius: 12px 12px 0 0;
  background: #f8fafc;
}

.yp-pool-campus-page .yp-quill-editor .ql-container.ql-snow {
  border: 1px solid #e2e8f0;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #f8fafc;
  min-height: 200px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.yp-pool-campus-page .yp-quill-editor .ql-editor {
  min-height: 185px;
  font-size: 14px;
  color: #0F172A;
}

.yp-pool-campus-page .yp-quill-editor .ql-editor.ql-blank::before {
  color: #c4c4c4 !important;
  font-style: normal;
  font-weight: 400;
}

.yp-pool-campus-page .yp-quill-editor:focus-within .ql-toolbar.ql-snow,
.yp-pool-campus-page .yp-quill-editor:focus-within .ql-container.ql-snow {
  border-color: #fabc57;
  background: #ffffff;
}

.yp-pool-campus-page .yp-quill-editor:focus-within .ql-container.ql-snow {
  box-shadow: 0 0 0 3px rgba(250, 188, 87, 0.2);
}

@media (max-width: 767px) {
  .yp-pc-form-section .row>.col-md-6 .yp-pc-label {
    font-size: 13.5px;
    gap: 5px;
  }

  .yp-pc-form-section .row>.col-md-6:first-child .yp-pcd-tooltip {
    left: auto;
    right: -4px;
    transform: translateY(-4px);
  }

  .yp-pc-form-section .row>.col-md-6:first-child .yp-pcd-tooltip::before {
    left: auto;
    right: 9px;
    transform: none;
  }

  .yp-pc-form-section .row>.col-md-6:first-child .yp-pcd-tooltip::after {
    left: auto;
    right: 10px;
    transform: none;
  }

  .yp-pc-form-section .row>.col-md-6:first-child .yp-pcd-info-wrap:hover .yp-pcd-tooltip,
  .yp-pc-form-section .row>.col-md-6:first-child .yp-pcd-info-wrap:focus-within .yp-pcd-tooltip,
  .yp-pc-form-section .row>.col-md-6:first-child .yp-pcd-info-wrap.is-open .yp-pcd-tooltip {
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .yp-pc-form-container {
    padding: 18px 14px;
  }

  .yp-pc-form-panel-head {
    flex-direction: column;
    gap: 6px;
  }

  .yp-pc-form-section {
    padding: 16px 14px;
  }

  .yp-pc-label,
  .yp-pc-form-section .row>.col-md-6 .yp-pc-label {
    font-size: clamp(10.5px, 2.75vw, 13px);
    gap: 3px;
  }
}

.yp-pc-select {
  width: 100%;
  height: 44px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 0 36px 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0F172A;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.yp-pc-select:focus {
  border-color: #fabc57;
  box-shadow: 0 0 0 3px rgba(250, 188, 87, 0.2);
}

/* Custom YellowPin Date & Time Picker */
.yp-pc-date-wrapper {
  position: relative;
  width: 100%;
}

.yp-pc-date-input {
  width: 100%;
  height: 46px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 0 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.yp-pc-date-input:hover {
  border-color: #fabc57;
}

.yp-pc-date-input.open {
  border-color: #fabc57;
  box-shadow: 0 0 0 3px rgba(250, 188, 87, 0.2);
}

.yp-pc-date-text {
  font-size: 13.5px;
  color: #0F172A;
  font-weight: 600;
}

.yp-pc-date-text.placeholder {
  color: #c4c4c4;
  font-weight: 400;
}

.yp-pc-date-arrow {
  color: #94A3B8;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.yp-pc-date-input.open .yp-pc-date-arrow {
  transform: rotate(180deg);
  color: #D97706;
}

/* Calendar Dropdown Popover */
.yp-pc-calendar-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16);
  padding: 16px;
  z-index: 1050;
  animation: ypCalFadeIn 0.15s ease-out;
}

@keyframes ypCalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yp-pc-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.yp-pc-cal-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
}

.yp-pc-cal-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 11px;
}

.yp-pc-cal-nav-btn:hover {
  background: #FEF3C7;
  color: #D97706;
  border-color: #FDE68A;
}

.yp-pc-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  margin-bottom: 12px;
}

.yp-pc-cal-day-label {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  padding: 4px 0;
  text-transform: uppercase;
}

.yp-pc-cal-cell {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
}

.yp-pc-cal-cell:hover:not(.disabled):not(.selected) {
  background: #FFFBEB;
  color: #B45309;
}

.yp-pc-cal-cell.today {
  border: 1.5px solid #F59E0B;
}

.yp-pc-cal-cell.selected {
  background: #fabc57 !important;
  color: #0F172A !important;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(250, 188, 87, 0.4);
}

.yp-pc-cal-cell.disabled {
  color: #CBD5E1;
  cursor: not-allowed;
  opacity: 0.45;
}

.yp-pc-cal-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  margin-bottom: 10px;
}

.yp-pc-cal-time-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}

.yp-pc-cal-time-select {
  height: 32px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 7px;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.yp-pc-cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.yp-pc-cal-quick-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.yp-pc-cal-quick-btn:hover {
  background: #FEF3C7;
  color: #B45309;
  border-color: #FDE68A;
}

.yp-pc-cal-done-btn {
  background: #fabc57;
  color: #0F172A;
  border: none;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.yp-pc-cal-done-btn:hover {
  background: #e6a94a;
}

/* ─── Input Icon Wrapper & Flatpickr Theme ─── */
.yp-pc-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.yp-pc-input-icon {
  position: absolute;
  left: 14px;
  pointer-events: none;
  font-size: 14px;
  z-index: 2;
  color: #D97706;
}

.yp-pc-input-with-icon {
  padding-left: 40px !important;
}

/* Premium YellowPin Flatpickr Theme */
.flatpickr-calendar {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1.5px solid #FDE68A !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 0 1px rgba(15, 23, 42, 0.08) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  padding: 12px 14px 16px 14px !important;
  width: 320px !important;
  box-sizing: border-box !important;
  z-index: 100070 !important;
}

.flatpickr-calendar:before,
.flatpickr-calendar:after {
  border-bottom-color: #FDE68A !important;
}

.flatpickr-months {
  margin-bottom: 8px !important;
  align-items: center !important;
  position: relative !important;
}

.flatpickr-current-month {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 700 !important;
  color: #0F172A !important;
  background: #F8FAFC !important;
  border-radius: 6px !important;
  padding: 2px 6px !important;
}

.flatpickr-current-month input.cur-year {
  font-weight: 700 !important;
  color: #0F172A !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: #78350F !important;
  color: #78350F !important;
  border-radius: 8px !important;
  padding: 6px !important;
  transition: all 0.2s ease !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background: #FEF3C7 !important;
}

.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
  visibility: hidden !important;
  pointer-events: none !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option:disabled {
  display: none !important;
}

span.flatpickr-weekday {
  color: #64748B !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
}

.flatpickr-day {
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #1E293B !important;
  height: 36px !important;
  line-height: 36px !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
}

.flatpickr-day:not(.flatpickr-disabled):hover {
  background: #FEF3C7 !important;
  border-color: #FDE68A !important;
  color: #92400E !important;
}

.flatpickr-day.prevMonthDay:not(.flatpickr-disabled),
.flatpickr-day.nextMonthDay:not(.flatpickr-disabled) {
  color: #94A3B8 !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  visibility: hidden !important;
  pointer-events: none !important;
  background: transparent !important;
  border-color: transparent !important;
  color: transparent !important;
  cursor: default !important;
}

.flatpickr-day.yp-pc-fp-row-hidden {
  display: none !important;
}

.flatpickr-day.today {
  border-color: #F59E0B !important;
  color: #B45309 !important;
  font-weight: 800 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #fabc57 !important;
  border-color: #EAB308 !important;
  color: #0F172A !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(250, 188, 87, 0.4) !important;
}

.flatpickr-time {
  border-top: 1px solid #F1F5F9 !important;
  margin-top: 10px !important;
  padding: 10px 4px 0 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.flatpickr-time .numInputWrapper {
  height: 36px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  position: relative !important;
  flex: 1 !important;
  max-width: 64px !important;
}

.flatpickr-time input.flatpickr-hour,
.flatpickr-time input.flatpickr-minute {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #0F172A !important;
  border-radius: 8px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  height: 36px !important;
  padding: 0 4px !important;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
  background: #FFFBEB !important;
  border-color: #FDE68A !important;
  color: #B45309 !important;
}

.flatpickr-time .flatpickr-am-pm {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #92400E !important;
  background: #FEF3C7 !important;
  border-radius: 8px !important;
  height: 36px !important;
  line-height: 36px !important;
  padding: 0 10px !important;
  border: 1px solid #FDE68A !important;
}

.yp-pc-textarea {
  min-height: 95px;
  resize: vertical;
}

/* Banner Upload Dropzone */
.yp-pc-dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: 14px;
  padding: 34px 20px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.yp-pc-dropzone:hover,
.yp-pc-dropzone.dragover {
  border-color: #fabc57;
  background: #FFFBEB;
}

.yp-pc-dropzone-icon {
  font-size: 34px;
  color: #D97706;
  margin-bottom: 10px;
}

.yp-pc-dropzone-text {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.yp-pc-dropzone-subtext {
  font-size: 12px;
  color: #94A3B8;
}

/* ─── Banner Upload Showcase (Full View like Event & Course Details) ─── */
.yp-pc-banner-fullview-wrap {
  width: 100%;
  margin-top: 4px;
}

/* ─── Invite Step ─── */
.yp-pc-invite-selected-pill {
  flex-shrink: 0;
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FCD34D;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.yp-pc-invite-sec-head {
  display: block;
  margin-bottom: 18px;
}

.yp-pc-invite-sec-sub {
  font-size: 13px;
  color: #64748B;
  margin: 6px 0 0 0;
  line-height: 1.45;
}

.yp-pc-segmented-toggle {
  display: flex;
  background: #F1F5F9;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  gap: 6px;
  max-width: 440px;
  margin-bottom: 18px;
}

.yp-pc-toggle-btn {
  flex: 1 1 0;
  border: 1px solid transparent;
  background: transparent;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.yp-pc-btn-overlay-change {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.yp-pc-btn-overlay-change:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #F59E0B;
  color: #FDE68A;
  transform: translateY(-1px);
}

.yp-pc-btn-overlay-remove {
  background: rgba(239, 68, 68, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.yp-pc-btn-overlay-remove:hover {
  background: #DC2626;
  transform: translateY(-1px);
}

.yp-pc-search-box {
  position: relative;
  margin-bottom: 16px;
}

.yp-pc-search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 14px;
  pointer-events: none;
}

.yp-pc-search-input {
  width: 100%;
  height: 46px;
  padding: 10px 14px 10px 42px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.yp-pc-search-input:focus {
  background: #ffffff;
  border-color: #fabc57;
  box-shadow: 0 0 0 3px rgba(250, 188, 87, 0.2);
}

/* ─── Organization Category Sub-Filter Pills ─── */
.yp-pc-subfilter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 2px 0;
}

.yp-pc-subfilter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.yp-pc-subfilter-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}

.yp-pc-subfilter-pill.active {
  background: #FFFBEB;
  border-color: #F59E0B;
  color: #92400E;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.16);
}

.yp-pc-subfilter-pill.active i {
  color: #B45309 !important;
}

.yp-pc-subfilter-count {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
  line-height: 1.35;
}

.yp-pc-subfilter-pill.active .yp-pc-subfilter-count {
  background: #FDE68A;
  color: #78350F;
}

/* ─── Invite Step ─── */
.yp-pc-invite-wrap {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--yp-pc-border);
  padding: 24px;
}

.yp-pc-segmented-toggle {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  gap: 6px;
  max-width: 420px;
  margin-bottom: 20px;
}

.yp-pc-toggle-btn {
  flex: 1 1 0;
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.yp-pc-toggle-btn:hover:not(.active) {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.65);
}

.yp-pc-toggle-btn.active {
  background: #ffffff;
  color: #0F172A !important;
  font-weight: 700;
  border-color: #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.yp-pc-org-type-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 0;
  vertical-align: middle;
  flex-shrink: 0;
}

.yp-pc-toggle-btn.active .yp-pc-badge {
  background: #FFF6DD;
  color: #D97706;
  font-weight: 700;
}

.yp-pc-search-box {
  position: relative;
  margin-bottom: 14px;
}

.yp-pc-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 14px;
}

.yp-pc-multi-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px;
  background: #ffffff;
}

.yp-pc-multi-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 4px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.yp-pc-multi-item:last-child {
  margin-bottom: 0;
}

.yp-pc-multi-item.selected {
  background: #FFFBEB;
  border-color: #FDE68A;
}

.yp-pc-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #fabc57;
  cursor: pointer;
  flex-shrink: 0;
}

.yp-pc-item-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.yp-pc-item-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.yp-pc-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.yp-pc-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 2px 8px;
  flex-shrink: 0;
}

.yp-pc-item-meta {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yp-pc-item-meta i {
  font-size: 11.5px;
  color: #94A3B8;
  flex-shrink: 0;
}

.yp-pc-org-type-badge.type-placement {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}

.yp-pc-org-type-badge.type-contractor {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.yp-pc-org-type-badge.type-individual {
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.yp-pc-multi-list {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 4px;
  background: #ffffff;
}

.yp-pc-multi-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yp-pc-multi-item:hover {
  background: #F8FAFC;
}

.yp-pc-multi-item.selected {
  background: #FFFBEB;
}

.yp-pc-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #fabc57;
  cursor: pointer;
}

.yp-pc-item-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.yp-pc-item-info {
  flex: 1;
  min-width: 0;
}

.yp-pc-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-item-meta {
  font-size: 12px;
  color: #64748B;
}

/* ─── Form Structured Section Cards ─── */
.yp-pc-form-section-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
}

.yp-pc-form-section-card:focus-within {
  border-color: #fabc57;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(250, 188, 87, 0.1);
}

/* Off-platform Section */
.yp-pc-off-platform-card {
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px 22px;
}

.yp-pc-off-platform-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #F1F5F9;
}

.yp-pc-off-row {
  display: grid;
  grid-template-columns: 165px 1fr 1fr 46px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  background: #F8FAFC;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  transition: all 0.15s ease;
}

.yp-pc-off-row:hover,
.yp-pc-off-row:focus-within {
  border-color: #CBD5E1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.yp-pc-off-input {
  height: 46px !important;
  background: #ffffff !important;
  border-color: #CBD5E1 !important;
}

.yp-pc-off-input:focus {
  border-color: #fabc57 !important;
}

.yp-pc-section-sub {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  margin-top: 1px;
}

.yp-pc-custom-select-trigger {
  width: 100%;
  height: 46px;
  background-color: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.yp-pc-pill-required {
  font-size: 11px;
  font-weight: 700;
  background: #FEF3C7;
  color: #92400E;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #FDE68A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yp-pc-field-hint {
  font-size: 12px;
  color: #64748B;
  margin-top: 7px;
  line-height: 1.45;
}

.yp-pc-desc-textarea {
  min-height: 105px;
  line-height: 1.55;
  resize: vertical;
}

.yp-pc-input-with-icon {
  position: relative;
  width: 100%;
}

.yp-pc-input-with-icon .yp-pc-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 13px;
  pointer-events: none;
}

.yp-pc-input-with-icon .yp-pc-pl-icon {
  padding-left: 38px !important;
}

/* Off-platform Section */
.yp-pc-off-platform-card {
  margin-top: 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px;
}

.yp-pc-off-platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.yp-pc-off-row {
  display: grid;
  grid-template-columns: 155px 1fr 1fr 40px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: all 0.15s ease;
}

.yp-pc-off-row:hover,
.yp-pc-off-row:focus-within {
  border-color: #CBD5E1;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
}

/* Custom Dropdown (replaces native OS select) */
.yp-pc-custom-select {
  position: relative;
  width: 100%;
}

.yp-pc-custom-select-trigger {
  width: 100%;
  height: 42px;
  background-color: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.yp-pc-custom-select-trigger:hover,
.yp-pc-custom-select-trigger:focus {
  background-color: #ffffff;
  border-color: #fabc57;
  box-shadow: 0 0 0 3px rgba(250, 188, 87, 0.2);
}

.yp-pc-cs-val {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-cs-arrow {
  font-size: 11px;
  color: #94A3B8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.yp-pc-custom-select-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 175px;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.16);
  padding: 6px;
  z-index: 100;
  animation: ypPcFadeIn 0.15s ease-out;
}

.yp-pc-custom-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yp-pc-custom-select-option:hover {
  background: #FFFBEB;
  color: #92400E;
}

.yp-pc-custom-select-option.selected {
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
}

@media (max-width: 768px) {
  .yp-pc-off-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
}

/* ─── UI-based Executive Celebration Modal ─── */
.yp-pc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ypPcFadeIn 0.25s ease-out;
}

.yp-pc-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 580px;
  width: 100%;
  padding: 36px 32px 30px;
  text-align: center;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
  border: 1.5px solid #F1F5F9;
  animation: ypPcZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.yp-pc-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yp-pc-modal-close:hover {
  background: #FEE2E2;
  color: #EF4444;
  border-color: #FECACA;
}

.yp-pc-success-badge-container {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yp-pc-success-badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(250, 188, 87, 0.28);
  animation: ypPcPulseRing 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

@keyframes ypPcPulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.2;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.yp-pc-success-badge-core {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.35);
}

.yp-pc-modal-title {
  font-size: 23px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.yp-pc-modal-subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 22px;
  line-height: 1.55;
  padding: 0 10px;
}

.yp-pc-modal-summary-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  text-align: left;
  margin-bottom: 24px;
}

.yp-pc-modal-summary-head {
  display: flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.yp-pc-modal-summary-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.yp-pc-modal-grid-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.yp-pc-modal-grid-item i {
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.yp-pc-mgi-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.yp-pc-mgi-val {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.35;
  word-break: break-word;
}

.yp-pc-modal-actions-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.yp-pc-btn-modal-subtle {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yp-pc-btn-modal-subtle:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.yp-pc-btn-modal-edit {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  color: #92400E;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yp-pc-btn-modal-edit:hover {
  background: #FEF3C7;
  color: #78350F;
  border-color: #FCD34D;
  transform: translateY(-1px);
}

.yp-pc-btn-modal-primary {
  height: 44px;
  padding: 0 22px;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ─── Compact Modal Card for Notices & Confirmations ─── */
.yp-pc-modal-card-compact {
  max-width: 480px !important;
  padding: 34px 28px 28px !important;
}

.yp-pc-remove-btn {
  background: #ffffff;
  border: 1px solid #FECACA;
  color: #EF4444;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.yp-pc-remove-btn:hover {
  background: #FEE2E2;
  border-color: #F87171;
}

.yp-pc-add-row-btn {
  background: #ffffff;
  border: 1.5px dashed #CBD5E1;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.badge-core-danger {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35) !important;
}

.yp-pc-invite-actions {
  justify-content: space-between;
  flex-wrap: wrap;
}

.badge-ring-warning {
  background: rgba(245, 158, 11, 0.22) !important;
}

.badge-core-warning {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.35) !important;
}

.badge-ring-info {
  background: rgba(59, 130, 246, 0.22) !important;
}

.badge-core-info {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35) !important;
}

/* ─── Modal Danger & Cancel Buttons ─── */
.yp-pc-btn-modal-danger {
  background: #DC2626 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 24px;
  height: 44px;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  transition: all 0.2s ease;
}

.yp-pc-btn-modal-danger:hover {
  background: #B91C1C !important;
  transform: translateY(-1px);
}

.yp-pc-btn-modal-cancel {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #475569 !important;
  padding: 0 22px;
  height: 44px;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yp-pc-btn-modal-cancel:hover {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}

.yp-pc-remove-btn {
  background: #ffffff;
  border: 1px solid #FECACA;
  color: #EF4444;
  width: 36px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.yp-pc-remove-btn:hover {
  background: #FEE2E2;
}

.yp-pc-add-row-btn {
  background: #ffffff;
  border: 1.5px dashed #CBD5E1;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.yp-pc-add-row-btn:hover {
  border-color: #fabc57;
  color: #D97706;
  background: #FFFBEB;
}

/* ─── Details View (Ultra-Clean, Enterprise-Grade) ─── */
.yp-pc-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.yp-pc-badge-mode {
  display: inline-flex;
  align-items: center;
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  color: #B45309;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.yp-pc-badge-self {
  display: inline-flex;
  align-items: center;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.yp-pc-btn-edit-drive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid #F59E0B;
  color: #D97706;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1);
}

.yp-pc-btn-edit-drive:hover {
  background: #FFFBEB;
  border-color: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.yp-pc-detail-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.yp-pc-detail-banner-wrap {
  width: 100%;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 450px;
  min-height: 200px;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
}

.yp-pc-detail-banner {
  width: 100%;
  max-height: 450px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.yp-pc-detail-body {
  padding: 24px 28px;
}

.yp-pc-detail-title {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 18px 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* ─── Host Entity Card ─── */
.yp-pc-host-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  margin-bottom: 22px;
  transition: all 0.2s ease;
}

.yp-pc-host-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.yp-pc-host-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.yp-pc-host-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  border: 1.5px solid #E2E8F0;
  background: #ffffff;
  display: block;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.yp-pc-host-info {
  flex: 1;
  min-width: 0;
}

.yp-pc-host-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.yp-pc-host-role-tag {
  font-size: 11px;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yp-pc-verified-pill {
  display: inline-flex;
  align-items: center;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
}

.yp-pc-host-name {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ─── 4 Core Info Cards (2x2 Grid) ─── */
.yp-pc-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .yp-pc-meta-grid {
    grid-template-columns: 1fr;
  }
}

.yp-pc-meta-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.yp-pc-meta-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.yp-pc-meta-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.yp-pc-meta-card-icon.icon-schedule {
  background: #FFFBEB;
  color: #D97706;
  border: 1.5px solid #FDE68A;
}

.yp-pc-meta-card-icon.icon-location {
  background: #EFF6FF;
  color: #2563EB;
  border: 1.5px solid #BFDBFE;
}

.yp-pc-meta-card-icon.icon-degrees {
  background: #ECFDF5;
  color: #059669;
  border: 1.5px solid #A7F3D0;
}

.yp-pc-meta-card-icon.icon-partners {
  background: #FAF5FF;
  color: #7E22CE;
  border: 1.5px solid #E9D5FF;
}

.yp-pc-meta-card-content {
  flex: 1;
  min-width: 0;
}

.yp-pc-meta-card-label {
  font-size: 10.5px;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.yp-pc-meta-card-value {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.yp-pc-meta-card-sub {
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
  margin-top: 5px;
  line-height: 1.45;
  word-break: break-word;
}

.yp-pc-duration-badge {
  display: inline-block;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 6px;
  vertical-align: middle;
}

.yp-pc-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.yp-pc-degree-chip {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.15s ease;
}

.yp-pc-degree-chip:hover {
  background: #FEF3C7;
  color: #78350F;
}

.yp-pc-criteria-line {
  font-size: 12px;
  color: #15803D;
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.4;
}

/* ─── About Drive Box ─── */
.yp-pc-about-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.yp-pc-about-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
}

.yp-pc-about-box-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.yp-pc-about-box-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.yp-pc-about-box-sub {
  font-size: 12px;
  color: #64748B;
  margin: 2px 0 0 0;
  font-weight: 500;
}

.yp-pc-about-box-content {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  font-weight: 400;
  white-space: pre-line;
}

/* ─── Details Footer ─── */
.yp-pc-detail-footer {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.yp-pc-btn-view-participants {
  background: #0F172A;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.yp-pc-btn-view-participants:hover {
  background: #1E293B;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.yp-pc-count-badge {
  background: #FFFBEB;
  color: #D97706;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid #FDE68A;
}

.yp-pc-btn-invite-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid #F59E0B;
  color: #D97706;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yp-pc-btn-invite-more:hover {
  background: #FFFBEB;
  border-color: #D97706;
}

/* ─── Participants View ─── */
.yp-pc-participants-wrap {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--yp-pc-border);
  padding: 24px;
}

.yp-pc-participant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #F1F5F9;
  background: #ffffff;
  margin-bottom: 10px;
  transition: all 0.15s ease;
}

.yp-pc-participant-item:hover {
  border-color: #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.yp-pc-participant-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── Google Places Autocomplete ─── */
.yp-pc-places-wrapper {
  position: relative;
  width: 100%;
}

.yp-pc-places-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-height: 220px;
  overflow-y: auto;
  z-index: 1060;
  padding: 4px;
}

.yp-pc-place-item {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #0F172A;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.yp-pc-place-item:hover {
  background: #FFFBEB;
  color: #B45309;
}

.yp-pc-place-item i {
  color: #D97706;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── Searchable Multi-Select Degrees Dropdown ─── */
.yp-pc-degree-wrapper {
  position: relative;
  width: 100%;
}

.yp-pc-degree-box {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  user-select: none;
}

.yp-pc-degree-box:hover,
.yp-pc-degree-box.open {
  background: #ffffff;
  border-color: #fabc57;
}

.yp-pc-degree-box.open {
  box-shadow: 0 0 0 3px rgba(250, 188, 87, 0.2);
}

.yp-pc-degree-placeholder {
  color: #c4c4c4;
  font-size: 13.5px;
  font-weight: 400;
}

.yp-pc-degree-chip {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yp-pc-degree-chip-remove {
  cursor: pointer;
  color: #B45309;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.yp-pc-degree-chip-remove:hover {
  color: #DC2626;
}

.yp-pc-degree-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16);
  padding: 12px;
  z-index: 1050;
  animation: ypCalFadeIn 0.15s ease-out;
}

.yp-pc-degree-search-wrap {
  position: relative;
  margin-bottom: 10px;
}

.yp-pc-degree-search {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.yp-pc-degree-search:focus {
  border-color: #fabc57;
  box-shadow: 0 0 0 2px rgba(250, 188, 87, 0.2);
}

.yp-pc-degree-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 12px;
}

.yp-pc-degree-list {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yp-pc-degree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
}

.yp-pc-degree-item:hover {
  background: #FFFBEB;
  color: #B45309;
}

.yp-pc-degree-item.selected {
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
}

.yp-pc-degree-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: #fabc57;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FULL-PAGE POOL CAMPUS DETAIL VIEW (STANDALONE / EVENT / COURSE STYLE)
   ═══════════════════════════════════════════════════════════════════════════ */
.yp-pc-detail-body-bg {
  background-color: #F8FAFC !important;
}

.yp-pc-fullpage-wrap {
  min-height: 85vh;
  padding: 15px 0 50px;
}

.yp-pc-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.yp-pc-detail-banner-hero,
.event-gallery {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1.5px solid #E2E8F0;
  display: block;
  margin-bottom: 24px;
}

.yp-pc-detail-banner-img,
.event-main-image {
  width: 100%;
  height: 450px;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {

  .yp-pc-detail-banner-img,
  .event-main-image {
    height: 280px;
    max-height: 280px;
  }
}

.yp-pc-detail-main-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.yp-pc-detail-heading {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.yp-pc-criteria-callout {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.yp-pc-detail-section-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.yp-pc-detail-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.yp-pc-detail-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.yp-pc-detail-section-sub {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  margin-top: 1px;
}

.yp-pc-detail-desc-content {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
}

.yp-pc-detail-desc-content p {
  margin-bottom: 12px;
}

.yp-pc-detail-desc-content p:last-child {
  margin-bottom: 0;
}

.yp-pc-partners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yp-pc-partner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.15s ease;
}

.yp-pc-partner-card:hover {
  background: #ffffff;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.yp-pc-partner-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  padding: 2px;
  flex-shrink: 0;
}

.yp-pc-partner-info {
  flex: 1;
  min-width: 0;
}

.yp-pc-partner-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-partner-meta {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 1px;
}

/* ─── Sticky Sidebar ─── */
.yp-pc-sticky-sidebar {
  position: sticky;
  top: 90px;
}

.yp-pc-sidebar-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.yp-pc-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}

.yp-pc-sidebar-sub {
  font-size: 12.5px;
  color: #64748B;
  margin: 0 0 16px;
  line-height: 1.45;
}

.yp-pc-sidebar-snapshot {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yp-pc-snapshot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.yp-pc-host-trust-box {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  display: flex;
  align-items: center;
}

/* ─── Auth Required UI Popup ─── */
.yp-pc-auth-card {
  max-width: 520px !important;
  padding: 34px 28px !important;
}

.yp-pc-auth-badge-container {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yp-pc-auth-badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(250, 188, 87, 0.28);
  animation: ypPcPulseRing 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.yp-pc-auth-badge-core {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.yp-pc-auth-perks {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yp-pc-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
  line-height: 1.4;
}

.yp-pc-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 10000;
  animation: ypPcFadeIn 0.2s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FULL-PAGE POOL CAMPUS DETAIL VIEW (STANDALONE / EVENT / COURSE STYLE)
   ═══════════════════════════════════════════════════════════════════════════ */
.yp-pc-detail-body-bg {
  background-color: #F8FAFC !important;
}

.yp-pc-fullpage-wrap {
  min-height: 85vh;
  padding: 15px 0 50px;
}

.yp-pc-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.yp-pc-detail-banner-hero,
.event-gallery {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1.5px solid #E2E8F0;
  display: block;
  margin-bottom: 24px;
}

.yp-pc-detail-banner-img,
.event-main-image {
  width: 100%;
  height: 450px;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {

  .yp-pc-detail-banner-img,
  .event-main-image {
    height: 280px;
    max-height: 280px;
  }
}

.yp-pc-detail-main-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.yp-pc-detail-heading {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.yp-pc-criteria-callout {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.yp-pc-detail-section-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.yp-pc-detail-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.yp-pc-detail-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.yp-pc-detail-section-sub {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  margin-top: 1px;
}

.yp-pc-detail-desc-content {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
}

.yp-pc-detail-desc-content p {
  margin-bottom: 12px;
}

.yp-pc-detail-desc-content p:last-child {
  margin-bottom: 0;
}

.yp-pc-partners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yp-pc-partner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.15s ease;
}

.yp-pc-partner-card:hover {
  background: #ffffff;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.yp-pc-partner-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  padding: 2px;
  flex-shrink: 0;
}

.yp-pc-partner-info {
  flex: 1;
  min-width: 0;
}

.yp-pc-partner-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-pc-partner-meta {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 1px;
}

/* ─── Sticky Sidebar ─── */
.yp-pc-sticky-sidebar {
  position: sticky;
  top: 90px;
}

.yp-pc-sidebar-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.yp-pc-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}

.yp-pc-sidebar-sub {
  font-size: 12.5px;
  color: #64748B;
  margin: 0 0 16px;
  line-height: 1.45;
}

.yp-pc-sidebar-snapshot {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yp-pc-snapshot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.yp-pc-host-trust-box {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  display: flex;
  align-items: center;
}

/* ─── Auth Required UI Popup ─── */
.yp-pc-auth-card {
  max-width: 520px !important;
  padding: 34px 28px !important;
}

.yp-pc-auth-badge-container {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yp-pc-auth-badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(250, 188, 87, 0.28);
  animation: ypPcPulseRing 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.yp-pc-auth-badge-core {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.yp-pc-auth-perks {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yp-pc-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
  line-height: 1.4;
}

.yp-pc-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 10000;
  animation: ypPcFadeIn 0.2s ease-out;
}