.foaid-page-wrap {
    max-width: 660px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.foaid-card {
background: #1e130e !important;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 20px;
    box-shadow: 0 14px 45px rgba(0,0,0,0.08), 0 10px 18px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.foaid-heading {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.foaid-subtitle {
    margin-top: 0;
    margin-bottom: 16px;
    color: #555;
    font-size: 18px !important;
	text-align: center !important;
}

.foaid-whatsnew{
	font-size:14px;
}

.foaid-form-inline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.foaid-input {
    width: 100%;
    max-width: 280px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}


.foaid-btn-scan-brand {
    margin-top: 8px;
    width: 100%;
}

.foaid-status {
    margin-top: 10px;
    font-size: 13px;
    color: #c12d48;
}

.foaid-scanner-box {
    width: 100%;
    max-width: 360px;
    min-height: 260px;
    margin: 10px auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px dashed rgba(0,0,0,0.18);
    background: #fafafa;
}

/* Brand grid */
.foaid-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.foaid-brand-card {
    background: #fafafa;
    border-radius: 16px;
    padding: 12px 12px 14px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.foaid-brand-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-1px);
    border-color: rgba(193,45,72,0.3);
}

.foaid-brand-card h4 {
    margin: 8px 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.foaid-brand-logo img {
    max-width: 100% !important;
    max-height: 56px;
    object-fit: contain;
}

/* Done state */
.foaid-brand-card-done {
    background: #f4f8f4;
    border-color: rgba(54, 130, 72, 0.35);
    opacity: 0.9;
}

.foaid-badge-done {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ff8b3d;
    color: #100a08;
    font-size: 11px;
    font-weight: 500;
	box-shadow: 0 10px 22px rgba(255, 139, 61, 0.8), 0 0 0 1px rgba(255, 244, 233, 0.45);
}

/* Forms */
.foaid-form {
    margin-top: 8px;
}

.foaid-form-group {
    margin-bottom: 14px;
}

.foaid-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px 16px;
}

.foaid-radio-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.foaid-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.foaid-radio input[type="radio"] {
    accent-color: #c12d48;
}

.foaid-help-text {
    font-size: 12px;
    color: #777;
}

/* Admin styling */
.foaid-admin-wrap .foaid-admin-cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.foaid-admin-card {
    flex: 1 1 240px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.foaid-admin-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
}

.foaid-admin-panel {
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.foaid-admin-panel-half {
    flex: 1 1 320px;
}

.foaid-brand-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.foaid-brand-card-admin {
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.foaid-brand-qr img,
.foaid-brand-logo-preview img {
    max-width: 100%;
}

.foaid-table th,
.foaid-table td {
    font-size: 13px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .foaid-card {
        padding: 16px 14px;
    }
    .foaid-form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    .foaid-input {
        max-width: 100%;
    }
}

/* Popup-style modal for brand scanner & form */
#foaid-self-brand-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 480px;
    width: calc(100% - 32px);
    z-index: 9999;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.30);
}

/* Optional soft backdrop */
body:has(#foaid-self-brand-form[style*="display: block"])::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 9990;
}

.foaid-rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.foaid-rating-stars input[type="radio"] {
    display: none;
}

.foaid-rating-stars label {
    font-size: 28px;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.15s ease;
}

.foaid-rating-stars input[type="radio"]:checked ~ label,
.foaid-rating-stars label:hover,
.foaid-rating-stars label:hover ~ label {
    color: #f97316; /* warm orange star */
}

/* Popup container (brand form) */
#foaid-self-brand-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-height: 90vh;
    width: 95%;
    max-width: 480px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    border-radius: 18px;
}

/* Close button */
.foaid-popup-close {
    position: absolute;
    top: 0px !important;
    right: 12px;
    border: none !important;
    background: transparent !important;
    font-size: 35px !important;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8 !important;
	border-radius: 50px !important;
}

/* Rating stars – bigger & nice */
.foaid-rating-block {
    margin-bottom: 16px;
}

.foaid-rating-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.foaid-rating-stars {
    display: inline-flex;
    gap: 6px;
    font-size: 30px !important; /* bigger stars */
}

/* Hide radio inputs */
.foaid-rating-stars input[type="radio"] {
    display: none;
}

.foaid-rating-stars label {
    cursor: pointer;
    color: #fbbf24; /* yellow */
}

.foaid-rating-stars input[type="radio"]:checked ~ label,
.foaid-rating-stars label:hover,
.foaid-rating-stars label:hover ~ label {
    color: #f59e0b;
}

/* Photo preview thumbnails */
.foaid-photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.foaid-photo-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* hide actual radios */
.foaid-rating-stars input[type="radio"] {
    display: none;
}

/* default: light / “transparent” look */
.foaid-rating-stars label {
    cursor: pointer;
    color: #e5e7eb; /* light grey, looks unselected */
}

/* when a star is selected, only that star turns yellow */
.foaid-rating-stars input[type="radio"]:checked + label {
    color: #fbbf24; /* yellow */
}

/* optional: hover yellow */
.foaid-rating-stars label:hover {
    color: #fbbf24;
}

.foaid-btn-disabled,
.foaid-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Progress bar on dashboard */
.foaid-progress-wrap {
    margin: 12px 0 18px;
}

.foaid-progress-label {
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
    font-weight: 500;
}

.foaid-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.foaid-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #facc15, #f97316);
}

