body{

background:#f5f7fb !important;

font-family:'Inter',sans-serif;

}

.profile-page{

padding:24px 0 40px;

}


    .cover {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .profile-photo {
        width: 160px;
        height: 160px;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid #fff;
        margin-top: -80px;
        background: #fff;
    }
    
    .profile-photo-placeholder{

width:160px;
height:160px;

display:flex;
align-items:center;
justify-content:center;

margin:-80px auto 0;

border-radius:50%;

background:linear-gradient(135deg,#2563eb,#1d4ed8);

color:#fff;

font-size:46px;
font-weight:700;

border:5px solid #fff;

box-shadow:0 6px 18px rgba(15,23,42,.12);

text-transform:uppercase;

}

    .card-custom {
        border: none;
        border-radius: 15px;
    }

    .info-box {
        background: #fff;
        border-radius: 15px;
        padding: 20px;
        margin-top: 20px;
    }
    
    .country-flag{
    width:32px;
    height:24px;
    object-fit:cover;
    border-radius:3px;
    margin-right:1px;
    vertical-align:middle;
}


/*==================================================
PROFILE MINI STATS
==================================================*/
.profile-mini-stats{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:30px;

    margin:18px 0;

}

.mini-stat{

    text-align:center;

    position:relative;

}

.mini-stat:not(:last-child)::after{

    content:"";

    position:absolute;

    right:-15px;

    top:8px;

    width:1px;

    height:32px;

    background:#e5e7eb;

}

.mini-stat-number{

    display:block;

    font-size:22px;

    font-weight:700;

    color:#111827;

    line-height:1;

}

.mini-stat-label{

    display:block;

    margin-top:4px;

    font-size:12px;

    color:#6b7280;

    font-weight:500;

}

@media(max-width:768px){

.profile-mini-stats{

    gap:18px;

}

.mini-stat:not(:last-child)::after{

    right:-9px;

}

.mini-stat-number{

    font-size:18px;

}

.mini-stat-label{

    font-size:11px;

}

.profile-photo-placeholder{

width:120px;
height:120px;

font-size:36px;

}

}


/*==================================================
PROFILE BIO
==================================================*/
.profile-bio{
    background:#fff;
    border:1px solid #dddfe2;
    border-radius:12px;
    padding:16px;
    margin:15px 0;
    box-shadow:0 1px 2px rgba(0,0,0,.08);
}

.bio-header{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
    font-size:17px;
    font-weight:600;
    color:#050505;
}

.bio-header i{
    color:#1877f2;
    font-size:18px;
}

.bio-text{
    background:#f0f2f5;
    border-radius:10px;
    padding:12px 14px;
    font-size:15px;
    color:#1c1e21;
    line-height:1.5;
    white-space:pre-wrap;
    word-break:break-word;
}


/*==========================================
PROFILE ACTIONS
==========================================*/

.profile-actions{

    margin-top:20px;

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:10px;

}

.profile-actions .btn{

    border-radius:12px;

    padding:10px 18px;

    font-size:.9rem;

    font-weight:600;

    transition:.2s ease;

}

.profile-actions .btn:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(15,23,42,.10);

}

.profile-actions-secondary{

    width:100%;

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:12px;

}


@media(max-width:768px){

.profile-actions{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:8px;

}

.profile-actions .btn{

    width:auto;

    flex:0 1 auto;

    padding:8px 14px;

    font-size:.85rem;

}

.profile-actions-secondary{

    width:100%;

    display:flex;

    justify-content:center;

    gap:8px;

    margin-top:10px;

    flex-wrap:wrap;

}

}


/* ===== Compact Language Cards ===== */

.language-section{
    margin-top:15px;
}

.language-section .row{
    --bs-gutter-x:12px;
}

.info-box{
    background:#fff;
    border:1px solid #e8eaed;
    border-radius:12px;
    padding:12px 14px;
    height:100%;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
    transition:.25s ease;
}

.info-box:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(24,119,242,.12);
    border-color:#1877f2;
}

.info-box::before{
    content:"";
    display:block;
    width:36px;
    height:3px;
    background:#1877f2;
    border-radius:10px;
    margin-bottom:10px;
}

