/* Custom styles for vendor pages to fix alignment and UI */

/* Custom styles for vendor pages to fix alignment and UI */

/* Page Layout */
/* body style handled by index-style.css to ensure consistency */
/*
body {
    background-color: #0e1116;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}
*/

.layout-fullview__scrollable {
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
}

.layout-fullview__content {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0;
}

/* Vendor Toolbar Styles (Matching User Screenshot) */
.vendor-toolbar {
    background: #0e1116; /* Match body bg */
    padding: 12px 16px;
    position: sticky;
    top: 56px; /* Below header */
    z-index: 10; /* Lower than header (200) and sidebar (210) */
    border-bottom: 1px solid #1f2329;
    margin-bottom: 16px;
}

.vt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0; /* Removed margin bottom since we have padding in toolbar */
}

.vt-left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.vt-vendor-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.vt-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.vt-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.vt-right {
    display: flex;
    gap: 16px;
}

.vt-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vt-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.vt-btn:hover img {
    opacity: 1;
}

/* Search Box */
.vt-search-wrapper {
    width: 100%;
}

.vt-search-box {
    background: #222832;
    border-radius: 4px; /* Slightly rounded */
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 10px;
}

.vt-search-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.vt-search-input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.vt-search-input::placeholder {
    color: #657381;
}

/* Game Grid */
.game-grid-view__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Mobile default 3 cols */
    gap: 12px; /* Tighter gap matching screenshot */
    padding: 0 16px;
}

@media (min-width: 480px) {
    .game-grid-view__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .game-grid-view__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .game-grid-view__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.game-card {
    background: #222832;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s;
    position: relative;
    aspect-ratio: 3/4; /* Standard portrait ratio */
    box-shadow: none; /* Flat look per screenshot */
}

.game-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.game-card__cover {
    width: 100%;
    height: 100%;
}

.game-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px 8px 8px;
    text-align: center;
}

.game-card__name {
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Floating Chat Button */
.fab-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fab-chat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fab-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e94242;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0e1116;
}