/* Progress bar wrapper */
.foaid-progress-wrap {
    margin: 12px 0 18px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.foaid-progress-header {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1f2933;
}

/* Track + fill */
.foaid-progress-bar {
    margin-top: 4px;
}

.foaid-progress-track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    /* IMPORTANT: remove overflow: hidden here */
}

.foaid-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #c12d48, #e04763);
    transition: width 0.25s ease-out;
}

/* Milestone marker for 25 brands */
.foaid-progress-milestone {
    position: absolute;
    top: -54px;                /* height above bar */
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.foaid-progress-milestone::before {
    content: "";
    width: 2px;
    height: 12px;
    background: #f97316;
    border-radius: 999px;
    margin-bottom: 2px;
}

.foaid-progress-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 10px;
    color: #9ca3af;
}

/* Achievement card */
.foaid-achievement {
    margin: 8px 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #68d5e5;
    border: 1px solid #fed7aa;
}

.foaid-achievement h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.foaid-achievement-line {
    margin: 4px 0;
    font-size: 13px;
	color: black;
}

.foaid-achievement-code {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #111827;
    color: #68d5e5;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 13px;
}

/* Sticky progress bar on mobile */
@media (max-width: 768px) {
    .foaid-progress-wrap {
        position: sticky;
        top: 0;
        z-index: 40;
        background: #ffffff;
        padding: 10px 14px 12px;
        margin: 0 -14px 12px;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    }

    /* tighten subtitle so it doesn’t fight for space with sticky bar */
    .foaid-subtitle {
        margin-bottom: 10px;
    }
}

/* Achievement "level up" popup */
.foaid-achievement-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.foaid-achievement-modal {
    background: #ffffff;
    max-width: 360px;
    width: 100%;
    padding: 22px 20px 18px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.foaid-achievement-modal h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}

.foaid-achievement p {
    margin: 4px 0;
    font-size: 13px;
	color: black;
}

.foaid-achievement-modal .foaid-achievement-code-big {
    margin-top: 10px;
    display: inline-block;
    padding: 8px 14px;
    background: #68d5e5;
    border: 1px dashed #c12d48;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.foaid-achievement-modal .foaid-btn-close {
    margin-top: 14px;
    border: none;
    padding: 8px 18px;
    background: #68d5e5;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Progress bar needs relative positioning so the gift can sit on top */
.foaid-progress-bar {
    position: relative;
}

/* Milestone container positioned above the bar */
.foaid-progress-milestone {
    position: absolute;
    top: -54px;               /* how high the gift sits above the bar */
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;     /* don’t interfere with tapping the bar */
}

/* Gift box style (Level 25) */
.foaid-gift-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #68d5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    position: relative;
}

/* Ribbon – vertical & horizontal */
.foaid-gift-box::before,
.foaid-gift-box::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
}

.foaid-gift-box::before {
    width: 8px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-radius: 4px;
}

.foaid-gift-box::after {
    height: 8px;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
}

/* Stars above the gift */
.foaid-gift-stars {
    font-size: 14px;
    color: #fffbe6;
    letter-spacing: 1px;
}

