/* h1 */
@font-face {
    font-family: 'Poppins1';
    src: url('/assets/fuentes/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* h2, h3, h4, h5, h6 */
@font-face {
    font-family: 'subtitle';
    src: url('/assets/fuentes/ManropeBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Texto body / descripción */
@font-face {
    font-family: 'DMSans';
    src: url('/assets/fuentes/DMSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DMSans';
    src: url('/assets/fuentes/ManropeBold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DMSans';
    src: url('/assets/fuentes/ManropeBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DMSans';
    src: url('/assets/fuentes/ManropeBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



:root {
    --color-primary: #024ddf;
    --color-secondary: #ff8728;
    --color-green: #22bf46;
    --color-red: #fa1b1b;
    --color-light: #f8f9fa;
    --color-dark: #343a40;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --color-cards: #f3f3f3;
    --color-black: black;

    --color-title: black;
    --color-subtitle: black;
    --color-text: black;
    --color-textt: #5C5E63;
    --color-text-light: #484848;

    --border-radius-btn: 25px;
    --border-radius-field: 10px;
    --border-radius-cards: 20px;
    --border-radius-cards-m: 20px;
    --border-radius-cards-s: 15px;

    --hover-primary: #1f45b0;
    --hover-red: #d91818;
    --hover-secondary: #e56d1a;
    --hover-green: #1b9b3a;
    --hover-black: #333333;

    --sidebar-bg: #ffffff;
    --sidebar-hover-bg: #f8f9fa;
    --sidebar-active-bg: #024ddf;
    --sidebar-text: #000000;
    --sidebar-text-hover: #024ddf;
    --sidebar-width: 260px;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--color-white);
    color: var(--color-text);
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 15px 18px;
    border-radius: var(--border-radius-btn);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    border: none;
    font-family: "subtitle";
}

.btn-primary {
    color: #fff;
    background-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--hover-primary);
}

.btn-secondary {
    background-color: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border: 1px solid white;
}

.btn-tertiary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-tertiary:hover {
    background-color: var(--hover-black);
}


.tarjeta-actions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-cards);
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.input,
.select,
.textarea {
    padding: 10px 12px;
    border-radius: var(--border-radius-field);
    border: 1px solid var(--color-border);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.alert {
    padding: 12px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 15px;
}

.alert-success {
    color: var(--color-green);
    background-color: #fff;
    border: 1px solid var(--color-green);
}

.alert-danger {
    color: var(--color-red);
    background-color: #fff;
    border: 1px solid var(--color-red);
}

.alert-warning {
    color: var(--color-secondary);
    background-color: #fff;
    border: 1px solid var(--color-secondary);
}

.alert-error {
    color: var(--color-secondary);
    background-color: #fff;
    border: 1px solid var(--color-secondary);
}

.alert-info {
    color: var(--color-title);
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-cards);
}


.swal2-container.swal2-center > .swal2-popup {
    font-family: "subtitle";
    border-radius: 25px;
}

.swal2-title {
    color: var(--color-title);
}

.swal2-confirm {
    background-color: var(--color-primary) !important;
    border-radius: 25px;
}

.swal2-confirm:hover {
    background-color: var(--hover-primary) !important;
}

.swal2-deny {
    background-color: var(--color-white) !important;
    color: var(--color-title);
    border: 1px solid var(--color-border)!important;
    border-radius: 25px;
}

.swal2-deny:hover {
    background-color: var(--hover-light) !important;
}

.swal2-cancel {
    background-color: var(--color-white) !important;
    color: var(--color-title);
    border: 1px solid var(--color-border)!important;
    border-radius: 25px;
}

.swal2-cancel:hover {
    background-color: var(--hover-light) !important;
}

.texto-descripcion {
    font-family: 'DMSans', sans-serif;
    color: #737373;
    line-height: 1.625;
    font-size: 1rem;
}

.texto-descripcion p {
    margin-bottom: 15px;
}

.texto-descripcion strong,
.texto-descripcion b {
    font-weight: 700;
}

.texto-descripcion em,
.texto-descripcion i {
    font-style: italic;
}

.texto-descripcion a {
    color: #024ddf;
    text-decoration: underline;
}

.texto-descripcion a:hover {
    color: #0240b0;
}

.texto-descripcion ul,
.texto-descripcion ol {
    padding-left: 1.5rem;
    margin-bottom: 15px;
}

.texto-descripcion ul {
    list-style: disc;
}

.texto-descripcion ol {
    list-style: decimal;
}

.texto-descripcion h1,
.texto-descripcion h2,
.texto-descripcion h3,
.texto-descripcion h4 {
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
}

@media (max-width: 768px) {
    .texto-descripcion {
        font-size: .875rem;
    }
}
