.edit-image-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(5px);
    z-index: 99999;
}

.image-modal-content {
    width: 450px;
    max-width: 95%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    animation: showModal .25s ease;
}

@keyframes showModal {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.image-modal-header {
    background: var(--secondary);
    color: white;

    padding: 18px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    font-size: 26px;
    cursor: pointer;
}

.image-modal-body {
    text-align: center;
    padding: 16px;
}

.preview-avatar-wrapper {
    width: 180px;
    height: 180px;

    margin: auto;

    border-radius: 50%;

    overflow: hidden;

    border: 6px solid var(--box-shadow-soft);

    box-shadow:6px solid var(--box-shadow-soft);
}

#modalPreviewImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-title {
    margin-top: 20px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 5px;
}

.preview-text {
    color: #777;
    margin-top: 10px;
    line-height: 1.8;
}

.image-modal-footer {
    padding: 20px;

    display: flex;
    justify-content: center;
    gap: 12px;

    border-top: 1px solid #eee;
}

.btn-reselect {
    border: none;
    padding: 12px 20px;

    border-radius: 12px;

    background: #797777;

    cursor: pointer;

    transition: .3s;
}

.btn-reselect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 94, 60, .35);
}

.btn-confirm {
    border: none;
    padding: 12px 22px;

    border-radius: 12px;

    background: var(--secondary);

    color: white;

    cursor: pointer;

    transition: .3s;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 94, 60, .35);
}

.user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #8B5E3C;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.upload-success {
    display: none;
    justify-content: right;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 18px;
    background: #ecfdf3;
    color: #198754;
    border: 1px solid #b7ebc6;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    animation: fadeInUp .4s ease;
}

.upload-success i {
    font-size: 18px;
    color: #198754;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-tabs {
    position: relative;
}

.tab-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-list li {
    position: relative;
}

.tab-list li a {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 14px 22px;

    color: #777;
    font-weight: 700;

    cursor: pointer;

    transition: .25s;

    text-decoration: none;

    border-bottom: 2px solid transparent;
}

.tab-list li a i {
    font-size: 15px;
}

.tab-list li:hover a {
    color: var(--secondary);
}

.tab-list li.active a {
    color: var(--primary);
}

/*.tab-indicator {*/
/*    position: absolute;*/
/*    bottom: -1px;*/
/*    height: 3px;*/
/*    background: #8B5E3C;*/
/*    transition: .3s ease;*/
/*    border-radius: 10px;*/
/*}*/

.tab-indicator {
    position: absolute;
    bottom: -1px;
    height: 3px;
    background: var(--primary);
    transition: .3s ease;
    border-radius: 10px;
}

.tab-list li {
    background-color: rgb(245, 246, 250);
}

.tab-list li.active {
    background-color: #fff;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.tab-panel.active {
    display: block;
    animation: tabFade .4s ease forwards;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.seller-tab-card{
    animation: fadeIn .35s ease;
}

@media (max-width: 1023px) {
    .profile-tabs {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

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

    .tab-list {
        width: max-content;
        min-width: 100%;
        flex-wrap: nowrap;
    }

    .tab-list li {
        flex: 0 0 auto;
    }

    .tab-list li a {
        min-height: 48px;
        padding: 12px 16px;
        gap: 6px;
        white-space: nowrap;
        font-size: 13px;
    }

    .seller-tab-card {
        width: 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    .custom-hr{
        width: 80%;
        margin: 20px auto;
        border: 0.5px;
        height: 1.5px;
        background: #6c513e1c;
    }
.product-thumb{
    width:60px;
    height:60px;
    border-radius:12px;
    object-fit:cover;
    border:1px solid #eee;
}
