﻿/* =========================
   CARD
========================= */

.mesa-detalle-card {
    max-width: 700px;
    border-radius: 20px;
    padding: 1.5rem;
    background: var(--rz-base-default);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    animation: fadeUp .3s ease;
}

/* =========================
   HERO
========================= */

.mesa-hero {
    position: relative;
    margin-bottom: 2rem;
}

.mesa-hero-bg {
    height: 120px;
    border-radius: 16px;
    background: linear-gradient( 135deg, var(--rz-primary), rgba(var(--rz-primary-rgb), .7) );
}

.mesa-hero-content {
    margin-top: -50px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ICON */
.mesa-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: var(--rz-base-default);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* =========================
   BODY
========================= */

.mesa-detalle-body {
    margin-top: 1rem;
}

.mesa-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mesa-info-item {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

    .mesa-info-item .label {
        font-size: .75rem;
        text-transform: uppercase;
        font-weight: 700;
        color: var(--rz-text-secondary-color);
    }

    .mesa-info-item .value {
        font-size: 1rem;
        font-weight: 700;
    }

/* =========================
   FOOTER
========================= */

.mesa-detalle-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(var(--rz-base-contrast-rgb), .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   DARK MODE
========================= */

html.dark .mesa-hero-bg,
.rz-dark .mesa-hero-bg {
    background: linear-gradient( 135deg, rgba(var(--rz-primary-rgb), .4), rgba(var(--rz-primary-rgb), .2) );
}
