@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;600;700;800&display=swap');

:root {
    --fumix-blue: #194382;
    --fumix-red: #e91021;
    --fumix-light: #f4f7fb;
    --fumix-text: #17345f;
}

html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--fumix-light);
    color: var(--fumix-text);
    font-family: "Fira Sans", Arial, sans-serif;
    width: 100%;
    overflow-x: hidden;
}

body.fumix-login-page {
    display: flex;
    flex-direction: column;
}

.fumix-header {
    min-height: 82px;
    padding: 12px 5%;
    background: var(--fumix-blue);
    box-shadow: 0 3px 12px rgba(19, 48, 92, .22);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fumix-header img {
    width: 165px;
    height: auto;
}

.fumix-header__title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
}

.fumix-hero {
    height: 150px;
    background: linear-gradient(110deg, rgba(25, 67, 130, .96), rgba(25, 67, 130, .72)),
        url('../../fumix2026/assets/src/img/home/banner-poster.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fumix-hero h1,
#title-filtro {
    color: var(--fumix-blue);
    font-weight: 800;
    letter-spacing: 1px;
    text-align:center !important;
}

.fumix-hero h1 {
    margin: 0;
    color: #fff;
    text-align: center;
}

.fumix-actions {
    padding: 18px 5% 0;
    text-align: right;
}

.btn-primary,
.btn-fumix {
    border-color: var(--fumix-blue);
    border-radius: 24px;
    background: var(--fumix-blue);
    color: #fff;
    font-weight: 700;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-fumix:hover,
.btn-fumix:focus {
    border-color: #123466;
    background: #123466;
    color: #fff;
}

.btn-logout {
    border: 2px solid #fff;
    border-radius: 24px;
    background: var(--fumix-red);
    color: #fff;
    font-weight: 700;
    padding: 9px 18px;
}

.btn-logout:hover,
.btn-logout:focus {
    background: #bd0d1a;
    color: #fff;
}

.panel,
.modal-content {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(25, 67, 130, .12);
}

.form-control {
    border-color: #cbd7e8;
    border-radius: 7px;
}

.form-control:focus {
    border-color: var(--fumix-blue);
    box-shadow: 0 0 0 2px rgba(25, 67, 130, .12);
}

.fumix-login-main {
    min-height: 430px;
    padding: 48px 15px;
    background: linear-gradient(135deg, rgba(235, 242, 251, .95), rgba(248, 250, 253, .98)),
        url('../../fumix2026/assets/src/img/home/banner-poster.jpg') center/cover;
    display: flex;
    align-items: center;
    flex: 1 0 auto;
}

.fumix-login-main > .container {
    width: 100%;
}

.fumix-login-card {
    width: calc(100% - 30px);
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
    float: none;
    border: 1px solid rgba(25, 67, 130, .08);
    padding: 20px 32px 26px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 45px rgba(23, 52, 95, .17);
}

.fumix-login-card .panel-body {
    padding: 12px 0 0;
}

.fumix-login-heading {
    margin-bottom: 24px;
}

.fumix-login-heading__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(25, 67, 130, .09);
    color: var(--fumix-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.fumix-login-heading p {
    margin: -17px 0 0;
    color: #6b7d96;
    font-size: 14px;
}

.fumix-login-card .form-group {
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
}

.fumix-login-card label {
    margin-bottom: 8px;
    color: #243b5e;
    font-weight: 700;
}

.fumix-login-card .form-control {
    height: 44px;
    padding: 10px 13px;
    background: #f7f9fc;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.fumix-login-card .form-control:focus {
    background: #fff;
}

.fumix-login-input .input-group-addon,
.fumix-login-input .fumix-password-toggle {
    height: 44px;
    border-color: #cbd7e8;
    background: #eef3fa;
    color: var(--fumix-blue);
}

.fumix-login-input .input-group-addon {
    min-width: 44px;
    border-radius: 7px 0 0 7px;
}

.fumix-login-input .form-control {
    border-radius: 0;
}

.fumix-login-input #userName {
    border-radius: 0 7px 7px 0;
}

.fumix-login-input .input-group-btn:last-child > .fumix-password-toggle {
    width: 46px;
    padding: 10px 12px;
    border-radius: 0 7px 7px 0;
}

.fumix-login-input .fumix-password-toggle:hover,
.fumix-login-input .fumix-password-toggle:focus {
    border-color: var(--fumix-blue);
    background: #e2eaf5;
    outline: 0;
}

.fumix-login-action {
    margin-top: 25px;
}

.fumix-login-card #btn-login {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    outline: 0;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.fumix-login-card #btn-login:hover {
    outline: 0;
    box-shadow: none;
    transform: translateY(-1px);
    border-color: var(--fumix-red);
    background: var(--fumix-red);
}

.fumix-login-card #btn-login:focus,
.fumix-login-card #btn-login:active,
.fumix-login-card #btn-login:active:focus {
    outline: 0;
    outline-offset: 0;
    border-color: var(--fumix-red);
    background: var(--fumix-red);
    box-shadow: 0 0 0 3px rgba(233, 16, 33, .18);
}