.info-box h4{
    margin:0 0 10px;
    font-size:15px;
    font-weight:700;
    color:#1c1e21;
}

.info-box ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.info-box li{
    display:flex;
    align-items:center;
    background:#f0f2f5;
    color:#1877f2;
    border-radius:999px;
    padding:5px 10px;
    font-size:14px;
    font-weight:600;
    line-height:1;
    transition:.2s;
}

.info-box li::before{
    content:"🌐";
    font-size:14px;
    margin-right:5px;
}

.info-box li:hover{
    background:#1877f2;
    color:#fff;
}

/* Toujours garder les 2 cartes sur une ligne */

@media (max-width:768px){

    .language-section .col-md-6{
        width:50%;
        flex:0 0 50%;
    }

    .info-box{
        padding:10px;
    }

    .info-box h4{
        font-size:15px;
    }

    .info-box li{
        font-size:14px;
        padding:4px 8px;
    }

}


/*==================================================
STATS
==================================================*/

.profile-stats{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:14px;

margin-top:22px;

}

.profile-stat{

display:flex;

align-items:center;

gap:8px;

font-size:13px;

color:#475569;

}

.profile-stat strong{

display:block;

font-size:15px;

line-height:1;

font-weight:700;

color:#111827;

}

.profile-stat small{

display:block;

font-size:11px;

color:#64748b;

line-height:1.2;

}

/*==================================================
FOOTER
==================================================*/

.profile-footer{

display:flex;

justify-content:space-between;

align-items:center;

gap:18px;

margin-top:18px;

padding-top:18px;

border-top:1px solid #edf2f7;

}

.profile-bio{

flex:1;

font-size:14px;

line-height:1.6;

color:#475569;

}

.profile-actions{

display:flex;

gap:10px;

flex-wrap:wrap;

}

.btn-edit,

.btn-settings,

.btn-logout{

display:flex;

align-items:center;

gap:6px;

padding:9px 16px;

border-radius:10px;

font-size:13px;

font-weight:600;

text-decoration:none;

transition:.2s;

}

.btn-edit{

background:#2563eb;

color:#fff;

}

.btn-edit:hover{

background:#1d4ed8;

color:#fff;

}

.btn-settings{

background:#fff;

border:1px solid #dbe4f0;

color:#334155;

}

.btn-settings:hover{

background:#f8fafc;

}

.btn-logout{

background:#fff;

border:1px solid #fecaca;

color:#dc2626;

}

.btn-logout:hover{

background:#dc2626;

color:#fff;

}

/*==================================================
LANGUAGES
==================================================*/

.profile-languages{

display:grid;

grid-template-columns:repeat(2,minmax(0,1fr));

gap:18px;

margin-bottom:24px;

}

/*==================================================
CARD
==================================================*/

.language-card{

background:#fff;

border:1px solid #e9edf3;

border-radius:18px;

box-shadow:0 6px 20px rgba(15,23,42,.05);

overflow:hidden;

transition:.25s;

}

.language-card:hover{

transform:translateY(-2px);

box-shadow:0 12px 26px rgba(15,23,42,.08);

}

/*==================================================
HEADER
==================================================*/

.language-card-header{

padding:16px 18px;

border-bottom:1px solid #edf2f7;

}

.language-card-title{

display:flex;

align-items:center;

gap:10px;

font-size:17px;

font-weight:700;

color:#111827;

}

/*==================================================
BODY
==================================================*/

.language-card-body{

padding:10px 14px;

display:flex;

flex-direction:column;

gap:8px;

}

/*==================================================
ROW
==================================================*/

.language-row{

display:flex;

justify-content:space-between;

align-items:center;

padding:10px 12px;

border-radius:10px;

background:#f8fafc;

transition:.2s;

}

.language-row:hover{

background:#eef4ff;

}

.language-name{

font-size:14px;

font-weight:600;

color:#111827;

}

/*==================================================
BADGES
==================================================*/

.language-badge{

padding:5px 12px;

border-radius:999px;

font-size:11px;

font-weight:700;

letter-spacing:.2px;

}

.language-badge.native{

background:#dcfce7;

color:#15803d;

}

.language-badge.learning{

background:#dbeafe;

color:#2563eb;

}

