﻿/* From resources\views\site\members\show.blade.php */

#mt-main{
    background:
        radial-gradient(circle at top right, rgba(245,159,0,.08), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ah-profile-page{
    color:var(--ah-text);
}

.ah-profile-up-hero{
    position:relative;
    overflow:hidden;
    margin-bottom:1rem !important;
    padding:.65rem 1rem;
    color:#fff;
    border:0;
    border-radius:1.3rem;
    box-shadow:0 20px 44px rgba(245, 159, 0, .22);
    background:linear-gradient(135deg, #f6a400 0%, #f7b733 52%, #f6cd67 100%);
    margin-top:0;
}

.ah-profile-up-hero::after{
    content:"";
    position:absolute;
    inset:auto -60px -60px auto;
    width:220px;
    height:220px;
    border-radius:50%;
    background:rgba(255,255,255,.10);
    filter:blur(4px);
    pointer-events:none;
}

.ah-profile-up-hero > *{
    position:relative;
    z-index:1;
}

.ah-profile-up-hero .ah-hero-icon{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.20);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
    backdrop-filter:blur(6px);
}

.ah-profile-up-hero .ah-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:.45rem;
    margin:0 0 .65rem;
    padding:0;
    list-style:none;
    font-size:.875rem;
    color:rgba(255,255,255,.78);
}

.ah-profile-up-hero .ah-breadcrumb a{
    color:rgba(255,255,255,.92);
    text-decoration:none;
    font-weight:700;
}

.ah-profile-up-hero .ah-breadcrumb a:hover{
    color:#fff;
    text-decoration:underline;
    text-underline-offset:3px;
}

.ah-profile-up-hero .ah-breadcrumb span{
    color:rgba(255,255,255,.72);
}

.ah-profile-hero-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem 1.25rem;
    flex-wrap:wrap;
}

.ah-profile-hero-title-row .title{
    margin:0;
    flex:1 1 auto;
    min-width:280px;
    color:#fff;
    font-weight:800;
    letter-spacing:-.02em;
    line-height:1.2;
}

.ah-profile-hero-meta-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:.65rem;
    flex-wrap:wrap;
    margin-left:auto;
}

.ah-profile-hero-meta-right span{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:.28rem .75rem;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.16);
    color:rgba(255,255,255,.95);
    font-weight:600;
    white-space:nowrap;
}

.ah-profile-card,
.ah-toolbar-card,
.ah-chip-card,
.ah-content-card,
.ah-empty-card{
    background:var(--ah-card);
    border:1px solid var(--ah-border);
    border-radius:var(--ah-radius-lg);
    box-shadow:var(--ah-shadow-sm);
}

.ah-profile-card{
    position:sticky;
    top:1.5rem;
    overflow:hidden;
}

.ah-profile-top{
    padding:1.25rem 1.25rem 1.15rem;
    border-bottom:1px solid var(--ah-border);
}

.ah-profile-headbar{
    display:flex;
    align-items:center;
    gap:.85rem;
    width:100%;
    padding:.85rem 0 0;
    background:transparent;
    border:0;
    box-shadow:none;
    border-radius:0;
}

.ah-profile-headbar--clean{
    align-items:flex-start;
}

.ah-profile-headbar-logo-wrap{
    width:48px;
    height:48px;
    min-width:48px;
    border-radius:14px;
    overflow:hidden;
    background:#fff7e6;
    border:1px solid rgba(245,159,0,.22);
    box-shadow:0 .35rem .9rem rgba(15,23,42,.08);
}