/* Label under the gift: 25 */
.foaid-gift-label {
    font-size: 11px;
    font-weight: 600;
    color: #facc15;
    letter-spacing: 0.04em;
}

/* Give a bit more top room so sticky bar doesn't cut the gift on phones */
@media (max-width: 768px) {
    .foaid-progress-wrap {
        padding-top: 26px;
    }
}

.foaid-dashboard-toolbar {
    margin: 12px 0 8px;
}

#foaid-brand-search {
    max-width: 260px;
}

/* --------------------------------------------------------
   BRANDS TABLE – CLEAN COMPACT ADMIN VIEW
---------------------------------------------------------*/

.foaid-brands-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 14px;
}

.foaid-brands-table th {
    background: #f5f5f5;
    font-weight: 600;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
}

.foaid-brands-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.foaid-brand-logo-thumb,
.foaid-brand-qr-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
}

.foaid-order-input {
    width: 70px;
    padding: 4px 6px;
}

.foaid-actions a.button-small {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .foaid-brands-table th,
    .foaid-brands-table td {
        font-size: 13px;
        padding: 8px;
    }

    .foaid-brand-logo-thumb,
    .foaid-brand-qr-thumb {
        width: 50px;
        height: 50px;
    }

    .foaid-order-input {
        width: 55px;
    }
}

.foaid-achievement-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1000;
    display: none; /* Initially hidden */
}

.foaid-popup-close-btn {
    background-color: #ff5733;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.foaid-popup-close-btn:hover {
    background-color: #e84d2a;
}


/* Top Rated Brands front-end */

.foaid-top-rated-wrap {
    max-width: 1200px !important;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.foaid-top-rated-heading {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.foaid-top-rated-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
}

.foaid-top-rated-empty {
    text-align: center;
    color: #777;
}

/* 3-column grid */
.foaid-top-rated-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem;
}


@media (max-width: 992px) {
    .foaid-top-rated-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .foaid-top-rated-grid {
        grid-template-columns: 1fr;
    }
}

.foaid-top-rated-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.foaid-top-rated-card-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.foaid-top-rated-row {
    margin-bottom: 0.6rem;
}

.foaid-top-rated-row-left {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}

.foaid-brand-name {
    font-weight: 500;
}

.foaid-rating-count {
    font-size: 0.85rem;
    color: #777;
}

.foaid-top-rated-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.foaid-top-rated-bar-bg {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: #f1f3f5;
    overflow: hidden;
}

.foaid-top-rated-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, #93003f);
}

.foaid-top-rated-score {
    font-size: 0.9rem;
    font-weight: 600;
}

.foaid-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #c12d48;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.45rem;
}


.foaid-top-rated-header {
    text-align: center;
}

.foaid-rsvp-details. {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
}

.foaid-rsvp-photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.foaid-rsvp-photo-thumb img {
    border-radius: 6px;
    max-width: 80px;
    height: auto;
    display: block;
}

/* Top rated brands – inline logo styling */
.foaid-top-rated-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.foaid-top-rated-row-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.foaid-top-rated-logo img {
    height: 22px;      /* adjust 18–26px as you like */
    width: auto;
    display: block;
}

.foaid-brand-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Profile popup overlay */
.foaid-popup {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;            /* JS sets to flex */
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

/* Inner card inside popup */
.foaid-popup-inner {
    max-width: 420px;
    width: 100%;
    position: relative;
}

/* Close button in popup */
.foaid-popup .foaid-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
}

/* ------------------------------
   YUU x FOAID – Dark Glow Theme
   Applies to [foaid_self_rsvp] and [foaid_qr_mark_printed]
--------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --foaid-bg-main: #050506;
  --foaid-bg-panel: #0c0d10;
  --foaid-bg-panel-soft: #14151b;

  --foaid-accent-orange: #ff8b3d;
  --foaid-accent-gold: #ffd85c;
  --foaid-accent-red: #ff4f4f;

  --foaid-text-main: #ffffff;
  --foaid-text-soft: #b5b8c3;
  --foaid-text-mute: #7f8290;

  --foaid-border-subtle: #262938;

  --foaid-radius-card: 18px;
  --foaid-radius-pill: 999px;
}

#foaid-self-rsvp,
#foaid-mark-printed {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  max-width: 430px;
  margin: 0 auto;
  color: var(--foaid-text-main);
}

/* Global background only for pages using the shortcodes */
body.page,
body.single,
body.post-type-archive {
  background: radial-gradient(circle at top, #312017 0, #050506 50%, #020205 100%);
}

/* ========== COMMON CARDS ========== */

.foaid-card {
/*   background: var(--foaid-bg-panel); */
  border-radius: var(--foaid-radius-card);
/*   border: 1px solid var(--foaid-border-subtle); */
  padding: 14px 14px 16px;
/*   box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85); */
  margin-bottom: 16px;
}

.foaid-heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #fdf8f4;
}

