/* ============================================
   ESTILOS GLOBALES - LUVA PERSONALIZADOS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    color: #4a148c;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   ESTRUCTURA PRINCIPAL
   ============================================ */

#wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

#content-wrapper {
    background-color: #f8f9fc;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: margin-left 0.3s ease;
}

#content {
    flex: 1 0 auto;
    width: 100%;
    padding: 0;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    width: 224px;
    min-height: 100vh;
    height: 100vh;
    background: linear-gradient(180deg, #F48FB1 0%, #EC407A 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: width 0.3s ease, margin 0.3s ease;
}

.sidebar.toggled {
    width: 0;
    overflow: hidden;
    margin-left: -224px;
}

.sidebar .nav-item {
    margin: 0;
    list-style: none;
    width: 100%;
    display: block;
}

.sidebar .nav-link {
    color: white;
    padding: 0.75rem 1rem;
    margin: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    border-left: 3px solid transparent;
    width: 100%;
}

.sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: white;
    border-left-color: white;
}

.sidebar .nav-item.active .nav-link,
.sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.25);
    border-left: 4px solid white;
    color: white;
    font-weight: 600;
}

.sidebar .nav-link i {
    color: rgba(255,255,255,0.9);
    width: 1.5rem;
    text-align: center;
    font-size: 1rem;
}

.sidebar .nav-link:hover i,
.sidebar .nav-item.active .nav-link i,
.sidebar .nav-link.active i {
    color: white;
}

.sidebar .nav-link span {
    flex: 1;
    white-space: nowrap;
}

.sidebar-brand {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-brand-icon img {
    max-height: 70px;
    width: auto;
    border-radius: 8px;
}

.sidebar-divider {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 1rem 0;
}

#sidebarToggle {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem auto;
}

#sidebarToggle:hover {
    background-color: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* ============================================
   TOPBAR
   ============================================ */

.topbar {
    background: linear-gradient(135deg, #CE93D8 0%, #AB47BC 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 56px;
    width: 100%;
    position: relative;
    z-index: 999;
}

.topbar .navbar {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

.topbar .navbar .d-none.d-sm-inline-block {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.topbar .navbar-nav {
    flex-direction: row;
    align-items: center;
    margin-left: auto !important;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.topbar .navbar-nav .nav-link {
    color: white;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar .navbar-nav .nav-link:hover {
    color: rgba(255,255,255,0.8);
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.topbar .navbar-nav .nav-link i {
    color: white;
    font-size: 1.1rem;
}

.topbar .navbar-nav .nav-link .fa-user-circle {
    font-size: 2rem;
}

.topbar .btn-link {
    color: white;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.topbar .btn-link:hover {
    color: rgba(255,255,255,0.8);
    background-color: rgba(255,255,255,0.1);
}

/* ============================================
   FOOTER
   ============================================ */

.sticky-footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, #8B5A9F 0%, #AB47BC 100%);
    color: white;
    padding: 1rem 0;
    width: 100%;
    margin-top: auto;
}

.sticky-footer .container {
    max-width: 100%;
    padding: 0 1.5rem;
}

.sticky-footer .copyright {
    font-size: 0.875rem;
    margin: 0;
    text-align: center;
}

.sticky-footer .copyright strong {
    font-weight: 600;
    letter-spacing: 1px;
}

/* ============================================
   CONTENEDORES
   ============================================ */

.container {
    width: 100%;
    padding: 20px;
    max-width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 1.5rem;
    max-width: 100%;
}

/* ============================================
   SISTEMA DE GRID (ROW/COL)
   ============================================ */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row.no-gutters {
    margin-left: 0;
    margin-right: 0;
}

.row.no-gutters > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

[class*="col-"] {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    flex: 1 0 0%;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; width: 100%; }

/* Responsive - Small devices (tablets, 576px and up) */
@media (min-width: 576px) {
    .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; width: 8.333333%; }
    .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; width: 16.666667%; }
    .col-sm-3 { flex: 0 0 25%; max-width: 25%; width: 25%; }
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; width: 33.333333%; }
    .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; width: 41.666667%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; width: 50%; }
    .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; width: 58.333333%; }
    .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; width: 66.666667%; }
    .col-sm-9 { flex: 0 0 75%; max-width: 75%; width: 75%; }
    .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; width: 83.333333%; }
    .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; width: 91.666667%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; width: 100%; }
}