/*==================================================
EMPTY
==================================================*/

.language-empty{

padding:18px;

text-align:center;

font-size:13px;

color:#64748b;

background:#f8fafc;

border-radius:10px;

}

/*==================================================
COMMUNITY STATS
==================================================*/

.community-section{

margin-top:24px;

margin-bottom:24px;

}

.community-section-header{

display:flex;

align-items:center;

justify-content:space-between;

margin-bottom:16px;

}

.community-section-header h3{

margin:0;

font-size:22px;

font-weight:700;

color:#111827;

}

/*==================================================
GRID
==================================================*/

.community-carousel{

display:grid;

grid-template-columns:repeat(6,minmax(0,1fr));

gap:14px;

}

/*==================================================
CARD
==================================================*/

.community-card{

background:#fff;

border:1px solid #e8edf5;

border-radius:16px;

padding:18px 14px;

text-align:center;

transition:.25s;

box-shadow:0 4px 18px rgba(15,23,42,.05);

cursor:pointer;

}

.community-card:hover{

transform:translateY(-4px);

box-shadow:0 12px 28px rgba(15,23,42,.08);

}

/*==================================================
ICON
==================================================*/

.community-icon{

width:52px;

height:52px;

margin:0 auto 14px;

border-radius:14px;

display:flex;

align-items:center;

justify-content:center;

font-size:24px;

background:#f8fafc;

}

/*==================================================
VALUE
==================================================*/

.community-value{

font-size:28px;

font-weight:700;

line-height:1;

color:#5b5e67;

margin-bottom:8px;

}

/*==================================================
LABEL
==================================================*/

.community-label{

font-size:13px;

font-weight:600;

color:#64748b;

line-height:1.4;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px){

.community-carousel{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:768px){

.community-carousel{

grid-template-columns:repeat(2,1fr);

gap:12px;

}

.community-card{

padding:16px 10px;

}

.community-icon{

width:46px;

height:46px;

font-size:22px;

margin-bottom:12px;

}

.community-value{

font-size:24px;

}

.community-label{

font-size:12px;

}

}

@media(max-width:420px){

.community-carousel{

grid-template-columns:repeat(2,1fr);

gap:10px;

}

.community-card{

padding:14px 8px;

border-radius:14px;

}

.community-icon{

width:42px;

height:42px;

font-size:20px;

}

.community-value{

font-size:20px;

}

.community-label{

font-size:11px;

}

}


/*==================================================
CERTIFICATIONS
==================================================*/

.certification-card{

display:flex;

flex-direction:column;

justify-content:space-between;

min-height:260px;

}

.community-meta{

margin-top:12px;

font-size:13px;

font-weight:500;

color:#64748b;

line-height:1.5;

}

.community-date{

margin-top:8px;

font-size:12px;

color:#94a3b8;

}

.community-actions{

margin-top:18px;

display:flex;

justify-content:center;

gap:8px;

flex-wrap:wrap;

}

.community-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:8px 14px;

border-radius:10px;

font-size:12px;

font-weight:600;

text-decoration:none;

transition:.25s;

border:1px solid transparent;

}

.community-btn.primary{

background:#2563eb;

color:#fff;

}

.community-btn.primary:hover{

background:#1d4ed8;

color:#fff;

transform:translateY(-2px);

}

.community-btn.success{

background:#22c55e;

color:#fff;

}

.community-btn.success:hover{

background:#16a34a;

color:#fff;

transform:translateY(-2px);

}

.community-btn.light{

background:#fff;

color:#334155;

border-color:#dbe4f0;

}

.community-btn.light:hover{

background:#f8fafc;

color:#111827;

transform:translateY(-2px);

}

.community-empty{

background:#fff;

border:1px dashed #dbe4f0;

border-radius:18px;

padding:40px 20px;

text-align:center;

color:#64748b;

}

.community-empty i{

font-size:42px;

display:block;

margin-bottom:14px;

color:#94a3b8;

}

.community-empty p{

margin:0;

font-size:15px;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:768px){

.community-actions{

flex-direction:column;

gap:8px;

}

.community-btn{

width:100%;

}

.certification-card{

min-height:auto;

}

}

