
    :root {
        --primary-blue: #0f4d96;
        --primary-yellow: #fdc210;
        --dark-blue: #0a3a6f;
        --light-yellow: #ffe28c;
        --white: #ffffff;
        --gray-light: #f5f7fa;
        --gray: #e2e8f0;
        --text-dark: #2d3748;
        --border-radius: 16px;
        --box-shadow: 0 20px 40px rgba(15, 77, 150, 0.12);
        --transition: all 0.25s ease;
    }
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}
.inline{
    display: inline !important;
}
.top-row{
    overflow: hidden;
}
.sidebar .navbar-brand img{
    margin-left: -35px;
}
a, .btn-link {
    color: #006bb7;
}

th.sortable {
    cursor: pointer;
    white-space: nowrap;
}

th.sortable:hover {
    background-color: rgba(0,0,0,0.05);
}

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

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
    overflow: auto;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*home*/
.admin-welcome-container {
    padding: 20px;
    background-color: #f8f9fc;
    min-height: calc(100vh - 60px);
}

.admin-header {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-content {
    flex: 1;
}

.page-title {
    color: #4e73df;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-title .bi {
    color: #4e73df;
}

.page-subtitle {
    color: #858796;
    font-size: 0.9rem;
    margin: 0;
}

.user-info-badge {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.user-role {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.welcome-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
}

.card-header h5 {
    color: #4e73df;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
}

.greeting-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e3e6f0;
}

.greeting {
    color: #5a5c69;
    font-weight: 600;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

    .stat-item:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
}

.stat-info {
    flex: 1;
}

.system-info {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 1.5rem;
}

.system-info h6 {
    color: #4e73df;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 3px solid #4e73df;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.info-item .bi {
    color: #4e73df;
    width: 20px;
}

.quick-actions {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.quick-actions h6 {
    color: #4e73df;
    font-weight: 600;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5a5c69;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: #4e73df;
    color: white;
    border-color: #4e73df;
    transform: translateY(-2px);
}

.action-btn .bi {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Colores para los iconos */
.bg-primary { background-color: #4e73df !important; }
.bg-success { background-color: #1cc88a !important; }
.bg-warning { background-color: #f6c23e !important; }
.bg-info { background-color: #36b9cc !important; }

th.sortable {
    cursor: pointer;
    user-select: none;
}

th.sortable:hover {
    background-color: #f1f1f1;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .user-info-badge {
        align-self: flex-start;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}
/* fin home */

/* login */
    .login-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 24px;
    }

    .login-card {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-width: 500px;
        width: 100%;
        display: flex;
        overflow: hidden;
        animation: slideUp 0.5s ease;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Lado izquierdo - Branding */
    .login-brand {
        background: linear-gradient(145deg, var(--primary-blue), #0a3a6f);
        padding: 48px 32px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .login-brand::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(253, 194, 16, 0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .brand-content {
        position: relative;
        z-index: 1;
        color: var(--white);
    }

    .brand-icon {
        background: var(--primary-yellow);
        width: 64px;
        height: 64px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 32px;
    }

    .brand-icon i {
        font-size: 36px;
        color: var(--primary-blue);
    }

    .brand-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .brand-description {
        font-size: 16px;
        line-height: 1.6;
        opacity: 0.95;
        margin-bottom: 32px;
    }

    .brand-features {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .brand-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        font-size: 15px;
    }

    .brand-features li i {
        color: var(--primary-yellow);
        font-size: 18px;
    }
    .login header{
        display: none;
        
    }
    .login  footer.footer { 
            padding: 10px;
        background: black;
        color: white !important;
        display: none;
    }
    .login{
        background: rgb(236, 236, 236);
            margin: 0;
    }
    .logologin{
            margin: auto;
    display: block;
    margin-bottom: 20px;
    }
    /* Lado derecho - Formulario */
    .login-form-container {
        flex: 1;
        padding: 48px 40px;
        background: var(--white);
        border: 1px solid #0f4d9645;
    border-radius: 20px;
    }

    .login-header {
        margin-bottom: 32px;
    }

    .login-header h1 {
        font-size: 28px;
        font-weight: 700;
        color: var(--primary-blue);
        margin: 0 0 8px 0;
    }

    .login-header p {
        color: #64748b;
        font-size: 15px;
        margin: 0;
    }

    .form-floating {
        margin-bottom: 20px;
        position: relative;
    }

    .form-floating .form-control {
        border: 2px solid var(--gray);
        border-radius: 12px;
        padding: 16px 16px 8px;
        height: auto;
        font-size: 15px;
        transition: var(--transition);
    }

    .form-floating .form-control:focus {
        border-color: var(--primary-yellow);
        box-shadow: 0 0 0 4px rgba(253, 194, 16, 0.1);
        outline: none;
    }

    .form-floating label {
        padding: 16px 16px 8px;
        color: #64748b;
        font-size: 14px;
    }

    .checkbox-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 24px 0;
    }

    .checkbox-custom {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        color: #4a5568;
        font-size: 14px;
    }

    .checkbox-custom input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--primary-yellow);
        cursor: pointer;
    }

    .forgot-link {
        color: var(--primary-blue);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: var(--transition);
    }

    .forgot-link:hover {
        color: var(--primary-yellow);
    }

    .btn-login {
        background: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: var(--transition);
        cursor: pointer;
    }

    .btn-login:hover {
        background: #0a3a6f;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(15, 77, 150, 0.2);
    }

    .btn-login i {
        font-size: 18px;
    }

    .register-section {
        margin-top: 28px;
        padding-top: 28px;
        border-top: 2px solid var(--gray-light);
        text-align: center;
    }

    .register-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: var(--transition);
        padding: 10px 20px;
        border-radius: 30px;
        background: rgba(15, 77, 150, 0.05);
    }

    .register-link:hover {
        background: var(--primary-yellow);
        color: var(--primary-blue);
    }

    .register-link i {
        font-size: 16px;
    }

    .additional-links {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 24px;
        font-size: 13px;
    }

    .additional-links a {
        color: #64748b;
        text-decoration: none;
        transition: var(--transition);
    }

    .additional-links a:hover {
        color: var(--primary-yellow);
    }

    /* External Login */
    .external-login {
        margin-top: 28px;
        text-align: center;
    }

    .divider {
        display: flex;
        align-items: center;
        color: #94a3b8;
        font-size: 13px;
        margin: 24px 0;
    }

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 2px;
        background: var(--gray-light);
    }

    .divider span {
        margin: 0 16px;
    }

    .btn-external {
        background: white;
        border: 2px solid var(--gray-light);
        border-radius: 12px;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: var(--transition);
        cursor: pointer;
        width: 100%;
        justify-content: center;
    }

    .btn-external:hover {
        border-color: var(--primary-yellow);
        background: rgba(253, 194, 16, 0.05);
    }

    .btn-external i {
        font-size: 18px;
        color: var(--primary-blue);
    }

    /* Validaciones */
    .validation-summary-errors,
    .text-danger {
        color: #dc2626;
        font-size: 13px;
        margin-top: 6px;
        display: block;
        list-style: none;
        padding: 0;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .login-card {
            flex-direction: column;
            max-width: 450px;
        }

        .login-brand {
            padding: 32px 24px;
        }

        .login-form-container {
            padding: 32px 24px;
        }

        .brand-title {
            font-size: 26px;
        }

        .checkbox-wrapper {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }

        .additional-links {
            flex-direction: column;
            gap: 12px;
            align-items: center;
        }
    }

    /* Loading state */
    .btn-login.loading {
        position: relative;
        color: transparent;
    }

    .btn-login.loading::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        border: 2px solid white;
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }
/* fin login*/
/*forgot*/
 .forgot-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 24px;
    }

    .forgot-card {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-width: 480px;
        width: 100%;
        padding: 48px 40px;
        animation: slideUp 0.5s ease;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .forgot-header {
        text-align: center;
        margin-bottom: 32px;
    }

    .forgot-header h1 {
        font-size: 28px;
        font-weight: 700;
        color: var(--primary-blue);
        margin: 0 0 8px 0;
    }

    .forgot-header p {
        color: #64748b;
        font-size: 15px;
        margin: 0;
    }

    .form-floating {
        margin-bottom: 24px;
        position: relative;
    }

    .form-floating .form-control {
        border: 2px solid var(--gray);
        border-radius: 12px;
        padding: 16px 16px 8px;
        height: auto;
        font-size: 15px;
        transition: var(--transition);
    }

    .form-floating .form-control:focus {
        border-color: var(--primary-yellow);
        box-shadow: 0 0 0 4px rgba(253, 194, 16, 0.1);
        outline: none;
    }

    .form-floating label {
        padding: 16px 16px 8px;
        color: #64748b;
        font-size: 14px;
    }

    .btn-reset {
        background: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: var(--transition);
        cursor: pointer;
    }

    .btn-reset:hover {
        background: #0a3a6f;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(15, 77, 150, 0.2);
    }

    .btn-reset i {
        font-size: 18px;
    }

    .back-link {
        margin-top: 24px;
        text-align: center;
    }

    .back-link a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: var(--transition);
        padding: 10px 20px;
        border-radius: 30px;
        background: rgba(15, 77, 150, 0.05);
    }

    .back-link a:hover {
        background: var(--primary-yellow);
        color: var(--primary-blue);
    }

    .back-link i {
        font-size: 14px;
    }

    .validation-summary-errors,
    .text-danger {
        color: #dc2626;
        font-size: 13px;
        margin-top: 6px;
        display: block;
        list-style: none;
        padding: 0;
    }

    @media (max-width: 768px) {
        .forgot-card {
            padding: 32px 24px;
        }
    }
/* fin forgot*/
/*register*/
.register-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 24px;
    }

    .register-card {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-width: 500px;
        width: 100%;
        display: flex;
        overflow: hidden;
        animation: slideUp 0.5s ease;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .register-brand {
        background: linear-gradient(145deg, var(--primary-blue), #0a3a6f);
        padding: 48px 32px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .register-brand::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(253, 194, 16, 0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .brand-content {
        position: relative;
        z-index: 1;
        color: var(--white);
    }

    .brand-icon {
        background: var(--primary-yellow);
        width: 64px;
        height: 64px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 32px;
    }

    .brand-icon i {
        font-size: 36px;
        color: var(--primary-blue);
    }

    .brand-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .brand-description {
        font-size: 16px;
        line-height: 1.6;
        opacity: 0.95;
        margin-bottom: 32px;
    }

    .brand-features {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .brand-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        font-size: 15px;
    }

    .brand-features li i {
        color: var(--primary-yellow);
        font-size: 18px;
    }

    .register-form-container {
        flex: 1;
        padding: 48px 40px;
        background: var(--white);
    }

    .register-header {
        margin-bottom: 32px;
    }

    .register-header h1 {
        font-size: 28px;
        font-weight: 700;
        color: var(--primary-blue);
        margin: 0 0 8px 0;
    }

    .register-header p {
        color: #64748b;
        font-size: 15px;
        margin: 0;
    }

    .form-floating {
        margin-bottom: 20px;
        position: relative;
    }

    .form-floating .form-control {
        border: 2px solid var(--gray);
        border-radius: 12px;
        padding: 16px 16px 8px;
        height: auto;
        font-size: 15px;
        transition: var(--transition);
    }

    .form-floating .form-control:focus {
        border-color: var(--primary-yellow);
        box-shadow: 0 0 0 4px rgba(253, 194, 16, 0.1);
        outline: none;
    }

    .form-floating label {
        padding: 16px 16px 8px;
        color: #64748b;
        font-size: 14px;
    }

    .btn-register {
        background: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: var(--transition);
        cursor: pointer;
        margin-top: 16px;
    }

    .btn-register:hover {
        background: #0a3a6f;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(15, 77, 150, 0.2);
    }

    .btn-register i {
        font-size: 18px;
    }

    .login-link {
        margin-top: 28px;
        text-align: center;
        padding-top: 28px;
        border-top: 2px solid var(--gray-light);
    }

    .login-link a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: var(--transition);
        padding: 10px 20px;
        border-radius: 30px;
        background: rgba(15, 77, 150, 0.05);
    }

    .login-link a:hover {
        background: var(--primary-yellow);
        color: var(--primary-blue);
    }

    .login-link i {
        font-size: 16px;
    }

    .external-login {
        margin-top: 28px;
        text-align: center;
    }

    .divider {
        display: flex;
        align-items: center;
        color: #94a3b8;
        font-size: 13px;
        margin: 24px 0;
    }

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 2px;
        background: var(--gray-light);
    }

    .divider span {
        margin: 0 16px;
    }

    .btn-external {
        background: white;
        border: 2px solid var(--gray-light);
        border-radius: 12px;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: var(--transition);
        cursor: pointer;
        width: 100%;
        justify-content: center;
    }

    .btn-external:hover {
        border-color: var(--primary-yellow);
        background: rgba(253, 194, 16, 0.05);
    }

    .btn-external i {
        font-size: 18px;
        color: var(--primary-blue);
    }

    .validation-summary-errors,
    .text-danger {
        color: #dc2626;
        font-size: 13px;
        margin-top: 6px;
        display: block;
        list-style: none;
        padding: 0;
    }

    @media (max-width: 768px) {
        .register-card {
            flex-direction: column;
            max-width: 450px;
        }

        .register-brand {
            padding: 32px 24px;
        }

        .register-form-container {
            padding: 32px 24px;
        }

        .brand-title {
            font-size: 26px;
        }
    }
/*fin register*/
/*reenviaremail*/
.resend-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 24px;
    }

    .resend-card {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-width: 480px;
        width: 100%;
        padding: 48px 40px;
        animation: slideUp 0.5s ease;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .resend-header {
        text-align: center;
        margin-bottom: 32px;
    }

    .resend-header h1 {
        font-size: 28px;
        font-weight: 700;
        color: var(--primary-blue);
        margin: 0 0 8px 0;
    }

    .resend-header p {
        color: #64748b;
        font-size: 15px;
        margin: 0;
    }

    .form-floating {
        margin-bottom: 24px;
        position: relative;
    }

    .form-floating .form-control {
        border: 2px solid var(--gray);
        border-radius: 12px;
        padding: 16px 16px 8px;
        height: auto;
        font-size: 15px;
        transition: var(--transition);
    }

    .form-floating .form-control:focus {
        border-color: var(--primary-yellow);
        box-shadow: 0 0 0 4px rgba(253, 194, 16, 0.1);
        outline: none;
    }

    .form-floating label {
        padding: 16px 16px 8px;
        color: #64748b;
        font-size: 14px;
    }

    .btn-resend {
        background: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: var(--transition);
        cursor: pointer;
    }

    .btn-resend:hover {
        background: #0a3a6f;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(15, 77, 150, 0.2);
    }

    .btn-resend i {
        font-size: 18px;
    }

    .back-link {
        margin-top: 28px;
        text-align: center;
        padding-top: 28px;
        border-top: 2px solid var(--gray-light);
    }

    .back-link a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 500;
        font-size: 15px;
        transition: var(--transition);
        padding: 10px 20px;
        border-radius: 30px;
        background: rgba(15, 77, 150, 0.05);
    }

    .back-link a:hover {
        background: var(--primary-yellow);
        color: var(--primary-blue);
    }

    .back-link i {
        font-size: 16px;
    }

    .validation-summary-errors,
    .text-danger {
        color: #dc2626;
        font-size: 13px;
        margin-top: 6px;
        display: block;
        list-style: none;
        padding: 0;
    }

    @media (max-width: 768px) {
        .resend-card {
            padding: 32px 24px;
        }
    }
/* fin reenviaremail*/
/* reset email*/
.reset-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 24px;
    }

    .reset-card {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-width: 480px;
        width: 100%;
        padding: 48px 40px;
        animation: slideUp 0.5s ease;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .reset-header {
        text-align: center;
        margin-bottom: 32px;
    }

    .reset-header h1 {
        font-size: 28px;
        font-weight: 700;
        color: var(--primary-blue);
        margin: 0 0 8px 0;
    }

    .reset-header p {
        color: #64748b;
        font-size: 15px;
        margin: 0;
    }

    .form-floating {
        margin-bottom: 20px;
        position: relative;
    }

    .form-floating .form-control {
        border: 2px solid var(--gray);
        border-radius: 12px;
        padding: 16px 16px 8px;
        height: auto;
        font-size: 15px;
        transition: var(--transition);
    }

    .form-floating .form-control:focus {
        border-color: var(--primary-yellow);
        box-shadow: 0 0 0 4px rgba(253, 194, 16, 0.1);
        outline: none;
    }

    .form-floating label {
        padding: 16px 16px 8px;
        color: #64748b;
        font-size: 14px;
    }

    .btn-reset {
        background: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: var(--transition);
        cursor: pointer;
        margin-top: 16px;
    }

    .btn-reset:hover {
        background: #0a3a6f;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(15, 77, 150, 0.2);
    }

    .btn-reset i {
        font-size: 18px;
    }

    .back-link {
        margin-top: 28px;
        text-align: center;
        padding-top: 28px;
        border-top: 2px solid var(--gray-light);
    }

    .back-link a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 500;
        font-size: 15px;
        transition: var(--transition);
        padding: 10px 20px;
        border-radius: 30px;
        background: rgba(15, 77, 150, 0.05);
    }

    .back-link a:hover {
        background: var(--primary-yellow);
        color: var(--primary-blue);
    }

    .back-link i {
        font-size: 16px;
    }

    .validation-summary-errors,
    .text-danger {
        color: #dc2626;
        font-size: 13px;
        margin-top: 6px;
        display: block;
        list-style: none;
        padding: 0;
    }

    @media (max-width: 768px) {
        .reset-card {
            padding: 32px 24px;
        }
    }
/* fin reset email*/

/*accesdenied*/
/* accessdenied */
.accessdenied-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 91vh;
    padding: 24px; 
}

.accessdenied-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 500px;
    width: 100%;
    padding: 48px 40px;
    animation: slideUp 0.5s ease;
    text-align: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accessdenied-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

.accessdenied-icon i {
    font-size: 48px;
    color: white;
}

.accessdenied-header {
    margin-bottom: 32px;
}

.accessdenied-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #dc2626;
    margin: 0 0 8px 0;
}