.foaid-subtitle {
  font-size: 0.82rem;
  color: #fbe8da;
  margin-bottom: 10px;
}

.foaid-status {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--foaid-text-soft);
}

.foaid-status-error {
  color: #fecaca;
}
.foaid-status-ok {
  color: #bef264;
}

/* ========== SELF RSVP – LOGIN & BADGE STEPS ========== */

#foaid-self-step-login {
  margin-top: 18px;
}

#foaid-self-step-badge {
  margin-top: 10px;
}

.foaid-form-inline {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.foaid-input {
  flex: 1;
  border-radius: 10px;
  border: 1px solid #403130;
  padding: 8px 12px;
  background: #070608;
  color: var(--foaid-text-main);
  font-size: 0.88rem;
  outline: none;
}

.foaid-input::placeholder {
  color: #746a77;
}

.foaid-btnsubmit {
  border-radius: 999px !important;
  border: none !important;
  padding: 9px 13px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, #ff8b3d 0%, #ffd85c 100%) !important;
  color: #271205 !important;
  box-shadow:
    0 14px 32px rgba(255, 157, 87, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.foaid-btn:active {
  filter: brightness(0.96);
  box-shadow: 0 10px 24px rgba(255, 157, 87, 0.9);
}

.foaid-btn-outline {
  background: transparent !important;
  border: border: 1px solid #ff8b3d !important;
  color: #ffb98a !important;
  box-shadow: 0 0 0 1px rgba(255, 139, 61, 0.15);
	border-radius: 999px !important;
}

.foaid-btn-outline:active {
  background: var(--foaid-accent-orange);
  color: #231006;
}

/* Scanner boxes styled like glowing panels */

.foaid-scanner-box {
  margin-top: 12px;
  border-radius: 20px;
  border: 1px dashed #4e4b62;
  background: radial-gradient(circle at 0 0, #221317 0, #050507 60%);
  padding: 10px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.95);
}

/* ========== PROFILE POPUP ========== */

.foaid-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(24, 16, 12, 0.96), rgba(0, 0, 0, 0.85));
}

.foaid-popup-inner {
  max-width: 380px;
  width: 90%;
  border-radius: 22px;
  background: #0b0c10;
  border: 1px solid #44332e;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
}

.foaid-popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: #f9e7d6;
  font-size: 20px;
  cursor: pointer;
}

.foaid-form-group {
  margin-bottom: 10px;
}

.foaid-form-group label {
  display: block;
  font-weight: 500;
  color: #d5c3b5;
  margin-bottom: 4px;
}

/* ========== DASHBOARD / BRAND GRID ========== */

#foaid-self-dashboard {
  margin-top: 10px;
}

.foaid-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.foaid-brand-card {
  background: var(--foaid-bg-panel-soft);
  border-radius: 16px;
  border: 1px solid #262938;
  padding: 9px 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
}

.foaid-brand-card-done {
  border-color: var(--foaid-accent-orange);
}

.foaid-brand-logo img {
  max-height: 30px;
}

.foaid-brand-logo,
.foaid-brand-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fdf8f4;
}

.foaid-brand-sub {
  font-size: 0.7rem;
  color: var(--foaid-text-mute);
}

/* The buttons inside dashboard HTML already have classes:
   .foaid-btn-scan-brand, .foaid-btn-view-details, etc. */

.foaid-btn-scan-brand,
.foaid-btn-view-details {
  border-radius: var(--foaid-radius-pill);
  border: 1px solid var(--foaid-accent-orange);
  background: transparent;
  color: #ffb98a;
  font-size: 0.7rem;
  padding: 4px 6px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: 4px;
  box-shadow: 0 0 0 1px rgba(255, 139, 61, 0.15);
}