/* Responsive - Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; width: 8.333333%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; width: 16.666667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; width: 33.333333%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; width: 41.666667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; width: 50%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; width: 58.333333%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; width: 66.666667%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; width: 75%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; width: 83.333333%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; width: 91.666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; width: 100%; }
}

/* Responsive - Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; width: 8.333333%; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; width: 16.666667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; width: 50%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; width: 58.333333%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; width: 66.666667%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; width: 75%; }
    .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; width: 83.333333%; }
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; width: 91.666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; width: 100%; }
}

/* Responsive - Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .col-xl-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; width: 8.333333% !important; }
    .col-xl-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; width: 16.666667% !important; }
    .col-xl-3 { flex: 0 0 25% !important; max-width: 25% !important; width: 25% !important; }
    .col-xl-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; width: 33.333333% !important; }
    .col-xl-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; width: 41.666667% !important; }
    .col-xl-6 { flex: 0 0 50% !important; max-width: 50% !important; width: 50% !important; }
    .col-xl-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; width: 58.333333% !important; }
    .col-xl-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; width: 66.666667% !important; }
    .col-xl-9 { flex: 0 0 75% !important; max-width: 75% !important; width: 75% !important; }
    .col-xl-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; width: 83.333333% !important; }
    .col-xl-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; width: 91.666667% !important; }
    .col-xl-12 { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
}

/* Utilidades adicionales para cards en grid */
.border-left-primary { border-left: 4px solid #8B5A9F !important; }
.border-left-warning { border-left: 4px solid #f39c12 !important; }
.border-left-success { border-left: 4px solid #28a745 !important; }
.border-left-info { border-left: 4px solid #17a2b8 !important; }
.border-left-danger { border-left: 4px solid #dc3545 !important; }

.shadow {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.h-100 {
    height: 100% !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.text-xs {
    font-size: 0.75rem !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.align-items-center {
    align-items: center !important;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-header {
    border-bottom: 2px solid #EC407A;
    padding-bottom: 15px;
    margin-bottom: 20px;
    background: transparent;
}

.card-header h2 {
    color: #8B5A9F;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 1rem;
}

.card-body .h5 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

/* ============================================
   BOTONES
   ============================================ */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5A9F 0%, #AB47BC 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #AB47BC 0%, #8B5A9F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 90, 159, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    transform: translateY(-2px);
}

.btn-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px);
}

/* ============================================
   UTILIDADES
   ============================================ */

.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.w-100 {
    width: 100% !important;
}

.text-center {
    text-align: center !important;
}

.text-white {
    color: white !important;
}

.h3 {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
}

/* ============================================
   DROPDOWN
   ============================================ */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.875rem;
    color: #858796;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #3a3b45;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: white;
    text-decoration: none;
    background-color: #F48FB1;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.no-arrow::after {
    display: none;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #F48FB1 0%, #EC407A 100%);
    line-height: 46px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #EC407A 0%, #F48FB1 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 769px) {
    #content-wrapper {
        margin-left: 224px;
        width: calc(100% - 224px);
    }
    
    body.sidebar-toggled #content-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .d-none {
        display: none !important;
    }
    
    .d-md-none {
        display: none !important;
    }
    
    .d-sm-inline-block {
        display: inline-block !important;
    }
    
    .d-none.d-md-block {
        display: block !important;
    }
}

@media (max-width: 768px) {
    #content-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar {
        width: 0;
        overflow: hidden;
        margin-left: -224px;
    }
    
    .sidebar.toggled {
        width: 224px;
        margin-left: 0;
    }
    
    .container {
        padding: 10px;
    }
    
    .container-fluid {
        padding: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card-header h2 {
        font-size: 20px;
    }
}

/* ============================================
   TABLAS
   ============================================ */

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: linear-gradient(135deg, #CE93D8 0%, #AB47BC 100%);
    color: white;
}

table thead th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

table tbody tr:hover {
    background-color: #f8f9fc;
}

table tbody td {
    padding: 12px;
}

/* ============================================
   FORMULARIOS
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #4a148c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #AB47BC;
    box-shadow: 0 0 0 3px rgba(171, 71, 188, 0.1);
}

/* ============================================
   ESTADOS Y BADGES
   ============================================ */

.estado-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.estado-badge.estado-pendiente {
    background: #fff3cd;
    color: #856404;
}

.estado-badge.estado-aceptado {
    background: #d1ecf1;
    color: #0c5460;
}

.estado-badge.estado-enviado {
    background: #d4edda;
    color: #155724;
}

.estado-badge.estado-completado {
    background: #d1ecf1;
    color: #0c5460;
}

.estado-badge.estado-activo {
    background: #d4edda;
    color: #155724;
}

.estado-badge.estado-inactivo {
    background: #f8d7da;
    color: #721c24;
}

/* ============================================
   INDICADOR DE COMPLEJIDAD DE CONTRASEÑA
   ============================================ */

.password-strength-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
}

.password-strength-text {
    display: block;
    margin-top: 5px;
    font-weight: 600;
    font-size: 0.875rem;
}

.password-match-message {
    display: block;
    margin-top: 5px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ============================================
   BOTONES SOLO CON ICONOS EN DATATABLES
   ============================================ */

.actions .btn {
    min-width: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.actions .btn i {
    margin: 0;
}

.actions .btn:not(:last-child) {
    margin-right: 5px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumb {
    background: transparent;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #8B5A9F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #AB47BC;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item.active a {
    color: #6c757d;
    pointer-events: none;
    cursor: default;
}

.breadcrumb-item i {
    margin-right: 0.25rem;
    font-size: 0.75rem;
}

/* ============================================
   BARRA DE PROGRESO DE ESTADOS
   ============================================ */

.progress-bar {
    padding: 20px;
    background: #f8f9fc;
    border-radius: 8px;
    margin: 20px 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
}

.progress-step {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    text-align: center;
    background: #e0e0e0;
    color: #666;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
}

.progress-step.completed {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.progress-step.active {
    background: linear-gradient(135deg, #8B5A9F 0%, #AB47BC 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 90, 159, 0.4);
    font-weight: 600;
    transform: scale(1.05);
}

.progress-step.clickable-state {
    background: #f5f5f5;
    color: #8B5A9F;
    border: 2px solid #8B5A9F;
    cursor: pointer;
}

.progress-step.clickable-state:hover {
    background: linear-gradient(135deg, #CE93D8 0%, #AB47BC 100%);
    color: white;
    border-color: #AB47BC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 90, 159, 0.3);
}

.progress-step.clickable-state:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(139, 90, 159, 0.3);
}

@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
    }
    
    .progress-step {
        width: 100%;
        min-width: auto;
    }
}