.accessdenied-header .subtitle {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

.accessdenied-content {
    margin-bottom: 32px;
}

.alert-message {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-align: left;
}

.alert-message i {
    font-size: 24px;
    color: #dc2626;
}

.alert-message span {
    color: #4a5568;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.help-text {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-home, .btn-login {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-home {
    background: var(--gray-light);
    color: var(--primary-blue);
    border: 2px solid var(--gray);
}

.btn-home:hover {
    background: var(--gray);
    transform: translateY(-2px);
}

.btn-login {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.btn-login:hover {
    background: #0a3a6f;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 77, 150, 0.2);
}

.logout-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--gray-light);
}

.divider {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
    margin: 0 0 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--gray-light);
}

.divider span {
    margin: 0 16px;
}

.btn-logout {
    background: white;
    border: 2px solid #dc2626;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    width: 100%;
}

.btn-logout:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.2);
}

.btn-logout i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .accessdenied-card {
        padding: 32px 24px;
    }
    .table-responsive + div, .table-responsive table + div{
        display: inline !important;
    }
    .header-content.d-flex{
        display: inline !important;
    }
   .navbar .toggle-icons-btn{
    display: none !important;
    }
    .accessdenied-icon {
        width: 80px;
        height: 80px;
    }

    .accessdenied-icon i {
        font-size: 38px;
    }

    .accessdenied-header h1 {
        font-size: 26px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .alert-message {
        flex-direction: column;
        text-align: center;
    } 
}

