﻿.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50; /* igual que bootstrap */
}

.btn-ingresar {
    position: relative;
    padding: 8px 25px; /* más pequeño que antes */
    background-color: #343a40;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 20px; /* más redondeado */
    text-align: center;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
    margin-top: 15px; /* SEPARACIÓN hacia abajo */
    font-size: 12px; /* letra más pequeña */
}
/* Contenedor principal del menú */
.menu-card {
    border-radius: 15px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background: #fff;
    padding: 20px;
}

    .menu-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

/* Títulos */
.card-title {
    font-weight: bold;
    margin-top: 10px;
}

.card-text {
    font-size: 0.9rem;
    color: #666;
}

/* Encabezado */
.encabezado {
    text-align: center;
    margin: 20px 0;
}

.titulo1, .titulo2, .titulo3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 5px;
}

/* Panel general */
.menu-panel {
    background: #f5f6f7; /* gris claro */
    border: 3px solid #343a40; /* gris oscuro */
    border-radius: 15px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1100px; /* ancho centrado */
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Contenedor de cada ítem */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Título arriba */
.menu-title {
    background: #6c757d;
    color: #fff;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: -30px; /* solapa sobre el círculo */
    font-size: 14px;
    z-index: 2;
    position: relative;
}

/* Círculo */
.menu-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #dcdde1;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, background 0.2s;
}

/* Ícono flotante */
.menu-icon {
    margin-top: 35px;
}

    .menu-icon i {
        font-size: 52px;
        color: #343a40;
    }

/* Hover */
.menu-circle:hover {
    transform: scale(1.08);
    background: #343a40;
}

    .menu-circle:hover i {
        color: #fff;
    }

/* Botones */
.acciones {
    text-align: center;
}

    .acciones .btn {
        margin: 0 15px;
    }


/*.logo-img {
    max-width: 220px;*/ /* tamaño máximo */
    /*height: auto;
    margin-bottom: 20px;
}*/
.icon-img {
    width: 70px; /* tamaño del icono */
    height: 70px; /* tamaño uniforme */
    margin-top: 40px; /* mueve la imagen hacia abajo */
    display: block;
}

/* Logo */
/* Estilo general del grid */
.table-grid {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #666666;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

    /* Encabezado */
    .table-grid th {
        background-color: #B5B2B2; /* azul oscuro */
        color: #000066;
        text-align: center;
        padding: 6px;
        font-weight: bold;
        border: 1px solid #cccccc;
        text-transform: uppercase;
        font-size: 12px;
    }

    /* Celdas */
    .table-grid td {
        background-color: #f5f5f5;
        color: #000066;
        padding: 6px;
        text-align: center;
        border: 1px solid #cccccc;
        font-size: 12px;
    }

    /* Filas alternas */
    .table-grid tr:nth-child(even) td {
        background-color: #f5f5f5; /*#e9e9e9*/
    }

    /* Hover fila */
    .table-grid tr:hover td {
        background-color: #d1d1d1;
        transition: background-color 0.3s ease-in-out;
        cursor: pointer;
    }

    /* Fila seleccionada */
    .table-grid .selected-row {
        background-color: #666666 !important;
        color: #ffffff !important;
    }

    /* Checkbox personalizado */
    .table-grid input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 15px;
        height: 15px;
        border: 2px solid #666666;
        border-radius: 50%;
        outline: none;
        cursor: pointer;
        position: relative;
    }

        /* Efecto cuando está marcado */
        .table-grid input[type="checkbox"]:checked {
            background-color: #000066;
            border-color: #000066;
        }

            .table-grid input[type="checkbox"]:checked::after {
                content: "✔";
                color: #fff;
                font-size: 10px;
                position: absolute;
                top: 0;
                left: 3px;
            }


.menuContainer {
    background-color: #333;
    font-family: Arial, sans-serif;
}

.menuStatic {
    background-color: #444;
    color: white;
    padding: 10px 15px;
    display: inline-block;
    text-decoration: none;
}

    .menuStatic a {
        color: white;
        text-decoration: none;
    }

        .menuStatic a:hover {
            color: #ffcc00;
        }

.menuSelected {
    background-color: #222;
    font-weight: bold;
}

.menuHover {
    background-color: #555;
}

.menuDynamic {
    background-color: #666;
    color: white;
    padding: 10px;
}

.menuDynamicHover {
    background-color: #777;
}