.fumix-login-main #title-filtro {
    margin: 0 0 22px;
    font-size: 29px;
    text-shadow: 0 1px 0 #fff;
}

.fumix-footer {
    margin-top: 0;
    padding: 38px 6% 28px;
    background: var(--fumix-blue);
    color: #fff;
    flex: 0 0 auto;
}

.fumix-footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.fumix-footer__logo {
    width: 220px;
    max-width: 100%;
}

.fumix-footer p {
    margin: 5px 0;
    color: #fff;
}

.fumix-footer a {
    color: #fff;
}

.fumix-footer a:hover {
    color: #ff6a6a;
}

.fumix-footer__contact {
    text-align: right;
}

.fumix-footer__legal {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .28);
    text-align: center;
    font-size: 12px;
}

.fumix-footer--login {
    padding: 18px 20px;
    text-align: center;
}

.fumix-footer--login p {
    margin: 0;
    font-size: 13px;
}

.fumix-footer--login span {
    margin: 0 8px;
    opacity: .55;
}

/* Dashboard del centro de contacto */
#contacto-workspace {
    min-height: 100vh;
    overflow-x: hidden;
    background: #f3f6fa;
    display: flex;
    flex-direction: column;
}

#contacto-workspace .fumix-header {
    min-height: 68px;
    padding-top: 9px;
    padding-bottom: 9px;
}

#contacto-workspace .fumix-header img {
    width: 150px;
}

#contacto-workspace .fumix-hero {
    height: 92px;
    background: linear-gradient(110deg, #194382, #245798);
}

#contacto-workspace .fumix-hero h1 {
    font-size: 30px;
    letter-spacing: .4px;
}

#contacto-workspace > .row {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

#contacto-workspace > .row > .col-md-12 {
    padding-right: 24px;
    padding-left: 24px;
}

#contacto-workspace .fumix-actions {
    padding: 18px 0 0;
}

#contacto-workspace .btn-logout {
    border: 0;
    padding: 9px 17px;
    box-shadow: 0 5px 12px rgba(233, 16, 33, .16);
}

#contacto-workspace #title-filtro {
    margin: 28px 0 22px;
    font-size: 28px;
    text-align: center !important;
}

#contacto-workspace #llamada-form {
    margin-bottom: 22px;
    padding: 26px 22px 20px;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25, 67, 130, .07);
    display: block;
    overflow: hidden;
}

#contacto-workspace #llamada-form > .col-md-12 {
    padding-right: 0;
    padding-left: 0;
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start !important;
}

#contacto-workspace #llamada-form .form-group {
    margin-bottom: 18px;
}

#contacto-workspace #llamada-form label {
    margin-bottom: 7px;
    color: #263b59;
    font-size: 13px;
    font-weight: 700;
}

#contacto-workspace #llamada-form .form-control,
#contacto-workspace #llamada-form .panel {
    min-height: 40px;
    margin-bottom: 0;
    border-color: #d3deeb;
    border-radius: 8px;
    background: #fbfcfe;
    box-shadow: none;
}

#contacto-workspace #llamada-form .form-control:hover {
    border-color: #9fb4cf;
}

#contacto-workspace #llamada-form .form-control:focus {
    border-color: var(--fumix-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25, 67, 130, .1);
}

#contacto-workspace #fecha_hora,
#contacto-workspace #tipo_cliente {
    min-height: 40px;
    padding: 10px 12px;
    color: #294566;
    line-height: 20px;
}

#contacto-workspace #llamada-form .checkbox {
    min-height: 34px;
    margin: 0;
    gap: 18px;
    align-items: center;
}

#contacto-workspace #llamada-form .checkbox label {
    margin: 0;
    cursor: pointer;
}

#contacto-workspace #llamada-form textarea.form-control {
    min-height: 72px;
    resize: vertical;
}

#contacto-workspace #llamada-form .col-md-2.d-flex {
    padding-top: 25px;
    gap: 0;
    row-gap: 0;
    flex-direction: column;
}

#contacto-workspace #btn-guardar,
#contacto-workspace .btn-filtrar {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 8px;
    display: block;
}

#contacto-workspace #btn-guardar {
    margin-bottom: 12px;
}

