/**
 * FPO Foundation — Frontend Styles
 *
 * All selectors scoped under .fpo- prefix.
 * Design tokens from the FPO brand.
 *
 * @package FPO_Foundation
 */

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
    --fpo-navy: #1B2A3D;
    --fpo-navy-deep: #111C2A;
    --fpo-forest: #2D5016;
    --fpo-gold: #C8941E;
    --fpo-gold-light: #D4A93A;
    --fpo-blue: #1A5276;
    --fpo-stone: #F5F3EE;
    --fpo-cream: #FAF8F4;
    --fpo-text: #333333;
    --fpo-text-light: #666666;
    --fpo-border: #E0DDD6;
    --fpo-white: #FFFFFF;
    --fpo-red: #C0392B;
    --fpo-green: #27AE60;
    --fpo-orange: #E67E22;
    --fpo-radius: 8px;
    --fpo-radius-lg: 12px;
    --fpo-shadow: 0 2px 8px rgba(27, 42, 61, 0.08);
    --fpo-shadow-lg: 0 4px 20px rgba(27, 42, 61, 0.12);
    --fpo-transition: 0.2s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.fpo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--fpo-radius);
    cursor: pointer;
    transition: all var(--fpo-transition);
    font-family: inherit;
}

.fpo-btn:focus-visible {
    outline: 3px solid var(--fpo-gold);
    outline-offset: 2px;
}

.fpo-btn--primary {
    background: var(--fpo-forest);
    color: var(--fpo-white);
    border-color: var(--fpo-forest);
}

.fpo-btn--primary:hover {
    background: #245012;
    border-color: #245012;
    color: var(--fpo-white);
}

.fpo-btn--gold {
    background: var(--fpo-gold);
    color: var(--fpo-white);
    border-color: var(--fpo-gold);
}

.fpo-btn--gold:hover {
    background: var(--fpo-gold-light);
    border-color: var(--fpo-gold-light);
    color: var(--fpo-white);
}

.fpo-btn--outline {
    background: transparent;
    color: var(--fpo-navy);
    border-color: var(--fpo-border);
}

.fpo-btn--outline:hover {
    border-color: var(--fpo-navy);
    background: var(--fpo-stone);
}

.fpo-btn--navy {
    background: var(--fpo-navy);
    color: var(--fpo-white);
    border-color: var(--fpo-navy);
}

.fpo-btn--navy:hover {
    background: var(--fpo-navy-deep);
    border-color: var(--fpo-navy-deep);
    color: var(--fpo-white);
}

.fpo-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   Events Grid
   ========================================================================== */

.fpo-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    padding: 20px 0;
}

.fpo-events-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--fpo-text-light);
    font-size: 17px;
}

/* ==========================================================================
   Event Card
   ========================================================================== */

.fpo-event-card {
    background: var(--fpo-white);
    border-radius: var(--fpo-radius-lg);
    overflow: hidden;
    box-shadow: var(--fpo-shadow);
    transition: transform var(--fpo-transition), box-shadow var(--fpo-transition);
    display: flex;
    flex-direction: column;
}

.fpo-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fpo-shadow-lg);
}

.fpo-event-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--fpo-stone);
}

.fpo-event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fpo-event-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fpo-navy) 0%, var(--fpo-blue) 100%);
    color: rgba(255, 255, 255, 0.3);
}

.fpo-event-card__image-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.fpo-event-card__date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--fpo-white);
    border-radius: var(--fpo-radius);
    padding: 6px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.fpo-event-card__date-month {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fpo-gold);
    letter-spacing: 0.5px;
}

.fpo-event-card__date-day {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--fpo-navy);
    margin: 1px 0;
}

.fpo-event-card__date-year {
    display: block;
    font-size: 10px;
    color: var(--fpo-text-light);
}