/*==================================================
CAROUSEL
==================================================*/

.community-carousel-wrapper{

position:relative;

display:flex;

align-items:center;

gap:14px;

margin-top:18px;

}

.community-carousel-viewport{

flex:1;

overflow:hidden;

border-radius:18px;

}

.community-carousel-track{

display:flex;

gap:16px;

transition:transform .35s ease;

will-change:transform;

}

/*==================================================
ARROWS
==================================================*/

.carousel-arrow{

width:42px;

height:42px;

border:none;

border-radius:50%;

background:#fff;

color:#334155;

display:flex;

align-items:center;

justify-content:center;

cursor:pointer;

flex-shrink:0;

box-shadow:0 6px 16px rgba(15,23,42,.08);

transition:.25s;

}

.carousel-arrow:hover{

background:#2563eb;

color:#fff;

transform:translateY(-2px);

}

.carousel-arrow i{

font-size:18px;

}

/*==================================================
DOTS
==================================================*/

.carousel-dots{

display:flex;

justify-content:center;

align-items:center;

gap:8px;

margin-top:18px;

}

.carousel-dots span{

width:9px;

height:9px;

border-radius:50%;

background:#cbd5e1;

transition:.25s;

cursor:pointer;

}

.carousel-dots span.active{

width:28px;

border-radius:999px;

background:#2563eb;

}

/*==================================================
MENU BUTTON
==================================================*/

.community-menu-btn{

width:38px;

height:38px;

border:none;

border-radius:10px;

background:#f8fafc;

color:#475569;

display:flex;

align-items:center;

justify-content:center;

cursor:pointer;

transition:.25s;

}

.community-menu-btn:hover{

background:#2563eb;

color:#fff;

}

.community-menu-btn i{

font-size:18px;

}

/*==================================================
CERTIFICATION CARD
==================================================*/

.certification-card{

min-width:260px;

max-width:260px;

flex-shrink:0;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:768px){

.community-carousel-wrapper{

gap:10px;

}

.carousel-arrow{

width:36px;

height:36px;

}

.certification-card{

min-width:220px;

max-width:220px;

}

}

@media(max-width:480px){

.carousel-arrow{

display:none;

}

.community-carousel-wrapper{

display:block;

}

.community-carousel-viewport{

overflow-x:auto;

scrollbar-width:none;

}

.community-carousel-viewport::-webkit-scrollbar{

display:none;

}

.certification-card{

min-width:200px;

max-width:200px;

}

.profile-photo-placeholder{

width:90px;
height:90px;

font-size:28px;

}

}


/*Caresoul dropdown*/

.community-menu{

display:none;

position:absolute;

...
}

.community-actions{

position:relative;

}

.community-menu{

position:absolute;

right:0;

bottom:calc(100% + 8px);

min-width:180px;

background:#fff;

border:1px solid #e5e7eb;

border-radius:12px;

padding:8px 0;

box-shadow:0 15px 35px rgba(15,23,42,.12);

display:none;

z-index:9999;

animation:menuFade .18s ease;

}

.community-menu.show{

display:block;

}

.community-menu a{

display:flex;

align-items:center;

gap:10px;

padding:10px 16px;

text-decoration:none;

font-size:14px;

font-weight:500;

color:#334155;

transition:.2s;

}

.community-menu a:hover{

background:#f8fafc;

color:#2563eb;

}

.community-menu i{

width:18px;

text-align:center;

}

@keyframes menuFade{

from{

opacity:0;

transform:translateY(-6px);

}

to{

opacity:1;

transform:translateY(0);

}

}


/*PROFILE HERE CSS*/

/* ==========================================================
PROFILE PREMIUM CARD
========================================================== */

.profile-premium-card
{
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}


/* ==========================================================
COVER
========================================================== */

.profile-premium-cover
{
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #dbeafe;
}

.profile-premium-cover .cover
{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.profile-cover-placeholder
{
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        #dbeafe,
        #eef4ff
    );
}


/* ==========================================================
IDENTITY
Facebook-style overlap
========================================================== */

.profile-premium-identity
{
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 0 24px;
    margin-top: -54px;
    z-index: 2;
}

