/* =====================================================
   APPLE NATIVE PROFILE UI
===================================================== */

.bj-profile{
    max-width:520px;
    margin:0 auto;
    padding:28px 20px 40px;
}


/* =====================================================
   HEADER
===================================================== */

.bj-profile-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:18px;
}


/* =====================================================
   AVATAR — FIXED SIZE + CROP
===================================================== */

.bj-avatar{
    width:88px;
    height:88px;
    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;
    background:#f2f2f7;
}

.bj-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


/* =====================================================
   USER TEXT
===================================================== */

.bj-user-info h2{
    margin:0;
    font-size:28px;
    font-weight:600;
    letter-spacing:-0.3px;
}

.bj-user-info p{
    margin-top:4px;
    color:#8e8e93;
    font-size:14px;
}


/* =====================================================
   STATS CARDS (APPLE STYLE)
===================================================== */

.bj-stats{
    display:flex;
    gap:12px;
    margin:22px 0 26px;
}

.bj-stat{
    flex:1;
    background:rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding:16px 12px;
    border-radius:18px;
    text-align:center;
    border:1px solid rgba(255,255,255,0.6);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.05),
        inset 0 1px 1px rgba(255,255,255,0.7);
}

.bj-stat strong{
    display:block;
    font-size:20px;
    font-weight:600;
}

.bj-stat span{
    font-size:13px;
    color:#8e8e93;
}


/* =====================================================
   FROSTED GLASS BUTTON SYSTEM (REAL iOS FEEL)
===================================================== */

.bj-btn,
.bj-btn-ghost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 22px;
    border-radius:16px;
    font-weight:600;
    text-decoration:none;
    cursor:pointer;
    transition: all 0.25s ease;
}


/* ===== PRIMARY GLASS ===== */

.bj-btn{
    color:#111;

    background:rgba(255,255,255,0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border:1px solid rgba(255,255,255,0.6);

    box-shadow:
        0 4px 14px rgba(0,0,0,0.08),
        inset 0 1px 1px rgba(255,255,255,0.8);
}

.bj-btn:hover{
    transform: translateY(-2px);
    box-shadow:
        0 10px 26px rgba(0,0,0,0.12),
        inset 0 1px 2px rgba(255,255,255,0.9);
}

.bj-btn:active{
    transform: scale(0.96);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.15) inset;
}


/* ===== SECONDARY ===== */

.bj-btn-ghost{
    color:#111;

    background:rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border:1px solid rgba(255,255,255,0.4);
}

.bj-btn-ghost:hover{
    transform: translateY(-1px);
}

.bj-btn-ghost:active{
    transform: scale(.97);
}


/* =====================================================
   FOLLOW BUTTON
===================================================== */

.bj-follow-btn{
    margin-top:16px;
    padding:14px 24px;
    border-radius:18px;
    border:none;
    font-weight:600;
    cursor:pointer;

    background:rgba(255,255,255,0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border:1px solid rgba(255,255,255,0.7);

    box-shadow:
        0 6px 20px rgba(0,0,0,0.10),
        inset 0 1px 2px rgba(255,255,255,0.8);

    transition: all .25s ease;
}

.bj-follow-btn:hover{
    transform: translateY(-2px);
}

.bj-follow-btn:active{
    transform: scale(.95);
}


/* =====================================================
   LOGIN STATE
===================================================== */

.bj-profile-login{
    text-align:center;
    padding:60px 20px;
}
/* =====================================================
   GLOBAL SOFT BLACK BUTTON SYSTEM
   (replaces ALL blue / WP buttons)
===================================================== */

/* standard button reset */

button,
input[type="submit"],
.wp-block-button__link,
.bj-btn,
.bj-btn-ghost,
.bj-follow-btn,
.scan-button,
.scan-btn{

    appearance:none;
    -webkit-appearance:none;
    border:none;
    outline:none;
    cursor:pointer;

    background:#111;
    color:#fff;

    padding:14px 24px;
    border-radius:16px;

    font-weight:600;
    letter-spacing:0.2px;

    transition: all .22s ease;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.05);
}


/* hover lift */

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.bj-btn:hover,
.bj-follow-btn:hover,
.scan-button:hover,
.scan-btn:hover{

    transform: translateY(-2px);
    box-shadow:
        0 12px 28px rgba(0,0,0,0.28);
}


/* press feel */

button:active,
input[type="submit"]:active,
.wp-block-button__link:active,
.bj-btn:active,
.bj-follow-btn:active,
.scan-button:active,
.scan-btn:active{

    transform: scale(.96);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.35) inset;
}



/* =====================================================
   LARGE PRIMARY BUTTON (SCAN etc)
===================================================== */

.scan-button,
.scan-btn{

    padding:18px 28px;
    border-radius:18px;
    font-size:16px;
}
/* ==============================
   PROFILE ACTION BUTTONS
============================== */

.bj-profile-actions{
    margin-top:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}
/* ===============================
   FLOATING SUPPORT BUTTON
   =============================== */

.bj-support-section{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 95px;   /* JUSTERA detta värde */
    z-index: 999;
    margin: 0;
    padding: 0;
}

.bj-support-btn{
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 10px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.bj-notification-box{
    margin-top:40px;
    text-align:left;
    max-width:420px;
    margin-left:auto;
    margin-right:auto;
}

.bj-notification-list{
    list-style:none;
    padding:0;
}

.bj-notification-list li{
    padding:12px;
    border-bottom:1px solid #eee;
}

.bj-notification-list li.unread{
    font-weight:600;
}

.bj-badge{
    background:#000;
    color:#fff;
    border-radius:20px;
    padding:3px 8px;
    font-size:12px;
    margin-left:8px;
}