.fpo-event-card__type-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--fpo-forest);
    color: var(--fpo-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fpo-event-card__type-tag--fishing { background: var(--fpo-blue); }
.fpo-event-card__type-tag--camping { background: var(--fpo-forest); }
.fpo-event-card__type-tag--hunting { background: var(--fpo-navy); }
.fpo-event-card__type-tag--multi_day_adventure { background: var(--fpo-gold); }

.fpo-event-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fpo-event-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.fpo-event-card__title a {
    color: var(--fpo-navy);
    text-decoration: none;
}

.fpo-event-card__title a:hover {
    color: var(--fpo-gold);
}

.fpo-event-card__location,
.fpo-event-card__date-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--fpo-text-light);
    margin: 0 0 4px 0;
}

.fpo-event-card__location .dashicons,
.fpo-event-card__date-text .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--fpo-gold);
}

.fpo-event-card__excerpt {
    font-size: 14px;
    color: var(--fpo-text-light);
    margin: 8px 0 16px 0;
    line-height: 1.6;
    flex: 1;
}

.fpo-event-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.fpo-event-card__spots {
    font-size: 13px;
    color: var(--fpo-text-light);
    font-weight: 500;
}

.fpo-event-card__cta {
    width: 100%;
    text-align: center;
}

/* Event Status Badges */
.fpo-event-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fpo-event-status--open {
    background: rgba(39, 174, 96, 0.1);
    color: var(--fpo-green);
}

.fpo-event-status--filling_fast {
    background: rgba(230, 126, 34, 0.1);
    color: var(--fpo-orange);
}

.fpo-event-status--waitlist {
    background: rgba(26, 82, 118, 0.1);
    color: var(--fpo-blue);
}

.fpo-event-status--full {
    background: rgba(192, 57, 43, 0.1);
    color: var(--fpo-red);
}

.fpo-event-status--completed {
    background: rgba(27, 42, 61, 0.1);
    color: var(--fpo-navy);
}

/* ==========================================================================
   Event Single
   ========================================================================== */

.fpo-event-single {
    max-width: 900px;
    margin: 0 auto;
}

.fpo-event-single__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.fpo-event-single__image {
    border-radius: var(--fpo-radius-lg);
    overflow: hidden;
}

.fpo-event-single__img {
    width: 100%;
    height: auto;
    display: block;
}

.fpo-event-single__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--fpo-navy);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.fpo-event-single__meta {
    margin-top: 16px;
}

.fpo-event-single__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--fpo-text);
    margin-bottom: 10px;
}

.fpo-event-single__meta-item .dashicons {
    color: var(--fpo-gold);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.fpo-event-single__content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--fpo-text);
}

.fpo-event-single__flyer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--fpo-border);
}

.fpo-event-single__flyer h3 {
    font-size: 20px;
    color: var(--fpo-navy);
    margin-bottom: 16px;
}

.fpo-event-single__flyer-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fpo-radius);
    box-shadow: var(--fpo-shadow);
}

/* ==========================================================================
   Sponsor Bar
   ========================================================================== */

.fpo-sponsor-bar {
    background: var(--fpo-navy-deep);
    padding: 40px 20px;
    text-align: center;
}

.fpo-sponsor-bar__tier {
    margin-bottom: 28px;
}

.fpo-sponsor-bar__tier:last-child {
    margin-bottom: 0;
}

.fpo-sponsor-bar__tier-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.fpo-sponsor-bar__tier--legacy .fpo-sponsor-bar__tier-label {
    color: var(--fpo-gold);
}

.fpo-sponsor-bar__tier--summit .fpo-sponsor-bar__tier-label {
    color: #C0C0C0;
}

.fpo-sponsor-bar__tier--trailblazer .fpo-sponsor-bar__tier-label {
    color: #CD7F32;
}

.fpo-sponsor-bar__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.fpo-sponsor-bar__item {
    transition: transform var(--fpo-transition), opacity var(--fpo-transition);
}

.fpo-sponsor-bar__item:hover {
    transform: scale(1.05);
}

.fpo-sponsor-bar__item a {
    display: block;
    text-decoration: none;
}