.profile-avatar-wrap
{
    flex: 0 0 auto;
    position: relative;
    z-index: 3;
}

.profile-avatar-wrap .profile-photo,
.profile-avatar-wrap .profile-photo-placeholder
{
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.18);
}

.profile-avatar-wrap .profile-photo
{
    display: block;
    object-fit: cover;
    background: #fff;
}

.profile-avatar-wrap .profile-photo-placeholder
{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9eef8;
    color: #334155;
    font-size: 1.4rem;
    font-weight: 800;
}


/* ==========================================================
USER INFO
========================================================== */

.profile-user-info
{
    min-width: 0;
    padding-bottom: 8px;
}


/* ==========================================================
USERNAME
Always visible over any cover image
========================================================== */

.profile-username
{
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: fit-content;
    max-width: 100%;

    margin: 0 0 6px;
    padding: 3px 6px;

    border: 1px solid rgba(255,255,255,.75);
    border-radius: 11px;

    background: rgba(255,255,255,.92);

    color: #172033;
    font-size: 1.20rem;
    font-weight: 600;
    line-height: 1.2;

    box-shadow: 0 4px 14px rgba(15,23,42,.14);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.profile-username .country-flag
{
    width: 22px;
    height: 16px;

    object-fit: cover;
    border-radius: 3px;

    flex: 0 0 auto;
}


/* ==========================================================
USER META
========================================================== */

.profile-user-meta
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: .78rem;
}


/* ==========================================================
ONLINE STATUS
Always visible over any cover image
========================================================== */

.profile-online-status
{
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin: 0 !important;
    padding: 5px 10px;

    border: 1px solid rgba(255,255,255,.7);
    border-radius: 999px;

    background: rgba(255,255,255,.88);

    color: #475569 !important;

    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;

    box-shadow: 0 3px 10px rgba(15,23,42,.10);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.profile-meta-separator
{
    color: #94a3b8;
}

.profile-level-badge
{
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: .72rem;
    font-weight: 700;
}


/* ==========================================================
BODY
========================================================== */

.profile-premium-body
{
    padding: 22px 24px 24px;
    text-align: left;
}


/* ==========================================================
BIO
========================================================== */

.profile-bio
{
    margin: 0 0 16px;
    padding: 13px 15px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbfc;
}

.bio-header
{
    margin-bottom: 7px;
}

.bio-title
{
    display: flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bio-text
{
    color: #334155;
    font-size: .88rem;
    line-height: 1.55;
    word-break: break-word;
}


/* ==========================================================
STATS
========================================================== */

.profile-mini-stats
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 18px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    overflow: hidden;
}

.mini-stat
{
    position: relative;
    padding: 12px 8px;
    text-align: center;
}

.mini-stat:not(:last-child)::after
{
    content: "";
    position: absolute;
    top: 18%;
    right: 0;
    width: 1px;
    height: 64%;
    background: #edf0f5;
}

.mini-stat-number
{
    display: block;
    color: #172033;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
}

.mini-stat-label
{
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: .68rem;
    font-weight: 700;
}


/* ==========================================================
PROFILE ACTIONS
========================================================== */

.profile-actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ==========================================================
BASE BUTTON
========================================================== */

.profile-actions > .btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 9px 16px;

    border-radius: 12px;
    border: 1px solid transparent;

    font-size: .82rem;
    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(15,23,42,.08);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.profile-actions > .btn:hover
{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15,23,42,.14);
}


/* ==========================================================
FOLLOW
========================================================== */

.profile-action-primary
{
    background: linear-gradient(
        135deg,
        #f43f5e,
        #e11d48
    );

    color: #e9e8e8 !important;
}

.profile-action-primary:hover
{
    background: linear-gradient(
        135deg,
        #fb7185,
        #e11d48
    );

    color: #d1d0cd !important;
}


/* ==========================================================
MESSAGE
========================================================== */

.profile-action-message
{
    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );

    color: #e9e8e8 !important;
}

.profile-action-message:hover
{
    background: linear-gradient(
        135deg,
        #3b82f6,
        #1d4ed8
    );

    color: #d1d0cd !important;
}


/* ==========================================================
LANGUAGE PARTNER
========================================================== */