.foaid-btn-view-details {
  border-color: #343544;
  background: #09090e;
  color: #e0dfff;
}

/* RSVP Detail view */

#foaid-self-rsvp-detail {
  margin-top: 10px;
}

.foaid-detail-section {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #11121a;
}

.foaid-detail-title {
  margin: 0 0 6px 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #f9f5ee;
}

.foaid-detail-text {
  font-size: 0.78rem;
  color: #cbd5f5;
}

/* ========== MARK PRINTED SCREEN ========== */

#foaid-mark-printed {
  margin-top: 20px;
}

#foaid-vol-login-card h2,
#foaid-vol-scanner-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #fdf8f4;
}

#foaid-vol-code {
  max-width: 220px;
}

/* Small helper texts */

.foaid-help-text {
  font-size: 0.72rem;
  color: var(--foaid-text-mute);
}

/* ========== Top Rated Brands section (your other shortcode) ========== */

/* Top Rated page: allow full width (override the 430px container) */
.foaid-top-rated-wrap{
  max-width: 1200px !important;
  width: min(1200px, 100%) !important;
  margin: 0 auto 3rem !important;
}

/* If top-rated section is inside #foaid-self-rsvp, override it only for this section */
#foaid-self-rsvp .foaid-top-rated-wrap{
  max-width: 1200px !important;
}

/* If your top-rated page uses .page wrapper, override that wrapper too */
.page:has(.foaid-top-rated-wrap){
  max-width: 1200px !important;
}


/* keep your existing .foaid-top-rated-grid styles if you like – they already match the FOAID palette */