.ah-profile-headbar-logo{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ah-profile-headbar-title{
    margin:0;
    font-size:1.05rem;
    line-height:1.25;
    font-weight:900;
    color:var(--ah-text);
}

.ah-profile-headbar-subtitle{
    display:inline-flex;
    align-items:center;
    margin:.25rem 0 0;
    font-size:.9rem;
    line-height:1.2;
    font-weight:700;
    color:#64748b;
}

.ah-profile-headbar-subtitle i{
    color:#475569;
}

.ah-profile-headbar-icon{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, #fff3cd, #ffe69c);
    border:1px solid rgba(245,159,0,.22);
    color:#8a5a00;
    overflow:hidden;
    box-shadow:0 .35rem .8rem rgba(15,23,42,.08);
}

.ah-profile-headbar-icon i{
    font-size:1.1rem;
}

.ah-profile-headbar-body{
    min-width:0;
    flex:1 1 auto;
}

.ah-profile-list{
    padding:1rem 1.5rem 1.5rem;
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.ah-profile-item{
    padding-bottom:1rem;
    border-bottom:1px solid var(--ah-border);
}

.ah-profile-item:last-child{
    padding-bottom:0;
    border-bottom:0;
}

.ah-profile-label{
    display:block;
    font-size:.82rem;
    color:var(--ah-muted);
    margin-bottom:.2rem;
}

.ah-profile-value{
    font-weight:700;
    color:var(--ah-text);
    word-break:break-word;
}

.ah-toolbar-card{
    padding:1.2rem;
}

.ah-toolbar-top{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    align-items:center;
    justify-content:space-between;
    padding-bottom:1rem;
    border-bottom:1px solid var(--ah-border);
    margin-bottom:1rem;
}

.ah-results-title{
    margin:0;
    font-size:1.2rem;
    font-weight:800;
}

.ah-results-note{
    color:var(--ah-muted);
    margin:0;
    font-size:.94rem;
}

.ah-filter-form{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
    gap:.75rem;
}

.ah-filter-input{
    height:48px;
    border-radius:14px;
    border:1px solid var(--ah-border-strong);
    box-shadow:none;
}

.ah-filter-input:focus{
    border-color:rgba(245,159,0,.45);
    box-shadow:0 0 0 .25rem rgba(245,159,0,.12);
}

.ah-toolbar-actions{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:.75rem;
    flex-wrap:wrap;
}

.ah-icon-toggle,
.ah-dropdown-btn{
    height:46px;
    border-radius:14px;
    border:1px solid var(--ah-border-strong);
    background:#fff;
    color:var(--ah-text);
    transition:var(--ah-transition);
}

.ah-icon-toggle{
    width:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.ah-icon-toggle:hover,
.ah-icon-toggle.is-active,
.ah-dropdown-btn:hover{
    background:var(--ah-accent-soft);
    border-color:rgba(245,159,0,.32);
    color:var(--ah-accent-dark);
}

.ah-chip-card{
    padding:1rem;
}

.ah-chip-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:.7rem;
}

.ah-chip{
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    padding:.7rem 1rem;
    border-radius:999px;
    text-decoration:none;
    font-weight:700;
    font-size:.92rem;
    background:#fff;
    border:1px solid var(--ah-border-strong);
    color:var(--ah-text);
    transition:var(--ah-transition);
}

.ah-chip:hover{
    border-color:rgba(245,159,0,.32);
    background:var(--ah-accent-soft);
    color:var(--ah-accent-dark);
}

.ah-chip.is-active{
    background:linear-gradient(135deg, rgba(255,194,28,.18), rgba(242,160,0,.12));
    border-color:rgba(245,159,0,.34);
    color:#8a5a00;
}

.ah-chip.is-clear{
    background:#fff7ed;
    border-color:rgba(249,115,22,.25);
    color:#9a3412;
}

.ah-content-card{
    padding:1.2rem;
}

.ah-grid-card{
    border:1px solid var(--ah-border);
    border-radius:22px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 .5rem 1.25rem rgba(15,23,42,.06);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height:100%;
}

.ah-grid-card:hover{
    transform:translateY(-4px);
    box-shadow:0 1rem 2rem rgba(15,23,42,.10);
    border-color:rgba(245,159,0,.2);
}

.ah-grid-image-wrap{
    display:block;
    aspect-ratio:4/3;
    background:#f8fafc;
    overflow:hidden;
}

.ah-grid-image,
.ah-list-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ah-grid-body{
    padding:1rem 1rem 1.1rem;
}

.ah-grid-title,
.ah-list-title{
    margin:0;
    font-size:1rem;
    font-weight:800;
    line-height:1.4;
}

.ah-grid-title a,
.ah-list-title a{
    color:var(--ah-text);
    text-decoration:none;
}

.ah-grid-title a:hover,
.ah-list-title a:hover{
    color:var(--ah-accent-dark);
}

.ah-price{
    font-size:1.15rem;
    font-weight:800;
    color:var(--ah-accent-dark);
    white-space:nowrap;
}

.ah-grid-actions{
    display:flex;
    gap:.6rem;
    margin-top:1rem;
}

.ah-btn-primary-soft{
    background:linear-gradient(135deg, #ffc21c, #f2a000);
    border:none;
    color:#fff;
    font-weight:700;
    border-radius:14px;
    height:44px;
    padding:0 1rem;
}

.ah-btn-primary-soft:hover{
    filter:brightness(.98);
    color:#fff;
}

.ah-fav-btn{
    width:44px;
    min-width:44px;
    height:44px;
    border-radius:14px;
    border:1px solid var(--ah-border-strong);
    background:#fff;
    color:var(--ah-text);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:var(--ah-transition);
}

.ah-fav-btn:hover,
.ah-fav-btn.is-active{
    background:rgba(220,38,38,.08);
    border-color:rgba(220,38,38,.20);
    color:#dc2626;
}

.ah-list-card{
    border:1px solid var(--ah-border);
    border-radius:22px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 .45rem 1.2rem rgba(15,23,42,.06);
}

.ah-list-image-wrap{
    display:block;
    height:100%;
    min-height:220px;
    background:#f8fafc;
}

.ah-list-meta{
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
}

.ah-list-badge{
    display:inline-flex;
    align-items:center;
    padding:.45rem .7rem;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid var(--ah-border);
    color:var(--ah-muted);
    font-size:.86rem;
    font-weight:700;
}

.ah-list-desc{
    color:var(--ah-muted);
    margin:0;
    line-height:1.6;
}

.ah-list-side{
    min-width:210px;
    border-left:1px solid var(--ah-border);
}

.ah-list-side-inner{
    height:100%;
    padding:1.25rem;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:1rem;
}

.ah-list-fav-btn{
    width:100%;
    min-height:44px;
    border-radius:14px;
    border:1px solid var(--ah-border-strong);
    background:#fff;
    color:var(--ah-text);
    font-weight:700;
    transition:var(--ah-transition);
}

.ah-list-fav-btn:hover,
.ah-list-fav-btn.is-active{
    background:rgba(220,38,38,.08);
    border-color:rgba(220,38,38,.20);
    color:#dc2626;
}

.ah-empty-card{
    padding:3rem 1.25rem;
    text-align:center;
}

.ah-empty-icon{
    width:72px;
    height:72px;
    margin:0 auto 1rem;
    display:grid;
    place-items:center;
    border-radius:22px;
    background:var(--ah-accent-soft);
    color:var(--ah-accent-dark);
    font-size:1.5rem;
}

.ah-floating-feedback{
    position:fixed;
    right:1rem;
    bottom:1rem;
    z-index:1080;
    min-width:280px;
    max-width:420px;
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    transition:all .25s ease;
}

.ah-floating-feedback.is-visible{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.ah-floating-feedback > *{
    border-radius:18px !important;
    box-shadow:0 1rem 2rem rgba(15,23,42,.16);
}

.pagination.ah-pagination .page-link{
    border:none;
    border-radius:12px;
    min-width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    color:var(--ah-text);
    background:#fff;
    box-shadow:inset 0 0 0 1px var(--ah-border);
}

.pagination.ah-pagination .page-item.active .page-link{
    background:linear-gradient(135deg, #ffc21c, #f2a000);
    color:#fff;
    box-shadow:none;
}

.pagination.ah-pagination .page-item.disabled .page-link{
    opacity:.45;
}

@media (max-width: 991.98px){
    .ah-profile-hero-title-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .ah-profile-hero-meta-right{
        width:100%;
        margin-left:0;
        justify-content:flex-start;
    }

    .ah-profile-card{
        position:static;
    }

    .ah-list-side{
        min-width:100%;
        border-left:0;
        border-top:1px solid var(--ah-border);
    }

    .ah-list-image-wrap{
        min-height:210px;
    }
}

@media (max-width: 575.98px){
    .ah-profile-up-hero{
        padding:1.15rem !important;
        border-radius:1.25rem;
    }

    .ah-profile-up-hero .d-flex.align-items-start.gap-3{
        gap:.85rem !important;
    }

    .ah-profile-up-hero .ah-hero-icon{
        width:48px;
        height:48px;
        min-width:48px;
        border-radius:1rem;
    }

    .ah-profile-hero-title-row .title{
        min-width:0;
        width:100%;
    }

    .ah-profile-hero-meta-right span{
        width:100%;
        justify-content:flex-start;
        white-space:normal;
    }
}


@media (max-width: 767.98px){
    .ah-toolbar-card,
    .ah-chip-card,
    .ah-content-card,
    .ah-profile-top,
    .ah-profile-list{
        padding:1rem;
    }

    .ah-filter-form{
        grid-template-columns:1fr;
    }

    .ah-toolbar-top{
        align-items:flex-start;
    }

    .ah-toolbar-actions{
        justify-content:flex-start;
    }

    .ah-list-image-wrap{
        min-height:200px;
    }
}