@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap");

body,
button,
input,
select,
textarea {
    font-family: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    font-size: 12px;
}

#page-wrapper {
    padding-bottom: 60px;
}

.datepicker,
.datepicker-dropdown {
    z-index: 2055 !important;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 23px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 15px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 11px;
}

body.skin-1 .wrapper-content {
    position: relative;
}

body.skin-1 .wrapper-content::before {
    content: none;
}

body.skin-1 .wrapper-content > * {
    position: relative;
    z-index: 1;
}

.codweb-logo {
    height: 18px;
    vertical-align: middle;
}

.codweb-footer-brand {
    display: inline-block;
    margin: 0 4px;
}

.login-codweb-rights {
    margin-top: 20px;
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.4;
}

.login-codweb-rights .codweb-logo {
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
}

body.gray-bg .loginscreen {
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

body.gray-bg .middle-box {
    max-width: 900px;
}

body.gray-bg .loginscreen.middle-box {
    width: 720px;
    max-width: 90vw;
}

body.gray-bg .loginscreen > div {
    width: 100%;
    max-width: 920px;
}

body.gray-bg .loginscreen .login-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
    background: #ffffff;
    padding: 40px 48px;
    border-radius: 20px;
    border: 1px solid #e6e8ee;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

body.gray-bg .loginscreen .login-brand {
    text-align: left;
}

body.gray-bg .loginscreen .login-brand img {
    max-width: 240px;
    height: auto;
    margin-bottom: 14px;
}

body.gray-bg .loginscreen .login-brand h3 {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

body.gray-bg .loginscreen .login-brand p {
    color: #667085;
    margin-bottom: 18px;
}

body.gray-bg .loginscreen .login-form {
    text-align: left;
}

body.gray-bg .loginscreen .login-form form {
    text-align: left;
}

body.gray-bg .loginscreen .form-control {
    border-radius: 8px;
    height: 44px;
    border: 1px solid #dfe3ea;
    box-shadow: none;
}

body.gray-bg .loginscreen .btn-success {
    border-radius: 8px;
    height: 44px;
    font-weight: 600;
}

body.gray-bg .loginscreen .login-form .form-group {
    margin-bottom: 14px;
}

body.gray-bg .loginscreen .login-form a small {
    color: #475467;
}

body.gray-bg .login-codweb-rights {
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 768px) {
    body.gray-bg .loginscreen .login-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

table.dataTable {
    width: 100% !important;
}

table.dataTable thead th,
table.dataTable thead td {
    width: auto !important;
}

.dataTables_wrapper {
    width: 100%;
}

.dashboard-v2 {
    background: #f6f7f9;
}

.dashboard-hero {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 18px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    margin-bottom: 20px;
}

.hero-kicker {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #8a97a3;
}

.hero-title {
    margin: 8px 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #1c1c1c;
}

.hero-subtitle {
    margin: 0;
    color: #6b7a84;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.hero-actions .btn {
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
}

.dash-kpis {
    margin-bottom: 10px;
}

.dash-kpi {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 16px;
    padding: 16px 16px 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    position: relative;
    min-height: 120px;
}

.dash-kpi::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: #1c84c6;
}

.kpi-entrada::before {
    background: #1c84c6;
}

.kpi-salida::before {
    background: #f2c94c;
}

.kpi-internos::before {
    background: #23c6c8;
}

.kpi-pqrs::before {
    background: #ed5565;
}

.kpi-vobo::before {
    background: #4da6ff;
}

.kpi-facturas::before {
    background: #8a97a3;
}

.kpi-title {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #8a97a3;
}

.kpi-value {
    font-size: 28px;
    font-weight: 700;
    margin: 12px 0 4px;
    color: #1c1c1c;
}

.kpi-meta {
    font-size: 12px;
    color: #6b7a84;
}

.kpi-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #1c84c6;
}

.dash-panel {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 18px;
    padding: 18px 20px 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
}

.dash-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.dash-panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1c;
}

.dash-panel-sub {
    font-size: 12px;
    color: #8a97a3;
}

.dash-info-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f4;
}

.dash-info-item:last-child {
    border-bottom: none;
}

.dash-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c84c6;
    font-size: 16px;
}

.dash-info-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #1c1c1c;
}

.dash-info-text {
    margin: 0;
    color: #6b7a84;
    font-size: 13px;
    line-height: 1.5;
}

.dashboard-alert {
    margin-top: 14px;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
}

.doc-page {
    background: #f6f7f9;
}

.doc-hero {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.doc-hero-kicker {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #8a97a3;
}

.doc-hero-title {
    margin: 8px 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #1c1c1c;
}

.doc-hero-subtitle {
    margin: 0;
    color: #6b7a84;
    font-size: 14px;
}

.doc-section {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
}

.doc-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eef1f4;
    padding-bottom: 10px;
    margin-bottom: 16px;
    color: #1c1c1c;
}

.doc-section-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.doc-group-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1c1c1c;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.doc-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #f8fafc;
}

.doc-list-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475467;
}

.doc-video-card {
    border: 1px solid #e6e8eb;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.doc-video-title {
    padding: 10px 12px;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    color: #1c1c1c;
    border-bottom: 1px solid #eef1f4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-video-body {
    padding: 12px;
}

.doc-footer {
    margin-top: 24px;
}

.doc-footer-card {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 18px;
    padding: 18px 20px;
    color: #475467;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.doc-footer-card h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1c;
}

.ibox {
    border-radius: 16px;
    border: 1px solid #e6e8eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    background: #ffffff;
}

.ibox-title {
    border-bottom: 1px solid #eef1f4;
    border-radius: 16px 16px 0 0;
    padding: 14px 16px;
}

.ibox-title:not(.navy-bg):not(.yellow-bg):not(.lazur-bg):not(.red-bg):not(.blue-bg):not(.gray-bg) {
    background: #f8fafc;
}

.ibox-title h5 {
    font-weight: 700;
    color: #1c1c1c;
}

.ibox-content {
    background: #ffffff;
    padding: 16px;
    border-radius: 0 0 16px 16px;
}

@media (max-width: 991px) {
    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}
