﻿/* CARD */
.categoria-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 */
.categoria-hero {
    position: relative;
    margin-bottom: 2rem;
}

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

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

/* AVATAR */
.categoria-avatar-hero {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--rz-base-default);
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

.categoria-avatar-placeholder-hero {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--rz-base-default);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    border: 4px solid var(--rz-base-default);
}

/* BODY */
.categoria-info-box {
    border-radius: 16px;
    padding: 1rem;
    background: rgba(var(--rz-base-contrast-rgb), .03);
    border: 1px solid rgba(var(--rz-base-contrast-rgb), .08);
}

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

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

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

/* FOOTER */
.categoria-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 .categoria-hero-bg,
.rz-dark .categoria-hero-bg {
    background: linear-gradient( 135deg, rgba(var(--rz-primary-rgb), .4), rgba(var(--rz-primary-rgb), .2) );
}
