#onu-profile-app{

    width:100%;
    max-width:900px;

    margin:auto;

    padding:12px;

    font-family:
        Inter,
        sans-serif;
}

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.onu-profile-header{

    position:sticky;

    top:78px;

    z-index:50;

    background:
        rgba(255,255,255,.82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border:
        1px solid rgba(220,230,240,.6);

    border-radius:24px;

    padding:14px;

    display:flex;
    flex-direction:column;

    gap:14px;

    margin-bottom:14px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.05);
}

.onu-profile-main{

    display:flex;
    align-items:center;

    gap:14px;
}

.onu-avatar{

    width:68px;
    height:68px;

    border-radius:22px;

    background:
        linear-gradient(
            135deg,
            #38bdf8,
            #0284c7
        );

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;
    font-weight:700;

    flex-shrink:0;

    box-shadow:
        0 10px 24px rgba(2,132,199,.22);
}

.onu-profile-text{
    min-width:0;
}

.onu-pet-name{

    font-size:22px;
    font-weight:700;

    line-height:1.2;

    color:#0f172a;
}

.onu-owner-name{

    margin-top:4px;

    font-size:14px;

    color:#475569;
}

.onu-meta{

    margin-top:6px;

    font-size:13px;

    color:#64748b;

    line-height:1.4;
}

/*
|--------------------------------------------------------------------------
| ACTIONS
|--------------------------------------------------------------------------
*/

.onu-profile-actions{

    display:flex;

    gap:10px;
}

.onu-action{

    flex:1;

    min-height:42px;

    border-radius:16px;

    background:white;

    border:
        1px solid rgba(210,220,230,.8);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:14px;
    font-weight:600;

    color:#0f172a;

    text-decoration:none;

    transition:.2s ease;
}

.onu-action-primary{

    background:
        linear-gradient(
            135deg,
            #0ea5e9,
            #0284c7
        );

    color:white;

    border:0;

    box-shadow:
        0 10px 20px rgba(2,132,199,.18);
}

.onu-action:active{
    transform:scale(.98);
}

/*
|--------------------------------------------------------------------------
| TABS
|--------------------------------------------------------------------------
*/

.onu-tabs{

    position:sticky;

    top:210px;

    z-index:45;

    display:flex;

    gap:10px;

    overflow-x:auto;

    padding-bottom:12px;

    margin-bottom:12px;
}

.onu-tabs::-webkit-scrollbar{
    display:none;
}

.onu-tab{

    min-height:40px;

    padding:0 16px;

    border-radius:14px;

    background:white;

    border:
        1px solid rgba(220,230,240,.8);

    font-size:13px;
    font-weight:600;

    color:#475569;

    white-space:nowrap;

    cursor:pointer;

    transition:.2s ease;
}

.onu-tab.active{

    background:
        linear-gradient(
            135deg,
            #0ea5e9,
            #0284c7
        );

    color:white;

    border:0;

    box-shadow:
        0 8px 18px rgba(2,132,199,.16);
}

/*
|--------------------------------------------------------------------------
| PANELS
|--------------------------------------------------------------------------
*/

.onu-panel{
    display:none;
}

.onu-panel.active{
    display:block;
}

/*
|--------------------------------------------------------------------------
| SECTION CARD
|--------------------------------------------------------------------------
*/

.onu-section-card{

    background:
        rgba(255,255,255,.84);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border:
        1px solid rgba(220,230,240,.6);

    border-radius:24px;

    padding:16px;

    margin-bottom:14px;

    box-shadow:
        0 10px 24px rgba(15,23,42,.04);
}

.onu-section-title{

    font-size:15px;
    font-weight:700;

    color:#0f172a;

    margin-bottom:14px;
}

/*
|--------------------------------------------------------------------------
| ROWS
|--------------------------------------------------------------------------
*/

.onu-section-body{

    display:flex;
    flex-direction:column;

    gap:12px;
}

.onu-row{

    display:flex;
    align-items:flex-start;
    justify-content:space-between;

    gap:18px;

    padding-bottom:12px;

    border-bottom:
        1px solid rgba(230,235,240,.8);
}

.onu-row:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.onu-row-label{

    width:38%;

    font-size:13px;
    font-weight:600;

    color:#64748b;

    line-height:1.4;
}

.onu-row-value{

    flex:1;

    text-align:right;

    font-size:14px;

    color:#0f172a;

    line-height:1.5;

    word-break:break-word;
}

/*
|--------------------------------------------------------------------------
| LOADING
|--------------------------------------------------------------------------
*/

.onu-loading{

    background:white;

    border-radius:24px;

    padding:24px;

    text-align:center;

    color:#64748b;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    #onu-profile-app{
        padding:10px;
    }

    .onu-profile-header{
        top:72px;
    }

    .onu-tabs{
        top:196px;
    }

    .onu-pet-name{
        font-size:20px;
    }

    .onu-avatar{

        width:62px;
        height:62px;

        border-radius:20px;

        font-size:22px;
    }

    .onu-row{

        flex-direction:column;

        gap:4px;
    }

    .onu-row-label{
        width:100%;
    }

    .onu-row-value{
        text-align:left;
    }
}