.fpo-sponsor-bar__logo--legacy {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity var(--fpo-transition);
}

.fpo-sponsor-bar__logo--legacy:hover {
    opacity: 1;
}

.fpo-sponsor-bar__logo--summit {
    max-height: 56px;
    max-width: 150px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity var(--fpo-transition);
}

.fpo-sponsor-bar__logo--summit:hover {
    opacity: 1;
}

.fpo-sponsor-bar__logo--trailblazer {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.65;
    transition: opacity var(--fpo-transition);
}

.fpo-sponsor-bar__logo--trailblazer:hover {
    opacity: 1;
}

.fpo-sponsor-bar__name--legacy,
.fpo-sponsor-bar__name--summit,
.fpo-sponsor-bar__name--trailblazer {
    color: var(--fpo-white);
    font-weight: 600;
    font-size: 16px;
}

.fpo-sponsor-bar__names {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 2;
}

.fpo-sponsor-bar__names a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.fpo-sponsor-bar__names a:hover {
    color: var(--fpo-white);
}

/* ==========================================================================
   Sponsors Page
   ========================================================================== */

.fpo-sponsors-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.fpo-sponsors-page__intro {
    text-align: center;
    margin-bottom: 48px;
}

.fpo-sponsors-page__intro h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--fpo-navy);
    margin-bottom: 12px;
}

.fpo-sponsors-page__intro p {
    font-size: 17px;
    color: var(--fpo-text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Tier Cards */
.fpo-sponsors-page__tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.fpo-tier-card {
    background: var(--fpo-white);
    border-radius: var(--fpo-radius-lg);
    padding: 32px 24px;
    box-shadow: var(--fpo-shadow);
    border-top: 4px solid transparent;
    text-align: center;
}

.fpo-tier-card--legacy {
    border-top-color: var(--fpo-gold);
}

.fpo-tier-card--summit {
    border-top-color: #C0C0C0;
}

.fpo-tier-card--trailblazer {
    border-top-color: #CD7F32;
}

.fpo-tier-card__header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--fpo-navy);
    margin: 0 0 8px 0;
}

.fpo-tier-card__amount {
    display: block;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.fpo-tier-card--legacy .fpo-tier-card__amount { color: var(--fpo-gold); }
.fpo-tier-card--summit .fpo-tier-card__amount { color: #999; }
.fpo-tier-card--trailblazer .fpo-tier-card__amount { color: #CD7F32; }

.fpo-tier-card__perks {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.fpo-tier-card__perks li {
    padding: 8px 0;
    border-bottom: 1px solid var(--fpo-border);
    font-size: 14px;
    color: var(--fpo-text);
    padding-left: 20px;
    position: relative;
}

.fpo-tier-card__perks li:last-child {
    border-bottom: 0;
}

.fpo-tier-card__perks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--fpo-forest);
    font-weight: 700;
}

/* Current Sponsors */
.fpo-sponsors-page__section {
    margin-bottom: 48px;
}

.fpo-sponsors-page__section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--fpo-navy);
    text-align: center;
    margin-bottom: 24px;
}

.fpo-sponsors-page__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.fpo-sponsors-page__logos--legacy .fpo-sponsors-page__logo {
    max-height: 100px;
    max-width: 240px;
    width: auto;
}

.fpo-sponsors-page__logos--summit .fpo-sponsors-page__logo {
    max-height: 70px;
    max-width: 180px;
    width: auto;
}

.fpo-sponsors-page__logos--trailblazer .fpo-sponsors-page__logo {
    max-height: 56px;
    max-width: 150px;
    width: auto;
}

.fpo-sponsors-page__sponsor {
    transition: transform var(--fpo-transition);
}

.fpo-sponsors-page__sponsor:hover {
    transform: scale(1.05);
}

.fpo-sponsors-page__sponsor a {
    display: block;
    text-decoration: none;
}

