﻿
.recuadro {
    border: 3px solid #eeeeee;
    border-radius: 7px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(243,241,237,0.8883150672378326) 16%, rgba(198,197,197,0.7762702493106618) 80%);
    margin: -30px 7px -15px 7px;
}

.Campo_pagos {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.loading-bar {
    height: 50px;
}

.boton-login {
    margin-top: -25px;
    margin-left: -10px;
    padding-top: 1px;
}

.restaura-login {
    padding-top: 1px;
    margin-top: -5px;
    margin-left: 35px;
}

.mostrarPassword {
    color: #000000c7;
    background-color: transparent;
    margin-top: -6px;
    margin-bottom: -6px;
    border-color: transparent;
}

.SEGURIDSOCIAL {
    display: flex;
    justify-content: center;
}

.btn-ubicad {
    border-color: #b38626;
    border-radius: 7px;
    background: #dbb25b;
    color: #fff;
    text-transform: uppercase;
    align-items: center;
    margin-top: 36px;
    margin-bottom: 9px;
    height: 32px;
}

    .btn-ubicad:hover {
        background: #16ab9c;
        color: #fff !important;
        box-shadow: inset 0 0 20px rgba(49, 138, 172, 0.5), 0 0 20px rgba(49, 138, 172, 0.4);
        outline-color: rgba(49, 138, 172, 0);
        outline-offset: 80px;
        text-shadow: 1px 1px 6px #fff;
    }

.Titulos {
    align-items: center;
    justify-content: center;
    margin: 0px 12px -20px 12px;
    background: linear-gradient(180deg, rgba(243,241,237,0.8883150672378326) 10%, rgba(198,197,197,0.7762702493106618) 57%);
    text-align: center;
    border-top-right-radius: 19px;
    border-top-left-radius: 19px;
    font-family: Helvetica,Futura,Arial,Verdana,sans-serif;
}

.botonesplanillas {
    margin-top: 35px;
}

textarea:focus {
    background-color: #eee;
    padding: 20px;
}

td:focus {
    background-color: #eee;
    padding: 20px;
}

/*Animación de Titulos*/
#waviy {
    position: relative;
    display: flex;
    justify-content: center;
}

    #waviy span {
        position: relative;
        display: inline-block;
        font-size: 22px;
        color: #000;
        text-transform: uppercase;
        animation: flip 9s infinite;
        animation-delay: calc(.25s * var(--i));
    }

@keyframes flip {
    0%,80% {
        transform: rotateY(360deg)
    }
}

.confir-modal {
    background-color: rgb(255 255 255 / 77%);
    border-radius: 5px;
    border-color: #696868;
    border: 1px solid;
    padding: 1px 7px 0px 7px;
}

.centerGestionInforme {
    text-align: center;
    padding-bottom: 1px;
}

.devueltoPor {
    margin: 0;
    margin-bottom: 2px;
    margin-left: 5px;
    font-weight: normal;
}

.noDevuelto {
    margin: 5px;
    font-weight: normal;
}

.ui-grid-cell {
    height: 40px !important;
}

* {
    box-sizing: border-box;
}

/* == FIX: HABILITAR COPIA DE TEXTO EN GRILLAS == */
#flex-item-left .ui-grid-row,
#flex-item-left .ui-grid-cell,
#flex-item-left .ui-grid-contents-wrapper,
#flex-item-left .ui-grid-cell * {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

.table-responsive-custom {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 15px;
}

table.pacs {
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    min-width: 600px;
    margin-top: 5px;
}

    table.pacs td, table.pacs th {
        border: 1px solid #e9ecef;
        text-align: left;
        padding: 8px 12px;
        font-size: 0.9em;
    }

    table.pacs th {
        background-color: #f8f9fa;
        color: #495057;
    }

    table.pacs tr:nth-child(even) {
        background-color: #f3f3f3;
    }

    table.pacs tr.alert {
        background-color: #dc3545;
        color: white;
        font-weight: bold;
    }

.ui-grid-cell {
    height: 40px !important;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    gap: 10px;
}

#flex-item-left, #flex-item-right {
    flex: 1 1 calc(50% - 15px);
    min-width: 450px;
    padding: 0;
}

.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

@media (max-width: 950px) {
    #flex-item-right, #flex-item-left {
        flex: 1 1 100%;
    }
}

/* Fuerza a que el tooltip de la librería esté por encima de todo */
.tooltip-frontal {
    z-index: 99999 !important;
}

/* Opcional: Si el tooltip se ve muy pequeño o pegado */
.tooltip-inner {
    max-width: 300px;
    text-align: center;
}

.btn-llamativo {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    border: none;
    border-radius: 7px;
    font-weight: bold;
    padding: 7px 6px;
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    /* Efecto al pasar el mouse */
    .btn-llamativo:hover:not(:disabled) {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
        background: linear-gradient(98deg, #1a2920 0%, #28a745 100%);
    }

    /* Efecto al hacer clic */
    .btn-llamativo:active:not(:disabled) {
        transform: translateY(1px);
    }

    /* Estilo cuando está deshabilitado (Angular ng-disabled) */
    .btn-llamativo:disabled {
        background: #ccc;
        cursor: not-allowed;
        box-shadow: none;
        opacity: 0.6;
    }

    /* Icono con un pequeño espacio */
    .btn-llamativo i {
        margin-right: 8px;
    }