/* Glassmorphism Dark Theme Cards */
.glass-card {
    background: #0f172a !important; /* ডার্ক স্লট ব্যাকগ্রাউন্ড যোগ করা হয়েছে যাতে সাদা টেক্সট স্পষ্ট দেখা যায় */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card-hover:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.5) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

/* Banner & Avatar Profile Header */
.wholesaler-banner {
    height: 220px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.wholesaler-banner img.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fixed Logo Avatar */
.wholesaler-logo-img {
    width: 125px;
    height: 125px;
    max-width: 125px;
    max-height: 125px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -60px;
    border: 4px solid #0f172a;
    background-color: #1e293b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.verified-badge {
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 50px;
}

/* Video Player Container */
.video-wrapper {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
    display: block;
}

/* Certificate Cards */
.cert-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
}

.cert-card:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: #ffc107;
}

.cert-img-preview {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-img-preview {
    transform: scale(1.05);
}

/* Product Card & Image Control */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-img-box {
    height: 170px;
    background: #ffffff; /* প্রোডাক্ট এর ছবি স্পষ্ট দেখানোর জন্য থাম্বনেইল ব্যাকগ্রাউন্ড সাদা রাখা হয়েছে */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    padding: 10px;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.08);
}

/* Custom Scrollbar for Text Area */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.3);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 193, 7, 0.6);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .wholesaler-banner {
        height: 150px;
    }

    .wholesaler-logo-img {
        width: 90px;
        height: 90px;
        max-width: 90px;
        max-height: 90px;
        margin-top: -45px;
    }

    .product-img-box {
        height: 140px;
    }
}