/* Past Meetings Styles */
.cb-pm-wrapper {
    margin: 20px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Grid & Layout Basics */
.cb-pm-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
}

.cb-pm-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card Aesthetics */
.cb-pm-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.cb-pm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Meta Info */
.cb-pm-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.cb-pm-date {
    font-weight: 700;
    color: #2271b1;
}

/* Teams & Scores */
.cb-pm-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    gap: 10px;
}

.cb-pm-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.pm-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pm-team-name {
    font-weight: 800;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    height: 32px;
    display: flex;
    align-items: center;
}

.pm-score {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
}

.cb-pm-vs {
    background: #f0f0f0;
    color: #999;
    font-size: 10px;
    font-weight: 900;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Outcome */
.cb-pm-outcome {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
    margin-top: 10px;
}

/* DESIGN STYLES */

/* Dark Premium */
.cb-pm-dark .cb-pm-card {
    background: #1a1a1a;
    color: #eee;
    border: 1px solid #333;
}

.cb-pm-dark .pm-team-name {
    color: #fff;
}

.cb-pm-dark .pm-score {
    color: #00ff88;
}

.cb-pm-dark .cb-pm-outcome {
    background: #2a2a2a;
    color: #aaa;
}

.cb-pm-dark .cb-pm-vs {
    background: #333;
    color: #666;
}

/* Glassmorphism */
.cb-pm-glass .cb-pm-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: 0.3s;
}

.cb-pm-glass .cb-pm-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.cb-pm-glass .pm-score {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cb-pm-glass .cb-pm-outcome {
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
}

/* Carousel Styles */
.cb-pm-carousel {
    position: relative;
    overflow: hidden;
}

.cb-pm-carousel-inner {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    width: max-content;
}

.cb-pm-carousel .cb-pm-item {
    width: 300px;
    flex-shrink: 0;
}

.cb-pm-carousel-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.cb-pm-carousel-nav button {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cb-pm-carousel-nav button:hover {
    background: #135e96;
    transform: scale(1.1);
}

/* List Specific Modification */
.cb-pm-list .cb-pm-card {
    padding: 12px 25px;
}

.cb-pm-list .cb-pm-teams {
    margin: 5px 0;
}

.cb-pm-list .cb-pm-team {
    flex-direction: row;
    gap: 15px;
}

.cb-pm-list .pm-logo {
    width: 35px;
    height: 35px;
    margin-bottom: 0;
}

.cb-pm-list .pm-score {
    font-size: 22px;
    width: 50px;
    text-align: right;
}

.cb-pm-list .cb-pm-team.away .pm-score {
    text-align: left;
}