﻿/*Categoria (Pagina Principal)*/
/*Table*/
#categoriaTable{
    border-radius:8px;
    overflow:hidden;
    font-size:0.95rem;
    box-shadow:0 2px 6px rgba(0, 0, 0, 0.05);
}

    #categoriaTable thead {
        background-color: #f8f9fa;
        color: #495057;
    }

    #categoriaTable tbody tr:hover{
        background-color: #f0f8ff;
        transition: background-color 0.2s ease-in-out;
    }

    #categoriaTable td,
    #categoriaTable th{
        vertical-align: middle;
        text-align: center;
    }
    /*Button Category*/
    .btnCategoria {
        background-color: #38B2AC;
        color: white;
        border-radius: 6px;
        padding: 8px 16px;
    }
/*bottones Edit, Info, Delete*/
.btnEditar{
    background-color: #3182CE;
    color: white;
    border: none;
    border-radius: 5px;
    margin-right: 5px;
}

.btnEditar:hover{
    background-color: #d6d8db;
    color: #000;
}

.btnEditar:active {
    background-color: #adb6c4 !important;
    color: white !important;
}

.btnEditar:focus,
.btnEditar:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: white !important;
}
/*Info*/
.btnDetails {
    background-color: #4A5568;
    color: white;
    border: none;
    border-radius: 5px;
    margin-right: 5px;
}

.btnDetails:hover{
    background-color: #bee5eb;
    color: #0a4f57;
}

.btnDetails:active {
    background-color: #adb6c4 !important;
    color: white !important;
}

.btnDetails:focus,
.btnDetails:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: white !important;
}
/*Delete*/
.btnDelete {
    background-color: #E53E3E;
    color: white;
    border: none;
    border-radius: 5px;
    margin-right: 5px;  
}

.btnDelete:hover{
    background-color: #f5c6cb;
}

.btnDelete:active {
    background-color: #adb6c4 !important;
    color: white !important;
}

.btnDelete:focus,
.btnDelete:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: white !important;
}


/*Categoria (Editar Categoria)*/

/*Bottones*/
.btnSave{
    background-color: #047857;
    border: none;
    color: white;
}

.btnSave:hover {
    background-color: #065F46;
    color: white;
}

.input-group-text{
    border: 1px solid #D1D5DB;
    background-color: #F9FAFB;
    color: #6B7280;
}

.form-control{
    border: 1px solid #D1D5DB;
}

.card {
    background-color: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/*Detalles de la Categoria*/
.card-header.bg-gradient-primary {
    background-color: #263445; /*  Navy Blue */
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
}

.detalle-categoria-card {
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-body table th {
    color: #6c757d; 
    font-weight: 500;
}

.card-body table td {
    color: #263445; 
    font-weight: 500;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e1e1e1;
}

.btn-outline-secondary {
    color: #263445;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    background-color: #c4c9cf;
    text-decoration: none !important;
}

    .btn-outline-secondary:hover {
        background-color: #263445;
        color: #ffffff;
        text-decoration: none !important;
    }


.btn-outline-secondary:active {
    background-color: #6c757d !important;
    color: white !important;
}

.btn-outline-secondary:focus,
.btn-outline-secondary:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: white !important;
}


.fa-tags,
.fa-tag,
.fa-sort-numeric-up-alt,
.fa-calendar-alt,
.fa-clock,
.fa-arrow-left {
    color: #00c3b0;
}