.profile-action-partner
{
    background: linear-gradient(
        135deg,
        #8b5cf6,
        #6d28d9
    );

    color: #e9e8e8 !important;
    border-color: transparent !important;
}

.profile-action-partner:hover
{
    background: linear-gradient(
        135deg,
        #a78bfa,
        #6d28d9
    );

    color: #d1d0cd !important;
}


/* ==========================================================
UNFOLLOW
========================================================== */

.profile-action-outline
{
    background: #fff5f5;
    color: #dc2626;
    border-color: #fecaca !important;
    box-shadow: none !important;
}

.profile-action-outline:hover
{
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5 !important;
}


/* ==========================================================
LANGUAGE PARTNER ACCEPTED
========================================================== */

.profile-action-success
{
    background: linear-gradient(
        135deg,
        #10b981,
        #059669
    );

    color: #fff;
    border-color: transparent !important;
}


/* ==========================================================
PENDING
========================================================== */

.profile-action-disabled
{
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
    cursor: not-allowed;
}


/* ==========================================================
SETTINGS
========================================================== */

.profile-settings-btn
{
    width: 100%;
}


/* ==========================================================
SECONDARY ACTIONS
========================================================== */

.profile-actions-secondary
{
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding-top: 4px;
}


/* ==========================================================
SHARE + REPORT BUTTONS
========================================================== */

.profile-secondary-btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 36px;
    padding: 7px 12px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background: #daecff;
    color: #475569;

    font-size: .74rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.profile-secondary-btn:hover
{
    transform: translateY(-1px);
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    box-shadow: 0 5px 14px rgba(37,99,235,.08);
}


/* ==========================================================
REPORT
========================================================== */

.profile-report-btn
{
    background: #ffd2d2;
    color: #b91c1c;
    border-color: #fee2e2;
}

.profile-report-btn:hover
{
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
    box-shadow: 0 5px 14px rgba(220,38,38,.08);
}


/* ==========================================================
ICONS
========================================================== */

.profile-actions i,
.profile-secondary-btn i
{
    font-size: .9rem;
    line-height: 1;
}


/* ==========================================================
RESPONSIVE - TABLET AND MOBILE
========================================================== */

@media(max-width: 767.98px)
{
    .profile-premium-cover
    {
        height: 200px;
    }

    .profile-premium-identity
    {
        gap: 12px;
        padding: 0 16px;
        margin-top: -44px;
    }

    .profile-avatar-wrap .profile-photo,
    .profile-avatar-wrap .profile-photo-placeholder
    {
        width: 88px;
        height: 88px;
        border-width: 4px;
    }

    .profile-user-info
    {
        padding-bottom: 5px;
    }

    .profile-username
    {
        padding: 5px 9px;
        font-size: 1.15rem;
    }

    .profile-online-status
    {
        padding: 4px 8px;
        font-size: .72rem;
    }

    .profile-premium-body
    {
        padding: 18px 16px 20px;
    }

    .profile-actions > .btn
    {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        padding: 9px 10px;
    }

    .profile-actions-secondary
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .profile-secondary-btn
    {
        width: 100%;
        padding: 8px;
        font-size: .7rem;
    }
}


/* ==========================================================
SMALL MOBILE
========================================================== */

@media(max-width: 480px)
{
    .profile-premium-cover
    {
        height: 165px;
    }

    .profile-premium-identity
    {
        align-items: flex-end;
        gap: 10px;
        margin-top: -40px;
    }

    .profile-avatar-wrap .profile-photo,
    .profile-avatar-wrap .profile-photo-placeholder
    {
        width: 80px;
        height: 80px;
    }

    .profile-username
    {
        padding: 5px 8px;
        font-size: 1.05rem;
        gap: 6px;
    }

    .profile-username .country-flag
    {
        width: 20px;
        height: 14px;
    }

    .profile-online-status
    {
        padding: 4px 8px;
        font-size: .7rem;
    }

    .profile-user-meta
    {
        gap: 5px;
        font-size: .72rem;
    }

    .profile-actions > .btn
    {
        flex: 1 1 100%;
    }

    .profile-actions-secondary
    {
        grid-template-columns: 1fr;
    }
}