#contacto-workspace #btn-guardar {
    border-color: var(--fumix-red);
    background: var(--fumix-red);
}

#contacto-workspace #btn-guardar:hover,
#contacto-workspace #btn-guardar:focus {
    border-color: #bd0d1a;
    background: #bd0d1a;
}

#contacto-workspace #badges {
    margin-bottom: 18px;
    padding-right: 0;
    padding-left: 0;
}

#contacto-workspace #lista-horas {
    margin: 0;
    border: 1px solid #dde6f0;
    border-radius: 10px;
    background: #fff;
    display: flex;
    overflow: hidden;
}

#contacto-workspace #lista-horas .list-group-item {
    min-width: 0;
    padding: 11px 13px;
    border-width: 0 1px 0 0;
    border-color: #e5ebf2;
    flex: 1;
}

#contacto-workspace #lista-horas a {
    color: #294566;
    text-decoration: none;
}

#contacto-workspace #lista-horas p {
    margin: 0;
    white-space: nowrap;
}

#contacto-workspace #btns-week {
    width: 100%;
    margin-bottom: 18px;
    display: flex;
}

#contacto-workspace #btns-week .btn {
    min-height: 42px;
    border-color: #d8e1ec;
    flex: 1;
}

#contacto-workspace #accordion {
    margin-bottom: 28px;
}

#contacto-workspace #accordion .panel {
    margin-bottom: 14px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(25, 67, 130, .06);
    overflow: hidden;
}

#contacto-workspace #accordion .panel-heading {
    padding: 0;
    border: 0;
    background: #246cac;
}

#contacto-workspace #accordion .panel-title > a {
    padding: 16px 20px;
    color: #fff;
    display: block;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

#contacto-workspace #accordion .panel-title .badge {
    margin-left: 6px;
    background: rgba(255, 255, 255, .95);
    color: #194382;
    float: right;
}

#contacto-workspace #accordion .panel-body {
    padding: 0;
    overflow-x: auto;
}

#contacto-workspace #accordion .table {
    min-width: 1280px;
    margin-bottom: 0;
}

#contacto-workspace #accordion .table > thead > tr > th {
    padding: 13px 10px;
    border-bottom: 1px solid #dfe7f0;
    background: #f5f8fc;
    color: #294566;
    font-size: 12px;
    white-space: nowrap;
}

#contacto-workspace #accordion .table > tbody > tr > td {
    padding: 14px 12px;
    vertical-align: middle;
    font-size: 13px;
}

#contacto-workspace .fumix-records-container {
    width: 100%;
    padding-right: 22px;
    padding-left: 22px;
}

#contacto-workspace > .fumix-footer {
    width: 100%;
    margin: auto 0 0;
}

#contacto-workspace #accordion .table > tbody > tr:hover {
    background: #f7faff;
}

@media (max-width: 991px) {
    #contacto-workspace #title-filtro {
        margin-top: 12px;
        text-align: center !important;
    }

    #contacto-workspace #llamada-form .col-md-2.d-flex {
        padding-top: 0;
        gap: 12px;
        flex-direction: row;
    }

    #contacto-workspace #btn-guardar {
        margin-bottom: 0;
    }

    #contacto-workspace #lista-horas {
        flex-wrap: wrap;
    }

    #contacto-workspace #lista-horas .list-group-item {
        min-width: 25%;
    }
}

@media (max-width: 767px) {
    #contacto-workspace .fumix-hero {
        height: 76px;
    }

    #contacto-workspace .fumix-hero h1 {
        font-size: 24px;
    }

    #contacto-workspace > .row > .col-md-12 {
        padding-right: 15px;
        padding-left: 15px;
    }

    #contacto-workspace .fumix-actions {
        text-align: center;
    }

    #contacto-workspace #llamada-form {
        padding: 20px 14px 12px;
    }

    #contacto-workspace #lista-horas .list-group-item {
        min-width: 50%;
    }
}

@media (max-width: 767px) {
    .fumix-header {
        min-height: 72px;
        padding: 10px 20px;
    }

    .fumix-header img {
        width: 125px;
    }

    .fumix-header__title {
        display: none;
    }

    .fumix-login-main {
        min-height: 0;
        padding: 34px 15px;
    }

    .fumix-login-main #title-filtro {
        margin-bottom: 22px;
        font-size: 28px;
    }

    .fumix-login-card {
        margin-right: 15px;
        margin-left: 15px;
        padding: 17px 22px 23px;
    }

    .fumix-footer__grid {
        flex-direction: column;
        text-align: center;
    }

    .fumix-footer__contact {
        text-align: center;
    }
}
