.it-page {
    padding: 1.5rem 0 2.5rem;
}

.it-page .it-card {
    background: #fff;
    border: 0.0625rem solid #dfe3e8;
    border-radius: 0.875rem;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.06);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.it-page .it-title {
    margin-bottom: 0.375rem;
}

.it-page .it-muted {
    color: #6b7280;
    font-size: 0.875rem;
}

.it-page .it-status-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 62.4375rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.it-page .status-nuevo {
    background: #2563eb;
    color: #fff;
}

.it-page .status-proceso {
    background: #facc15;
    color: #111827;
}

.it-page .status-resuelto {
    background: #16a34a;
    color: #fff;
}

.it-page .status-cerrado {
    background: #111827;
    color: #fff;
}

.it-page .status-cancelado {
    background: #dc2626;
    color: #fff;
}

.it-page .it-ticket-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.it-page .it-action-save,
.it-page .it-action-comment {
    border: 0;
    border-radius: 62.4375rem;
    padding: 0.4375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
}

.it-page .it-action-save {
    background: #0f766e;
    color: #fff;
}

.it-page .it-action-save:hover {
    background: #115e59;
}

.it-page .it-action-save i {
    margin-right: 0.375rem;
}

.it-page .it-action-comment {
    background: #f59e0b;
    color: #111827;
}

.it-page .it-status-select {
    min-width: 9.0625rem;
    border-radius: 62.4375rem;
    font-weight: 700;
}

.it-page .it-status-select.status-nuevo {
    background: #2563eb;
    color: #fff;
}

.it-page .it-status-select.status-proceso {
    background: #facc15;
    color: #111827;
}

.it-page .it-status-select.status-resuelto {
    background: #16a34a;
    color: #fff;
}

.it-page .it-status-select.status-cerrado {
    background: #111827;
    color: #fff;
}

.it-page .it-status-select.status-cancelado {
    background: #dc2626;
    color: #fff;
}

.it-page .table td,
.it-page .table th {
    vertical-align: middle;
}

.it-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.it-view-ticket-btn {
    position: relative;
}

.it-eye-notice {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    min-width: 1.125rem;
    height: 1.125rem;
    border-radius: 62.4375rem;
    background: #dc2626;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0.375rem 0.875rem rgba(220, 38, 38, 0.28);
}

.it-ticket-link {
    position: relative;
    display: inline-block;
}

.it-ticket-image-badge {
    position: absolute;
    top: -0.375rem;
    right: -0.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 62.4375rem;
    background: #dc2626;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 0.375rem 1.125rem rgba(220, 38, 38, 0.35);
    transition: transform 0.3s ease; /*la fucking animacion y abajo*/
}
.it-ticket-link:hover .it-ticket-image-badge {
    transform: translateY(-20px);
}

.ticket-status-home-alert {
    max-width: 32.5rem;
    margin: 0 auto 1.5rem;
    border: 0;
    border-radius: 1.125rem;
    background: #fff4ce;
    color: #7c5400;
    box-shadow: 0 0.625rem 1.875rem rgba(124, 84, 0, 0.12);
}

.it-pagination {
    display: flex;
    justify-content: center;
}

.it-pagination-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.it-page-btn {
    border: 0.0625rem solid #d1d5db;
    background: #fff;
    color: #111827;
    border-radius: 62.4375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
}

.it-page-btn.active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.it-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 61.9375rem) {
    .it-page {
        padding: 1.25rem 0 2rem;
    }

    .it-page .it-card {
        padding: 1rem;
    }

    .it-page .it-toolbar {
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .it-page .it-toolbar > * {
        width: 100%;
    }

    .it-page .table {
        min-width: 46rem;
    }

    .it-page .it-ticket-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 47.9375rem) {
    .it-page .it-title {
        font-size: 1.5rem;
    }

    .it-page .it-card {
        border-radius: 0.75rem;
        padding: 0.875rem;
    }

    .it-page .it-toolbar .form-group,
    .it-page #it-ticket-form .form-group,
    .it-page #it-ticket-form .btn {
        width: 100%;
    }

    .it-page .it-status-select {
        min-width: 100%;
    }

    .it-page .it-action-save,
    .it-page .it-action-comment,
    .it-page .it-view-ticket-btn {
        width: 100%;
        justify-content: center;
    }

    .it-page .it-pagination-inner {
        justify-content: center;
    }

    .it-page .table {
        min-width: 40rem;
        font-size: 0.8125rem;
    }

    .it-page .it-ticket-image-badge {
        min-width: 1.375rem;
        height: 1.375rem;
        font-size: 0.6875rem;
    }

}