.foaid-brand-logo img {
    max-height: 50px;
    background-color: white;
    border-radius: 10px !important;
    padding: 5px;
}
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
      background: radial-gradient(circle at top, #312017 0, #050506 50%, #020205 100%);
      color: var(--text-main);
      line-height: 1.45;
    }

    .page {
      max-width: 430px;
      margin: 0 auto;
      min-height: 100vh;
    }


    /* ========== TOP BRAND STRIP ========== */

    .foaid-logo-img {
      height: 22px;
      width: auto;
      display: block;
    }

    .yuu-logo-header {
      height: 22px;
      width: auto;
      display: block;
    }

    .top-bar {
      display: flex;
      justify-content: center;
      padding: 12px 16px 8px;
    }

    .brand-pair {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 30px;
      border-radius: 999px;
      background: rgba(8, 8, 10, 0.96);
      border: 1px solid rgba(120, 88, 60, 0.6);
      box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.02);
      font-size: 0.78rem;
      font-weight: 500;
      color: #f8f0e8;
    }

    .brand-pair img {
      height: 50px !important;
    }

    .brand-pair-x {
      font-weight: 700;
      font-size: 0.9rem;
      opacity: 0.9;
    }

    /* ========== HERO (LOGIN SCREEN) ========== */

    .hero-login {
      margin-top: 6px;
      margin-bottom: 26px;
      border-radius: 32px;
      padding: 26px 20px 90px;
      background:
        radial-gradient(circle at 0% 0%, rgba(255, 199, 123, 0.8) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(255, 139, 73, 0.9) 0, transparent 58%),
        linear-gradient(180deg, #1b0d08 0, #050507 60%, #030305 100%);
      color: var(--text-main);
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    }

    .hero-glass {
      position: absolute;
      inset: -40px;
      opacity: 0.18;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.4), transparent 50%);
      mix-blend-mode: screen;
    }

    .hero-content {
      position: relative;
      z-index: 1;
    }

    .hero-logo-tile {
      width: 70px;
      height: 70px;
      border-radius: 22px;
      background:
        radial-gradient(circle at 20% 0%, #ffe4b2 0, #ffb266 40%, #6b3015 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .hero-logo-tile span {
      font-family: "Montserrat", sans-serif;
      font-weight: 700;
      font-size: 1.3rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #2b1307;
    }

    .hero-kicker {
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      opacity: 0.85;
      margin-bottom: 4px;
    }

    .hero-title {
      font-family: "Montserrat", sans-serif;
      font-weight: 700;
      font-size: 1.36rem;
      margin-bottom: 6px;
    }

    .hero-sub {
      font-size: 0.82rem;
      color: #fbe8da;
      margin-bottom: 10px;
    }

    .hero-meta {
      font-size: 0.72rem;
      color: #fddcbc;
      opacity: 0.95;
    }

    .hero-meta span {
      display: block;
    }

    /* ========== CARD + FORM ========== */

    .card {
      background: #0c0d10 !important;
      border-radius: 18px;
      border: 1px solid #262938 !important;
      margin-bottom: 14px;
	padding: 14px 14px 16px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85);
    }

    .section-title {
      font-size: 0.86rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #c99a7a;
      margin-bottom: 10px;
    }

    .login-card h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #fdf8f4;
}

    .login-tagline {
      font-size: 0.8rem;
      color: var(--text-soft);
      margin-bottom: 12px;
    }

    .form-group {
      margin-bottom: 10px;
    }

    label {
      display: block;
      font-size: 0.76rem;
      font-weight: 500;
      color: #d5c3b5;
      margin-bottom: 4px;
    }

    .input-pill {
      display: flex !important;
      align-items: center;
      border-radius: 999px;
      border: 1px solid #403130;
      padding: 7px 10px !important;
      background: #070608 !important;
    }

    .input-pill input {
      border: none !important;
      outline: none;
      flex: 1;
      font-size: 0.86rem;
      background: transparent;
      color: #ffffff;
    }

    .input-pill input::placeholder {
      color: #746a77;
    }

    .btn-primary {
      width: auto% !important;
      border: none !important;
      border-radius: 999px !important;
      padding: 11px 14px !important;
      font-size: 0.9rem;
      font-weight: 600;
      background: linear-gradient(90deg, #ff8b3d 0%, #ffd85c 100%) !important;
      color: #271205 !important;
      box-shadow:
        0 14px 32px rgba(255, 157, 87, 0.85) !important,
        0 0 0 1px rgba(255, 255, 255, 0.08) !important;
      cursor: pointer;
		text-align: center !important;
    }

    .btn-primary:active {
      filter: brightness(0.95);
      box-shadow: 0 10px 24px rgba(255, 157, 87, 0.9);
    }

/* ========== YUU STRIP + FOOTER ========== */

    .yuu-strip {
      margin-top: 14px;
      padding: 10px;
      border-radius: 16px;
      border: 1px dashed #4b3d2e;
      background: radial-gradient(circle at 0 0, #2b1a10 0, #080608 70%);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 0.72rem;
      color: #f1decc;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
    }

    .yuu-strip img {
      height: 30px !important;
    }

    .yuu-strip strong {
      display: block;
      font-weight: 600;
      color: #ffe1b6;
    }

    .footer-note {
      margin-top: 50px;
      font-size: 16px;
      text-align: center;
      color: var(--text-mute);
      padding-bottom: 2px;
    }

/* ---- FOAID × YUU Progress Card ---- */

.foaid-progress-card {
    margin-top: 14px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background: radial-gradient(circle at 0 0, #131018 0, #05050a 70%);
    border: 1px solid rgba(68, 64, 90, 0.9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
    color: #f9fafb;
    font-size: 13px;
}

.foaid-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.foaid-progress-row-top {
    margin-bottom: 6px;
}

.foaid-progress-row-sub {
    margin-bottom: 8px;
    color: #cbd5f5;
    font-size: 12px;
}

.foaid-progress-row-sub span:last-child {
    text-align: right;
}

.foaid-progress-row-bottom {
    margin-top: 8px;
    color: #e5e7eb;
    font-size: 12px;
}

.foaid-progress-count {
    font-size: 14px;
    font-weight: 600;
}

/* Pills / chips */

.foaid-chip-outline {
    border-radius: 999px;
    border: 1px solid #fbbf77;
    padding: 4px 12px;
    background: transparent;
    font-size: 11px;
    font-weight: 500;
    color: #ffe6bf;
    cursor: default;
    box-shadow: 0 0 0 1px rgba(255, 166, 93, 0.2);
}

.foaid-chip-solid {
    border-radius: 999px;
    border: 1px solid #1f2937;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    background: radial-gradient(circle at 0 0, #18181b 0, #020617 70%);
    color: #e5e7eb;
}

/* Progress bar line */

.foaid-progress-track-wrap {
    margin: 2px 0 4px;
}

.foaid-progress-track-line {
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #262735, #15151f);
    overflow: hidden;
}

.foaid-progress-fill-line {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #31dda3, #ffd65a, #ff9260);
    box-shadow: 0 0 14px rgba(255, 157, 87, 0.9);
}

/* Golden pin for 30 brands */

.foaid-progress-pin {
    position: absolute;
    top: -2px;
    width: 2px;
    height: 14px;
    border-radius: 999px;
    background: #ffd65a;
    box-shadow: 0 0 8px rgba(255, 214, 90, 0.9);
    transform: translateX(-50%);
}

/* Quick brand search bar */
.foaid-brand-search-wrap {
    margin-top: 14px;
    margin-bottom: 16px;
}

.foaid-brand-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, #1f2937, #020617 60%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.55);
}

.foaid-brand-search-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    position: relative;
    flex-shrink: 0;
	
}

.foaid-brand-search-icon::before,
.foaid-brand-search-icon::after {
    content: "";
    position: absolute;
}

.foaid-brand-search-icon::before {
    /* lens */
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(226, 232, 240, 0.9);
    left: 4px;
    top: 4px;
}

.foaid-brand-search-icon::after {
    /* handle */
    width: 6px;
    height: 2px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
    transform: rotate(45deg);
    right: 3px;
    bottom: 4px;
	
}

.foaid-brand-search-input {
    flex: 1;
    background: transparent;
    border: none !important;
    outline: none;
    font-size: 14px;
    color: #e5e7eb;
}

.foaid-brand-search-input::placeholder {
    color: #94a3b8;
}

@media (max-width: 640px) {
    .foaid-brand-search-inner {
        padding: 9px 13px;
        border-radius: 16px;
    }
    .foaid-brand-search-input {
        font-size: 13px;
    }
}

/* ===== Small Countdown Bar ===== */
.foaid-winners-countdown{
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.foaid-wc-left{display:flex;flex-direction:column;gap:4px;}
.foaid-wc-title{font-size:12px;color:#cbd5e1;line-height:1.2;}
.foaid-wc-time{
  font-size:13px;font-weight:700;color:#fff;
  padding:6px 10px;border-radius:999px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.08);
  width:max-content;
}
.foaid-wc-btn{font-size:12px;padding:6px 10px;}

/* ===== Modal ===== */
.foaid-modal{position:fixed;inset:0;z-index:99999;display:none;}
.foaid-modal-backdrop{
  position:absolute;inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
.foaid-modal-card{
  position:relative;
  width:min(520px, 92vw);
  margin: 10vh auto 0;
  border-radius: 18px;
  background: rgba(17,24,39,.96);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  overflow:hidden;
}
.foaid-modal-close{
  position:absolute !important;top:10px !important;right:12px !important;
  width:34px !important;height:34px !important;border-radius:10px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.06) !important;
  color:#fff !important;font-size:20px !important;line-height:30px !important;
  cursor:pointer !important;
}
.foaid-modal-head{padding:16px 16px 10px;}
.foaid-modal-badge{
  display:inline-flex;align-items:center;
  font-size:11px;font-weight:700;
  color:#111827;
  background:#fbbf24;
  padding:4px 8px;border-radius:999px;
}
.foaid-modal-title{margin:10px 0 4px;font-size:18px;color:#fff;}
.foaid-modal-sub{font-size:12px;color:#94a3b8;}

.foaid-modal-body{padding:10px 16px 14px;}
.foaid-winner-list{display:flex;flex-direction:column;gap:10px;margin-top:8px;}
.foaid-winner-row{
  display:flex;gap:12px;align-items:flex-start;
  padding:10px 12px;border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}
.foaid-winner-rank{
  min-width:40px;height:40px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.25);
  color:#fbbf24;font-weight:800;
}
.foaid-winner-name{color:#fff;font-weight:700;font-size:14px;}
.foaid-winner-meta{color:#94a3b8;font-size:12px;margin-top:2px;}
.foaid-modal-footnote{margin-top:10px;font-size:11px;color:#64748b;}

.foaid-modal-actions{
  padding: 12px 16px 16px;
  display:flex;justify-content:flex-end;
}

/* Mobile */
@media (max-width:520px){
  .foaid-modal-card{margin: 8vh auto 0;}
}

