/**
 * Styles for live wholesellers grid
 */

 .live-wholesellers-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.live-wholesellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px; /* Increased gap for more spacing between items */
}

/* For slider mode */
.slick-track {
    display: flex !important;
    gap: 30px !important; /* Increased gap for more spacing between items */
}

.slick-slide {
    height: inherit !important;
    margin: 0 15px; /* Added horizontal margin for spacing in slider mode */
}

/* Live Seller Card */
.live-seller-card {
    position: relative;
    height: 400px; /* Fixed height to avoid size issues */
    min-height: 400px; /* Ensure minimum height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #02181e;
    border: 2px solid #ffffff; /* Changed border to white */
    border-radius: 0; /* Removed border radius */
    color: white;
    text-decoration: none;
    transition: border-color 0.3s ease; /* Only transition border color */
}

.live-seller-card:hover {
    transform: none; /* Removed lift on hover */
    box-shadow: none; /* Removed shadow */
    border-color: #ffc442; /* Changed border on hover to #ffc442 */
}

.live-seller-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.live-seller-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    justify-content: space-between;
}

.live-badge {
    align-self: flex-start;
    background-color: #ff3e3e;
    color: white;
    font-family: 'Anton', sans-serif;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.seller-name {
    font-family: 'Anton', sans-serif;
    font-size: 32px;
    text-align: center;
    margin: 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.platform-badge {
    align-self: center;
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    margin-top: auto;
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    width: 180px;
}

.platform-icon {
    width: 20px;
    height: 20px;
}

/* Controls for slider */
.live-wholesellers-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.prev-button,
.next-button {
    background-color: none !important;
    color: #fff !important;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.prev-button {
    background: none;
    color: #000;
    border-radius: 50px;
}

button.next-button {
    background: none;
    color: #000;
    border-radius: 50px;
}

button.prev-button:hover {
    background: #ffc442;
}

button.next-button:hover {
    background: #ffc442;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .live-wholesellers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .live-seller-card {
        height: 380px;
        min-height: 380px;
    }
    
    .seller-name {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .live-wholesellers-grid {
        grid-template-columns: 1fr;
    }
}

.no-live-sellers {
    text-align: center;
    padding: 30px;
    font-size: 18px;
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}