﻿.hidden-div {
    display: none;
}

.c-white, .c-white i {
    color: white;
}

#ui-name {
    text-transform: uppercase;
    color: gray;
}

.sidebar {
    transition: all 1s;
}

.sidebar-dark #sidebarToggle {
    padding: 5px 12px;
}

.sidebar #sidebarToggle::after {
    margin-left: 0;
}

.sidebar.toggled #sidebarToggle::after {
    margin: 0;
}

.hov-cursor {
    cursor: pointer;
}

/*==============================================================*/
/*  Inicio Mini mensaje                                         */
/*==============================================================*/

#nim-container {
    position: fixed;
    top: 3rem;
    left: 3rem;
    /*width: 100%;*/
    display: none;
    transition: all 1s;
    z-index: 99999999;
}

/*==============================================================*/
/*  Termina Mini mensaje                                        */
/*==============================================================*/


/*==============================================================*/
/*	Inicio custom switch                                        */
/*==============================================================*/

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    /*float: right;*/
    margin: 0;
}


    /* Hide default HTML checkbox */
    .switch input {
        display: none;
    }

.switch-space {
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input.default:checked + .slider {
    background-color: #444;
}

input.primary:checked + .slider {
    background-color: #1b2e5b;
}

input.success:checked + .slider {
    background-color: #8bc34a;
}

input.info:checked + .slider {
    background-color: #3de0f5;
}

input.warning:checked + .slider {
    background-color: #FFC107;
}

input.danger:checked + .slider {
    background-color: #f44336;
}

input:focus + .slider {
    box-shadow: 0 0 1px #1b2e5b;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/*==============================================================*/
/*	Fin custom switch                                           */
/*==============================================================*/


/*==============================================================*/
/*	Inicio Custom Paginator                                     */
/*==============================================================*/

.dataTables_paginate {
    border: solid 1px #ccc;
    border-radius: 7px;
    padding: 0 !important;
}

    .dataTables_paginate span a {
        border-left: solid 1px #ccc !important;
        border-radius: 0px !important;
        padding: 8px 10px 8px 12px !important;
    }

        .dataTables_paginate span a:last-child {
            border-right: solid 1px #ccc !important;
        }

        .dataTables_paginate span a.ui-state-disabled, .dataTables_paginate a.ui-state-disabled {
            color: #999 !important;
        }

/*==============================================================*/
/*	Termina Custom Paginator                                    */
/*==============================================================*/


/*==============================================================*/
/*	Inicia - Tamaños especiales Tablas                          */
/*==============================================================*/

.table_fs_13 {
    font-size: 13px;
}

.table_fs_12 {
    font-size: 12px;
}

.table_fs_10 {
    font-size: 10px;
}

/*==============================================================*/
/*	Termina - Tamaños especiales Tablas                         */
/*==============================================================*/

/*==========================================*/
/*  Inicia - Fix para easy-autocomplete     */
/*==========================================*/


.easy-autocomplete{
    width: 100% !important;
}

/*==========================================*/
/*	Termina - Fix para easy-autocomplete    */
/*==========================================*/


/*==========================================*/
/*  Inicia - Fix para datetime-picker     */
/*==========================================*/


.picker-switch.accordion-toggle a, .picker-switch.accordion-toggle, .picker-switch.accordion-toggle table {
    width: 100%!important;
    text-align: center;
}

.picker-switch.accordion-toggle a{
    cursor:pointer;
}



/*==========================================*/
/*	Termina -  Fix para datetime-picker    */
/*==========================================*/
.dashboard-page {
    color: #1f2937;
}

.dashboard-toolbar {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dashboard-toolbar h1 {
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 2px 0 0;
}

.dashboard-kicker {
    color: #2563eb;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-selector {
    min-width: 280px;
}

.dashboard-selector label {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dashboard-empty {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #64748b;
    display: flex;
    gap: 12px;
    padding: 22px;
}

.dashboard-empty i {
    color: #2563eb;
    font-size: 22px;
}

.dashboard-empty p {
    margin: 0;
}

.dashboard-summary-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 16px;
}

.chat-detail-tabs {
    margin-bottom: 1rem;
}

.chat-detail-tab-content .card-body {
    max-height: 28rem;
    min-height: 14rem;
    overflow-y: auto;
}

.chat-analysis-item {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    margin-bottom: .75rem;
    padding-bottom: .75rem;
}

.chat-analysis-item span {
    color: rgba(255, 255, 255, .65);
    display: block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.chat-analysis-item b {
    display: block;
    overflow-wrap: anywhere;
}

.chat-conversation-turn {
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

.metric-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    gap: 14px;
    min-height: 118px;
    padding: 18px;
}

.metric-card-primary {
    background: #0f2f6f;
    border-color: #0f2f6f;
    color: #ffffff;
}

.metric-card span,
.metric-card small {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.metric-card-primary span,
.metric-card-primary small {
    color: #dbeafe;
}

.metric-card strong {
    color: #0f172a;
    display: block;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
    margin: 5px 0;
    word-break: break-word;
}

.metric-card-primary strong {
    color: #ffffff;
}

.metric-icon {
    align-items: center;
    background: #e0f2fe;
    border-radius: 8px;
    color: #0f2f6f;
    display: flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.metric-card-primary .metric-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.dashboard-usage-row {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    margin-bottom: 16px;
}

.usage-panel,
.audit-panel,
.dashboard-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
}

.usage-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.usage-header span,
.panel-title span,
.audit-grid span,
.usage-breakdown span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.usage-header strong {
    color: #0f172a;
    display: block;
    font-size: 28px;
    font-weight: 800;
}

.usage-header i {
    color: #2563eb;
    font-size: 26px;
}

.usage-bar {
    background: #e5e7eb;
    border-radius: 999px;
    height: 12px;
    margin: 16px 0;
    overflow: hidden;
}

.usage-bar div {
    background: #2563eb;
    border-radius: 999px;
    height: 100%;
    transition: width 0.2s ease;
    width: 0;
}

.usage-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.audit-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
}

.audit-grid div {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
}

.audit-grid strong {
    color: #0f172a;
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.dashboard-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-panel-wide {
    grid-column: span 2;
}

.panel-title {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.panel-title h2 {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.chart-box {
    height: 285px;
    min-height: 285px;
    position: relative;
}

@media (max-width: 1199px) {
    .dashboard-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-usage-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .dashboard-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-selector,
    .dashboard-panel-wide {
        grid-column: span 1;
        min-width: 0;
    }

    .dashboard-summary-grid,
    .dashboard-grid,
    .audit-grid {
        grid-template-columns: 1fr;
    }
}
.notification-email-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-email-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
}

.notification-email-row .btn {
    width: 42px;
}

.property-hotel-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-branding-preview {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #f8f9fc;
}

.property-hotel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
    gap: 8px;
}

.property-hotel-row .btn {
    width: 42px;
}
