﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --brand-yellow: #FFEB00; /* tono del logo */
    --brand-yellow-2: #F5D000; /* hover */
    --brand-black: #111111; /* fondo/contraste */
    --mm-yellow: #FFEB00; /* amarillo del logo */
    --mm-black: #111111;
}
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.btn-cyan {
    background-color: #00bcd4; /* Cyan */
    border-color: #00acc1;
}

.btn-cyan:hover {
    background-color: #00acc1;
    border-color: #0097a7;
}

.btn-yellow {
    background-color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    color: #111 !important; /* texto oscuro para contraste */
    font-weight: 700;
}

    .btn-yellow:hover,
    .btn-yellow:focus {
        background-color: var(--brand-yellow-2) !important;
        border-color: var(--brand-yellow-2) !important;
        color: #111 !important;
    }

/* Encabezados amarillos + texto negro */
.mm-grid table thead th {
    background: var(--mm-yellow) !important;
    color: var(--mm-black) !important;
    border-bottom: 2px solid var(--mm-black) !important;
    font-weight: 800;
    text-transform: uppercase;
}

/* Hover agradable en filas */
.mm-grid tbody tr:hover {
    background: rgba(255,235,0,.20) !important;
}

/* Resaltado por CONDICIÓN (clases desde RowClass/GetRowClass) */
.mm-grid tbody tr.mm-row-strong {
    background: rgba(255,235,0,.30) !important; /* más intenso */
}

.mm-grid tbody tr.mm-row-soft {
    background: rgba(255,235,0,.12) !important; /* más suave */
}

.mm-logo {
    width: clamp(160px, 28vw, 320px); /* responsivo */
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}

.btn-primary:disabled {
    opacity: .65;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