.fpo-sponsors-page__name {
    font-size: 18px;
    font-weight: 600;
    color: var(--fpo-navy);
}

.fpo-sponsors-page__names {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.fpo-sponsors-page__names li {
    font-size: 15px;
    color: var(--fpo-text);
}

.fpo-sponsors-page__names a {
    color: var(--fpo-navy);
    text-decoration: none;
}

.fpo-sponsors-page__names a:hover {
    color: var(--fpo-gold);
}

/* CTA */
.fpo-sponsors-page__cta {
    text-align: center;
    padding: 48px 24px;
    background: var(--fpo-stone);
    border-radius: var(--fpo-radius-lg);
    margin-top: 48px;
}

.fpo-sponsors-page__cta h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--fpo-navy);
    margin-bottom: 12px;
}

.fpo-sponsors-page__cta p {
    font-size: 16px;
    color: var(--fpo-text-light);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Application Form
   ========================================================================== */

.fpo-application {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Honeypot — hidden but accessible for bots */
.fpo-application__hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* Progress Indicator */
.fpo-application__progress {
    margin-bottom: 40px;
}

.fpo-application__progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.fpo-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.fpo-progress-step__number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: var(--fpo-border);
    color: var(--fpo-text-light);
    transition: all var(--fpo-transition);
}

.fpo-progress-step--active .fpo-progress-step__number,
.fpo-progress-step--completed .fpo-progress-step__number {
    background: var(--fpo-forest);
    color: var(--fpo-white);
}

.fpo-progress-step--completed .fpo-progress-step__number {
    background: var(--fpo-gold);
}

.fpo-progress-step__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--fpo-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fpo-progress-step--active .fpo-progress-step__label {
    color: var(--fpo-forest);
}

.fpo-progress-step--completed .fpo-progress-step__label {
    color: var(--fpo-gold);
}

.fpo-application__progress-bar {
    width: 100%;
    height: 4px;
    background: var(--fpo-border);
    border-radius: 2px;
    overflow: hidden;
}

.fpo-application__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fpo-forest), var(--fpo-gold));
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Steps */
.fpo-application__step {
    display: none;
    border: none;
    padding: 0;
    margin: 0;
}

.fpo-application__step--active {
    display: block;
    animation: fpoFadeIn 0.3s ease;
}

@keyframes fpoFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fpo-application__step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--fpo-navy);
    margin-bottom: 8px;
    padding: 0;
}

.fpo-application__step-desc {
    font-size: 15px;
    color: var(--fpo-text-light);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Form Elements */
.fpo-form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 0;
}

.fpo-form-row--half {
    grid-template-columns: 1fr 1fr;
}

.fpo-form-row--thirds {
    grid-template-columns: 2fr 1fr 1fr;
}

.fpo-form-group {
    margin-bottom: 20px;
}

.fpo-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--fpo-navy);
    margin-bottom: 6px;
}

.fpo-required {
    color: var(--fpo-red);
}

.fpo-form-input,
.fpo-form-select,
.fpo-form-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--fpo-text);
    background: var(--fpo-white);
    border: 2px solid var(--fpo-border);
    border-radius: var(--fpo-radius);
    transition: border-color var(--fpo-transition), box-shadow var(--fpo-transition);
    box-sizing: border-box;
}

.fpo-form-input:focus,
.fpo-form-select:focus,
.fpo-form-textarea:focus {
    outline: none;
    border-color: var(--fpo-forest);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.fpo-form-input.fpo-form-input--error,
.fpo-form-select.fpo-form-input--error,
.fpo-form-textarea.fpo-form-input--error {
    border-color: var(--fpo-red);
}

.fpo-form-input.fpo-form-input--error:focus,
.fpo-form-select.fpo-form-input--error:focus {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.fpo-form-error {
    display: block;
    font-size: 13px;
    color: var(--fpo-red);
    margin-top: 4px;
    min-height: 0;
}

.fpo-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.fpo-form-select {
    appearance: auto;
}

/* Checkbox Group */
.fpo-form-checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fpo-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--fpo-text);
    cursor: pointer;
    padding: 6px 0;
}

