﻿.reward-card {
    border-radius: 24px;
    transition: transform .18s ease, box-shadow .18s ease;
    overflow: hidden;
}

    .reward-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 35px rgba(0,0,0,.12) !important;
    }

.reward-card-featured {
    border: 2px solid #ffc107 !important;
}

.reward-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
}

.reward-description {
    min-height: 48px;
}

.stat-card {
    border-radius: 22px;
    transition: .2s;
}

    .stat-card:hover {
        transform: translateY(-3px);
    }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.cr-body {
    background: #f5f7fb;
}

.cr-app {
    min-height: 100vh;
    display: flex;
}

.cr-sidebar {
    width: 280px;
    background: #111827;
    color: white;
    padding: 24px;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cr-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 32px;
}

    .cr-brand:hover {
        color: white;
    }

.cr-brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    background: white;
    border-radius: 14px;
    padding: 6px;
}

.cr-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cr-nav-link {
    color: #d1d5db;
    text-decoration: none;
    padding: 13px 14px;
    border-radius: 14px;
    font-weight: 500;
    transition: .2s;
}

    .cr-nav-link:hover {
        background: rgba(255,255,255,.1);
        color: white;
    }

.cr-sidebar-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
}

    .cr-sidebar-footer .navbar-nav {
        flex-direction: column;
        gap: 8px;
    }

    .cr-sidebar-footer .nav-link,
    .cr-sidebar-footer .btn-link {
        color: #d1d5db !important;
        text-align: left;
        padding-left: 0;
        text-decoration: none;
    }

        .cr-sidebar-footer .nav-link:hover,
        .cr-sidebar-footer .btn-link:hover {
            color: white !important;
        }

.cr-main {
    margin-left: 280px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cr-topbar {
    height: 70px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 900;
}

/*.cr-content {
    padding: 28px;
    flex: 1;
}*/

.cr-footer {
    padding: 18px 28px;
    color: #6b7280;
    font-size: 14px;
}

    .cr-footer a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 600;
    }

@media (max-width: 991px) {
    .cr-sidebar {
        transform: translateX(-100%);
        transition: .25s;
    }

    .cr-sidebar-open .cr-sidebar {
        transform: translateX(0);
    }

    .cr-main {
        margin-left: 0;
    }

    .cr-content {
        padding: 18px;
    }

    .jugador-card {
        border-radius: 24px;
        transition: all .20s ease;
        cursor: pointer;
    }

    .jugador-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(0,0,0,.15) !important;
    }

    .cr-gradient {
        background: linear-gradient(135deg, var(--club-primary), var(--club-secondary)) !important;
    }

    .cr-bg-primary {
        background-color: var(--club-primary) !important;
    }

    .cr-bg-secondary {
        background-color: var(--club-secondary) !important;
    }

    .cr-bg-accent {
        background-color: var(--club-accent) !important;
    }

    .cr-text-primary {
        color: var(--club-primary) !important;
    }

    .cr-border-primary {
        border-color: var(--club-primary) !important;
    }
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.cr-app {
    width: 100%;
    max-width: 100%;
}

.cr-main {
    min-width: 0;
    width: 100%;
}

.cr-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .cr-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 280px;
        height: 100vh;
        transform: translateX(-100%);
        z-index: 1050;
    }

    body.cr-sidebar-open .cr-sidebar {
        transform: translateX(0);
    }

    .cr-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .cr-content {
        padding: 16px !important;
    }

    .container,
    .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 12px;
        padding-right: 12px;
    }
}