/* Estilos customizados - compatível com MudBlazor */

/* ── Header gradiente do pet ── */
.dragatos-pet-header {
    background: linear-gradient(135deg, #11414B 0%, #1a5a68 50%, #247a8a 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(17, 65, 75, 0.25);
}

/* ── Grid de estatísticas — sempre 2 colunas (cabe em qualquer mobile) ── */
.dragatos-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* ── Card individual de estatística ── */
.dragatos-stat-card {
    background: white;
    border: 1px solid #e8eef1;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: all 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.dragatos-stat-card:hover {
    box-shadow: 0 2px 12px rgba(17, 65, 75, 0.1);
    border-color: #b2cfd6;
}

.dragatos-stat-card--highlight {
    border-color: rgba(239, 83, 80, 0.3);
    background: rgba(239, 83, 80, 0.02);
}

/* ── Ícone circular no card ── */
.dragatos-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

/* ── Textos do card de stat ── */
.dragatos-stat-label {
    color: #6b8a94;
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.dragatos-stat-value {
    color: #11414B;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dragatos-stat-detail {
    color: #9eb3bb;
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Fundo branco nos avatares */
.mud-avatar {
    background-color: white !important;
}

/* Logo no AppBar: fundo transparente para o azul do AppBar mostrar, permitindo ler texto branco e azul escuro do logo */
.dragatos-appbar-logo {
    background-color: transparent !important;
}

.dragatos-pet-card:hover {
    box-shadow: 0 8px 24px rgba(17, 65, 75, 0.2);
    transform: translateY(-2px);
}

.dragatos-clinica-card:hover {
    box-shadow: 0 8px 24px rgba(17, 65, 75, 0.2);
    transform: translateY(-2px);
}

/* Tiles de ação — scroll horizontal suave com snap */
.dragatos-action-scroll {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-top: 12px;
    /* esconde scrollbar visualmente */
    scrollbar-width: none;
}
.dragatos-action-scroll::-webkit-scrollbar {
    display: none;
}

.dragatos-pet-action-tile {
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 12px !important;
    padding: 10px 8px !important;
    min-width: 72px;
    max-width: 80px;
    transition: all 0.2s ease;
}

.dragatos-pet-action-tile:hover {
    box-shadow: 0 4px 12px rgba(17, 65, 75, 0.15);
    transform: translateY(-1px);
}

.dragatos-nav-tile:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Força ícones e textos brancos nos tiles do bottom nav */
.dragatos-nav-tile,
.dragatos-nav-tile .mud-typography,
.dragatos-nav-tile .mud-icon-root {
    color: white !important;
}
