﻿/* ---------- Clickable Game Card ---------- */
.game-item-link {
    text-decoration: none !important;
    display: block;
    transition: transform 0.2s ease, opacity 0.1s ease;
}

    .game-item-link:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

.fav-game-card {
    background: #fff;
    border: 1px solid #f0f0f0 !important;
    position: relative;
    padding-right: 40px !important;
}

.game-item-link:hover .fav-game-card {
    border-color: #dee2e6 !important;
    background-color: #fbfbfb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* ---------- Remove Favourite Button ---------- */
.btn-remove-fav {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 1px solid #eee;
    color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
    transition: all 0.2s ease;
}

    .btn-remove-fav:hover {
        background: #dc3545;
        color: #fff;
        transform: scale(1.1);
    }

/* ---------- Images ---------- */
.img-wrapper {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    overflow: hidden;
}

    .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------- Text Helpers ---------- */
.small-text {
    font-size: 11px;
}

.x-small {
    font-size: 0.65rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

/* ---------- Backgrounds ---------- */
.bg-light-subtle {
    background-color: #f8fafd !important;
}

/* ---------- Accordion Header ---------- */
.full-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f1f1;
    width: 100%;
}

/* ---------- Copy Button (Mobile Friendly) ---------- */
.copy-user,
.copy-pass {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.copy-row-user, .copy-row-pass, .copy-btn {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.copy-btn {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