@media (max-width: 576px) {
    .accessdenied-card {
        padding: 24px 20px;
    }
}
/* ==========================================================================
   ESTILOS COMPLEMENTARIOS - ONVALIDATION LPR
   ========================================================================== */

/* Dashbord Home - Grid 3x2 */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.stat-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow);
    }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Detalle Estaci�n / Monitor LPR */
.pulse-red {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.bg-black {
    background-color: #000 !important;
}

/* Utilidades de Tabla */
.table-responsive {
    scrollbar-width: thin;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Colores de Sub-tonos para cards (Compatibles con Bootstrap 5) */
.bg-primary-subtle {
    background-color: rgba(15, 77, 150, 0.1) !important;
}

.bg-success-subtle {
    background-color: rgba(28, 200, 138, 0.1) !important;
}

.bg-info-subtle {
    background-color: rgba(54, 185, 204, 0.1) !important;
}

.bg-danger-subtle {
    background-color: rgba(220, 38, 38, 0.1) !important;
}

/* Botones extra peque�os para acciones en grid */
.btn-xxs {
    padding: 1px 5px;
    font-size: 0.65rem;
    border-radius: 4px;
}

/* Ajustes de Modales de Imagen */
.modal-lg img {
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Responsive para el Grid del Home */
@media (max-width: 992px) {
    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .quick-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 15px;
    }
}