.fpo-form-checkbox input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--fpo-forest);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Navigation */
.fpo-application__nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--fpo-border);
}

.fpo-application__nav .fpo-btn {
    min-width: 140px;
}

/* Messages */
.fpo-application__messages {
    margin-top: 20px;
    padding: 0;
    border-radius: var(--fpo-radius);
    font-size: 14px;
    line-height: 1.6;
}

.fpo-application__messages:empty {
    display: none;
}

.fpo-application__messages--error {
    display: block;
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.2);
    color: var(--fpo-red);
    padding: 16px 20px;
}

.fpo-application__messages--success {
    display: block;
    background: rgba(39, 174, 96, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.2);
    color: var(--fpo-green);
    padding: 16px 20px;
}

/* Summary */
.fpo-application__summary {
    background: var(--fpo-stone);
    border-radius: var(--fpo-radius);
    padding: 24px;
    margin-top: 24px;
}

.fpo-application__summary h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--fpo-navy);
    margin: 0 0 16px 0;
}

.fpo-application__summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--fpo-border);
    font-size: 14px;
}

.fpo-application__summary-row:last-child {
    border-bottom: 0;
}

.fpo-application__summary-label {
    color: var(--fpo-text-light);
    font-weight: 500;
}

.fpo-application__summary-value {
    color: var(--fpo-navy);
    font-weight: 600;
    text-align: right;
}

/* Success State */
.fpo-application__success {
    text-align: center;
    padding: 60px 20px;
}

.fpo-application__success-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--fpo-green);
}

.fpo-application__success h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--fpo-navy);
    margin: 20px 0 12px;
}

.fpo-application__success p {
    font-size: 16px;
    color: var(--fpo-text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

    .fpo-event-single__header {
        grid-template-columns: 1fr;
    }

    .fpo-sponsors-page__tiers {
        grid-template-columns: 1fr;
    }

    .fpo-form-row--half,
    .fpo-form-row--thirds {
        grid-template-columns: 1fr;
    }

    .fpo-form-checkbox-group {
        grid-template-columns: 1fr;
    }

    .fpo-application__progress-steps {
        gap: 4px;
    }

    .fpo-progress-step__label {
        font-size: 10px;
    }

    .fpo-progress-step__number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .fpo-application__nav {
        flex-direction: column-reverse;
    }

    .fpo-application__nav .fpo-btn {
        width: 100%;
    }

    .fpo-sponsor-bar__logos {
        gap: 20px;
    }

    .fpo-sponsor-bar__logo--legacy {
        max-height: 56px;
        max-width: 150px;
    }

    .fpo-sponsor-bar__logo--summit {
        max-height: 40px;
        max-width: 120px;
    }

    .fpo-sponsor-bar__logo--trailblazer {
        max-height: 36px;
        max-width: 110px;
    }
}

@media (max-width: 480px) {
    .fpo-application__step-title {
        font-size: 20px;
    }

    .fpo-event-card__title {
        font-size: 16px;
    }
}

/* =====================================================
   STAFF DOCUMENTS & LOGIN
   ===================================================== */

/* --- Staff Login --- */
.fpo-staff-login {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.fpo-login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(27, 42, 61, 0.10);
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
}

.fpo-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.fpo-login-header h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--navy, #1B2A3D);
    font-size: 28px;
    margin: 0 0 8px;
}

.fpo-login-header p {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    color: #6B7B8D;
    font-size: 15px;
    margin: 0;
}

.fpo-login-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 20px;
}

.fpo-login-form .fpo-form-group {
    margin-bottom: 20px;
}

.fpo-login-form label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy, #1B2A3D);
    margin-bottom: 6px;
}

.fpo-login-form input[type="text"],
.fpo-login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.fpo-login-form input:focus {
    outline: none;
    border-color: var(--forest, #2D5016);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.12);
}

.fpo-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fpo-remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 14px !important;
    text-transform: none !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    cursor: pointer;
}

