/**
 * Datei: wp-content/plugins/fanclub-core/modules/members/assets/profile.css
 * Profil-Seite [fc_member_profile]
 */

/* Barlow Condensed self-hosted via Theme (assets/fonts/fonts.css) */

/* ── WRAPPER ── */
.fc-profile { max-width: 860px; margin: 0 auto; padding-bottom: 80px; font-family: 'Barlow Condensed', sans-serif; }

/* ── HERO ── */
.fc-pf-hero { padding: 40px 32px 28px; border-bottom: 1px solid var(--fc-surface-2); position: relative; overflow: hidden; }
.fc-pf-eyebrow { position: relative; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; color: var(--fc-yellow); text-transform: uppercase; margin-bottom: 20px; z-index: 1; font-family: 'Barlow Condensed', sans-serif; }
.fc-pf-hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 32px; }
.fc-pf-legion-box { position: relative; flex-shrink: 0; padding: 4px 5px; display: inline-flex; align-items: center; justify-content: center; }
.fc-pf-corner { position: absolute; width: 20px; height: 20px; }
.fc-pf-corner--tl { top: 0; left: 0;  border-top: 1px solid var(--fc-yellow); border-left:  1px solid var(--fc-yellow); }
.fc-pf-corner--tr { top: 0; right: 0; border-top: 1px solid var(--fc-yellow); border-right: 1px solid var(--fc-yellow); }
.fc-pf-corner--bl { bottom: 0; left: 0;  border-bottom: 1px solid var(--fc-yellow); border-left:  1px solid var(--fc-yellow); }
.fc-pf-corner--br { bottom: 0; right: 0; border-bottom: 1px solid var(--fc-yellow); border-right: 1px solid var(--fc-yellow); }
.fc-pf-legion { flex-shrink: 0; }
.fc-pf-legion .fc-lv-wrap  { padding: 0; display: block; line-height: 0; }
.fc-pf-legion .fc-lv-inner { display: block; background: transparent; border: none; padding: 0; box-shadow: none; }
.fc-pf-legion .fc-lv__info { display: none; }
.fc-pf-legion .fc-lf       { display: none; }
.fc-pf-legion .fc-lv__svg  { display: block; width: 260px; height: 357px; }
.fc-pf-hero-text { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding-bottom: 0; }
.fc-pf-name { font-size: clamp( 3.5rem, 10vw, 6.5rem ); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--fc-text-primary); line-height: 0.9; letter-spacing: -0.03em; margin: 0; }
.fc-pf-name span { color: var(--fc-yellow); }
.fc-pf-jahre { display: inline-flex; align-items: center; gap: 8px; background: var(--fc-yellow); color: #000; font-size: 1.35rem; font-weight: 700; font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 22px; align-self: flex-start; }
.fc-pf-badge-o { display: inline-block; border: 1px solid #2a2a2a; color: var(--fc-text-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 14px; }

/* ── STATS ── */
.fc-pf-stats { display: grid; grid-template-columns: repeat( 4, 1fr ); border-bottom: 1px solid var(--fc-surface-2); }
.fc-pf-stat { padding: 24px 28px; border-right: 1px solid var(--fc-surface-2); }
.fc-pf-stat:last-child { border-right: none; }
.fc-pf-stat-num { font-size: clamp( 2rem, 5vw, 3.2rem ); font-weight: 800; font-style: italic; color: var(--fc-yellow); line-height: 1; letter-spacing: -0.03em; }
.fc-pf-stat-num.fc-pf-wh    { color: var(--fc-text-primary); }
.fc-pf-stat-num.fc-pf-danger { color: var(--fc-danger); }
.fc-pf-stat-label { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.16em; color: var(--fc-yellow); text-transform: uppercase; margin-top: 5px; font-family: 'Barlow Condensed', sans-serif; }
.fc-pf-stat-sub   { font-size: 1.15rem; color: var(--fc-text-primary); margin-top: 3px; letter-spacing: 0.04em; font-family: 'Barlow Condensed', sans-serif; }

/* ── SEKTIONEN ── */
.fc-pf-section { border-bottom: 1px solid var(--fc-surface-2); }
.fc-pf-section-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 28px 32px 0; }
.fc-pf-section-title { font-size: clamp( 1.8rem, 4.5vw, 3rem ); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--fc-text-primary); letter-spacing: -0.02em; line-height: 0.92; }
.fc-pf-bar { width: 36px; height: 3px; background: var(--fc-yellow); margin: 8px 0 0 32px; }
.fc-pf-edit-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--fc-surface-2); color: var(--fc-text-primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 16px; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; margin-bottom: 4px; font-family: 'Barlow Condensed', sans-serif; }
.fc-pf-edit-btn:hover        { border-color: var(--fc-yellow); color: var(--fc-yellow); }
.fc-pf-edit-btn.fc-pf-active { background: var(--fc-yellow); color: #000; border-color: var(--fc-yellow); }
.fc-pf-edit-btn:disabled     { opacity: 0.5; cursor: wait; }

/* ── FELDER ── */
.fc-pf-fields { padding: 16px 32px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.fc-pf-field { padding: 12px 0; border-bottom: 1px solid #0d0d0d; }
.fc-pf-field:nth-last-child(-n+2) { border-bottom: none; }
.fc-pf-field.fc-pf-readonly { opacity: 0.45; pointer-events: none; }
.fc-pf-label { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.16em; color: var(--fc-yellow); text-transform: uppercase; margin-bottom: 5px; font-family: 'Barlow Condensed', sans-serif; }
.fc-pf-val { font-size: clamp( 1.5rem, 3.5vw, 2rem ); font-weight: 800; font-style: italic; color: var(--fc-text-primary); text-transform: uppercase; letter-spacing: -0.02em; }
.fc-pf-dim { color: var(--fc-text-secondary); }

/* Input im Edit-Modus */
.fc-pf-field input {
    width: 100%;
    background: #080808;
    border: 1px solid var(--fc-yellow);
    color: var(--fc-text-primary);
    padding: 8px 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    outline: none;
    box-sizing: border-box;
}
.fc-pf-field input:focus { background: #0d0d0d; box-shadow: 0 0 0 2px var(--fc-yellow-ghost); }

/* Select im Edit-Modus – selbes Design wie Input */
.fc-pf-field select {
    width: 100%;
    background: #080808;
    border: 1px solid var(--fc-yellow);
    color: var(--fc-text-primary);
    padding: 8px 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFD900' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.fc-pf-field select:focus { background-color: #0d0d0d; box-shadow: 0 0 0 2px var(--fc-yellow-ghost); }
.fc-pf-field select option { background: #0d0d0d; color: #fff; font-style: normal; text-transform: none; }

.fc-pf-label.fc-pf-required::after { content: ' *'; color: var(--fc-yellow); }
.fc-pf-optional-tag { font-size: 0.65rem; color: var(--fc-text-muted); font-weight: 400; font-style: normal; letter-spacing: 0.04em; text-transform: none; }

/* Land: volle Breite */
.fc-pf-field--full { grid-column: 1 / -1; border-bottom: 1px solid #0d0d0d !important; }

/* Info-Icon + Tooltip */
.fc-pf-info { display: inline-flex; align-items: center; cursor: help; margin-left: 5px; vertical-align: middle; color: var(--fc-yellow); }
.fc-pf-tooltip { position: fixed; background: #0d0d0d; border: 1px solid var(--fc-yellow); color: var(--fc-text-primary); font-size: 0.78rem; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0.02em; line-height: 1.6; padding: 10px 14px; max-width: 260px; z-index: 9000; pointer-events: none; display: none; }

/* Datepicker */
.fc-dp-wrap { display: flex; align-items: center; gap: 8px; }
.fc-dp-wrap input { flex: 1; }
.fc-dp-icon { background: none; border: 1px solid var(--fc-yellow); color: var(--fc-yellow); padding: 8px 10px; cursor: pointer; display: flex; align-items: center; flex-shrink: 0; }
.fc-dp-icon:hover { background: var(--fc-yellow-ghost); }
.fc-datepicker { position: absolute; top: calc(100% + 4px); left: 0; background: #080808; border: 1px solid var(--fc-yellow); padding: 12px; z-index: 999; min-width: 260px; box-shadow: 0 8px 32px rgba(0,0,0,0.9); }
.fc-dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fc-dp-title { font-size: 0.8rem; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fc-text-primary); }
.fc-dp-nav { background: none; border: none; color: var(--fc-yellow); font-size: 1rem; font-weight: 700; cursor: pointer; padding: 2px 8px; }
.fc-dp-nav:hover { color: #fff; }
.fc-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.fc-dp-weekday { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; color: var(--fc-yellow); text-align: center; padding: 4px 0; text-transform: uppercase; }
.fc-dp-day { background: none; border: none; color: var(--fc-text-primary); font-size: 0.8rem; font-weight: 600; text-align: center; padding: 6px 2px; cursor: pointer; font-family: inherit; }
.fc-dp-day:hover { background: var(--fc-surface-2); color: var(--fc-yellow); }
.fc-dp-day.fc-dp-selected { background: var(--fc-yellow); color: #000; font-weight: 800; }

/* Toast */
.fc-pf-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: #0d0d0d; border-left: 3px solid var(--fc-yellow); color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; padding: 12px 24px; z-index: 9999; opacity: 0; transition: opacity 0.25s; pointer-events: none; white-space: nowrap; }
.fc-pf-toast--show { opacity: 1; }
.fc-pf-toast--err  { border-left-color: var(--fc-danger); }

/* ── RESPONSIVE ── */
@media ( max-width: 680px ) {
    .fc-pf-stats  { grid-template-columns: 1fr 1fr; }
    .fc-pf-fields { grid-template-columns: 1fr; }
    .fc-pf-field:nth-last-child(-n+2) { border-bottom: 1px solid #0d0d0d; }
    .fc-pf-field:last-child           { border-bottom: none; }
    .fc-pf-hero, .fc-pf-section-head, .fc-pf-stat, .fc-pf-fields { padding-left: 20px; padding-right: 20px; }
    .fc-pf-bar           { margin-left: 20px; }
    .fc-pf-section-title { font-size: clamp( 1.5rem, 6vw, 2rem ); }
    .fc-pf-name          { font-size: clamp( 2.5rem, 12vw, 4rem ); }
    .fc-pf-hero-inner    { flex-direction: column; align-items: flex-start; gap: 20px; }
    .fc-pf-legion .fc-lv__svg { width: 110px; height: 151px; }
    .fc-pf-legal-list    { padding-left: 20px; padding-right: 20px; }
}

/* ── DATENSCHUTZ & VERSCHWIEGENHEIT ────────────────────────────────────────── */
.fc-pf-legal-list {
    list-style: none;
    margin:     20px 0 0;
    padding:    0 32px 32px;
    display:    flex;
    flex-direction: column;
    gap:        14px;
}
.fc-pf-legal-item {
    display:      flex;
    align-items:  flex-start;
    gap:          14px;
    padding:      14px 0;
    border-bottom: 1px solid var(--fc-surface-2);
}
.fc-pf-legal-item:last-child { border-bottom: none; }

.fc-pf-legal-dot {
    flex-shrink:  0;
    width:        28px;
    height:       28px;
    border-radius: 50%;
    display:      inline-flex;
    align-items:  center;
    justify-content: center;
    font-size:    14px;
    font-weight:  700;
    line-height:  1;
    margin-top:   2px;
}
.fc-pf-legal-dot--ok   { background: #2ecc71; color: #000; }
.fc-pf-legal-dot--bad  { background: #e74c3c; color: #fff; }
.fc-pf-legal-dot--open { background: #f1c40f; color: #000; }

.fc-pf-legal-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.4;
}
.fc-pf-legal-title {
    font-family:    'Barlow Condensed', sans-serif;
    font-size:      1.1rem;
    font-weight:    700;
    color:          var(--fc-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.fc-pf-legal-title:hover { color: var(--fc-yellow); }
.fc-pf-legal-state {
    font-family:    'Barlow Condensed', sans-serif;
    font-size:      0.95rem;
    color:          var(--fc-text-secondary, #a5a5a5);
    letter-spacing: 0.02em;
}
