/*
Theme Name: ARP
Author: Softforce
Version: 1.0
*/
.vc_row{
    margin-left:0px !important;
    margin-right: 0px !important;
}
.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li{
  margin-bottom:0px !important;
}
.no-events {
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    color: #666;
    padding: 40px 0;
}
#video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
  }
  
  .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
  }
  
  .video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 800px;
    transform: translate(-50%, -50%);
    background: #000;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .video-content iframe {
    width: 100%;
    height: 450px;
    display: block;
  }
  
  .video-close {
    position: absolute;
    right: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
  }
  .gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  .gallery-card video {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
  }

  .upload-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  
  .upload-drop {
    position: relative;
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    display: block;
    cursor: pointer;
  }
  .wpcf7 .cf7sr-g-recaptcha {
    margin-top: 10px;
  }
  .field{
    gap:0px !important;
  }
  .upload-drop {
    position: relative;
  }
  
  .upload-remove {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
  }
  
  .upload-remove i {
    font-size: 12px;
  }
  .event-details-head p {
    max-width: 56rem;
    margin: 14px auto 0;
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.93rem;
    text-align: justify;
  }
  .gallery-video-wrap img {
    height: 260px !important;
  }
  .media-card video {
      pointer-events: none;
  }
  .custom-logo {
    max-height: 60px;
    width: auto;
    margin-top:5px;
}
a.event-card-link {
  text-decoration: none;
  color: inherit;
}

.registration-page {
  min-height: 60vh;
}

.registration-hero {
  padding: 72px 0;
  background: var(--bg);
}

.registration-inner {
  width: min(920px, 92%);
}

.registration-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.registration-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.registration-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3.9vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.registration-subtitle {
  margin: 0 auto;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.registration-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
  display: grid;
  gap: 18px;
  width: min(720px, 100%);
  margin: 0 auto;
  /* min-height: 560px; */
}

.registration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.registration-price {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--text);
}

.registration-price-value {
  font-weight: 700;
}

.registration-submit {
  border: 0;
  width: fit-content;
  min-width: 180px;
  min-height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  transition: filter 0.2s ease, transform 0.05s ease;
}

.registration-submit:hover {
  filter: brightness(0.94);
}

.registration-submit:active {
  transform: translateY(1px);
}

.registration-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
p {
  line-height: 25px;
  /* text-align: justify; */
}
.event-reg-form-shell{
  border:none !important;
  padding:20px !important;
}
/* =========================
   HIDE REPEATER INITIALLY
========================= */
.ff-repeater-container {
  display: none;
}

/* =========================
   REPEATER CARD
========================= */
.ff_repeater_cont_row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 15px;
  background: #fff;
  gap: 15px;
}

/* =========================
   HEADER (full width, top row)
========================= */
.ff_repeater_cont_row .participant-header {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #f3f3f3;
  padding: 12px 15px;
  border-radius: 10px;
}

/* Fields row: filled by JS (.participant-fields-row) */
.participant-fields-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  gap: 15px;
}

.participant-fields-row > .ff-t-cell {
  flex: 1 1 0 !important;
  min-width: 0;
}

.participant-fields-row > .ff_repeater_cell.repeat_btn {
  flex: 0 0 auto !important;
  align-self: center;
}

.ph-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ph-badge {
  background: #ff6600;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 14px;
}

.ph-ticket {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

/* =========================
   INPUT STYLING
========================= */
.ff-el-form-control {
  border-radius: 8px !important;
  border: 1px solid #ddd !important;
  padding: 10px !important;
}

/* =========================
   HIDE TICKET FIELD COMPLETELY
========================= */

/* Hide label */
.ff_repeater_cont_row label[aria-label="Ticket"] {
  display: none !important;
}

/* Hide select */
.ff_repeater_cont_row select {
  display: none !important;
}

/* =========================
   HIDE ADD / REMOVE BUTTONS
========================= */
.repeat-plus,
.repeat-minus {
  display: none !important;
}

/* Event registration: Fluent Forms repeater + theme participant header (JS wraps fields) */
.frm-fluent-form .ff_repeater_cont_row {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}

.frm-fluent-form .participant-fields-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.frm-fluent-form .participant-fields-row > .ff-t-cell {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.frm-fluent-form .participant-fields-row > .ff_repeater_cell.repeat_btn {
  flex: 0 0 auto !important;
}
.fab-social {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column; /* 🔥 vertical */
  gap: 10px;
}

.fab-item {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.fab-item:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.fab-item i {
  font-size: 1.4rem;
}

/* Individual colors */
.whatsapp { background: #25d366; }
.facebook { background: #1877f2; }
.instagram { background: #e4405f; }
.twitter { background: #000; }
.youtube { background: #ff0000; }
@media (max-width: 768px) {
  .frm-fluent-form .participant-fields-row > .ff-t-cell {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 640px) {
  .registration-card {
    padding: 30px;
  }

  .registration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