.fpo-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--forest, #2D5016);
}

.fpo-forgot-link {
    font-size: 14px;
    color: var(--blue, #1A5276);
    text-decoration: none;
}

.fpo-forgot-link:hover {
    text-decoration: underline;
}

/* --- Buttons --- */
.fpo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
}

.fpo-btn-primary {
    background: var(--forest, #2D5016);
    color: #fff;
}

.fpo-btn-primary:hover {
    background: #3a6a1d;
    transform: translateY(-1px);
}

.fpo-btn-outline {
    background: transparent;
    color: var(--navy, #1B2A3D);
    border: 2px solid var(--navy, #1B2A3D);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.fpo-btn-outline:hover {
    background: var(--navy, #1B2A3D);
    color: #fff;
}

.fpo-btn-small {
    padding: 8px 20px;
    font-size: 13px;
}

.fpo-btn-full {
    width: 100%;
}

/* --- Staff Gate (not logged in) --- */
.fpo-staff-gate {
    text-align: center;
    padding: 60px 20px;
}

.fpo-staff-gate p {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    color: #6B7B8D;
    font-size: 18px;
    margin-bottom: 24px;
}

.fpo-staff-logged-in {
    text-align: center;
    padding: 40px 20px;
}

.fpo-staff-logged-in p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* --- Staff Document Library --- */
.fpo-staff-documents {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

.fpo-staff-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--gold, #C8941E);
    padding-bottom: 16px;
}

.fpo-staff-header h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--navy, #1B2A3D);
    font-size: 28px;
    margin: 0;
}

.fpo-staff-welcome {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    color: #6B7B8D;
    font-size: 15px;
    margin: 0;
}

.fpo-staff-welcome a {
    color: var(--blue, #1A5276);
    text-decoration: none;
}

.fpo-staff-welcome a:hover {
    text-decoration: underline;
}

/* --- Category Filters --- */
.fpo-doc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.fpo-doc-filter {
    background: transparent;
    border: 1px solid #D1D5DB;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6B7B8D;
    cursor: pointer;
    transition: all 0.2s;
}

.fpo-doc-filter:hover,
.fpo-doc-filter.active {
    background: var(--forest, #2D5016);
    color: #fff;
    border-color: var(--forest, #2D5016);
}

/* --- Document Cards --- */
.fpo-doc-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fpo-doc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 20px 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.fpo-doc-card:hover {
    box-shadow: 0 4px 16px rgba(27, 42, 61, 0.08);
    border-color: var(--gold, #C8941E);
}

.fpo-doc-card[data-hidden="true"] {
    display: none;
}

.fpo-doc-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--stone, #F5F3EE);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fpo-doc-ext {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--forest, #2D5016);
    letter-spacing: 0.5px;
}

.fpo-doc-info {
    flex: 1;
    min-width: 0;
}

.fpo-doc-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 17px;
    color: var(--navy, #1B2A3D);
    margin: 0 0 4px;
}

.fpo-doc-desc {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    color: #6B7B8D;
    font-size: 14px;
    margin: 0 0 6px;
    line-height: 1.4;
}

.fpo-doc-meta {
    display: flex;
    gap: 12px;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 12px;
    color: #9CA3AF;
}

.fpo-doc-actions {
    flex-shrink: 0;
}

.fpo-doc-nofile {
    font-size: 13px;
    color: #9CA3AF;
    font-style: italic;
}

.fpo-doc-empty {
    text-align: center;
    color: #6B7B8D;
    font-style: italic;
    padding: 40px 0;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .fpo-doc-card {
        flex-direction: column;
        text-align: center;
    }

    .fpo-doc-meta {
        justify-content: center;
    }

    .fpo-staff-header {
        flex-direction: column;
        text-align: center;
    }

    .fpo-login-card {
        padding: 32px 24px;
    }
}
