.lrerp-wrapper{
    max-width:960px;
    margin:30px auto;
    background:#f4f8fc;
    border:1px solid #d8e5f1;
    border-radius:6px;
    padding:25px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    font-family:Arial,Helvetica,sans-serif;
}

.lrerp-wrapper-V2{
    max-width:700px;
    margin:30px auto;
    background:#f4f8fc;
    border:1px solid #d8e5f1;
    border-radius:6px;
    padding:15px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    font-family:Arial,Helvetica,sans-serif;
}

.lrerp-wrapper h1{
    margin:0 0 10px;
    color:#0d4ea6;
}

.lrerp-wrapper h2{
    margin:0 0 15px;
}

.lrerp-wrapper hr{
    border:none;
    border-top:1px solid #e6eef6;
    margin:25px 0;
}

.lrerp-wrapper label{
    display:block;
    font-weight:600;
    font-size:13px;
    margin-bottom:6px;
    color:#444;
}

.lrerp-wrapper input,
.lrerp-wrapper select,
.lrerp-wrapper textarea{
    width:100%;
    padding:10px;
    border:1px solid #cfdceb;
    border-radius:4px;
    box-sizing:border-box;
    font-size:14px;
    background:#fff;
}

.lrerp-wrapper textarea{
    min-height:110px;
    resize:vertical;
}

.lrerp-wrapper input:focus,
.lrerp-wrapper select:focus,
.lrerp-wrapper textarea:focus{
    outline:none;
    border-color:#0d6efd;
}

.lrerp-wrapper button,
.lrerp-wrapper input[type=submit]{
    background:#0d6efd;
    color:#fff;
    border:none;
    border-radius:4px;
    padding:14px;
    width:100%;
    font-size:15px;
    font-weight:bold;
    cursor:pointer;
}

.lrerp-wrapper fieldset{
    border:1px solid #dbe7f3;
    border-radius:6px;
    margin-bottom:25px;
    padding:20px;
}

.lrerp-wrapper legend{
    font-weight:bold;
    color:#0d4ea6;
    padding:0 10px;
}


@media(max-width:768px){

    .lrerp-grid-2{
        grid-template-columns:100%;
    }

}

.lrerp-botones{
    text-align:center;
    margin-top:30px;
}

.lrerp-btn{
    width:320px !important;
    max-width:100%;
    height:46px;
    border:none;
    border-radius:5px;
    background:#0b6db7;
    color:#fff;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

.lrerp-btn:hover{
    background:#095d9d;
}

.lrerp-header{
    text-align:center;
    margin-bottom:30px;
}

.lrerp-header h1{
    color:#000;
    margin-bottom:5px;
}

.lrerp-subtitulo{
    font-size:12px;
    color:#666;
    margin-bottom:20px;
}

.lrerp-negocio{
    display:flex;
    align-items:stretch;
    justify-content:space-between;

    max-width:700px;
    margin:0 auto 25px;

    background:#fff;
    border:1px solid #d8e5f1;
    border-radius:8px;
    overflow:hidden;
}

.lrerp-logo{
    width:180px;
    height:140px;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:12px;

    border-right:1px solid #d8e5f1;
    border-bottom:none;
}

.lrerp-logo img{
    display:block;
    margin:0 auto;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.lrerp-qr{
    width:170px;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:20px;
}

.lrerp-info{
    flex:1;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:20px;

    text-align:left;

    border-bottom:none;
    border-right:1px solid #d8e5f1;
}

.lrerp-titulo-formulario{
    max-width:960px;
    margin:0 auto 20px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    border:1px solid #d8e5f1;
    background:#eef5fc;

    padding:18px 24px;

    border-radius:6px;

    box-sizing:border-box;
}

.lrerp-titulo-formulario strong{
    font-size:18px;
}

.lrerp-titulo-formulario div:last-child{
    width:100%;
    text-align:center;
    font-size:13px;
    border-top:1px solid #d8e5f1;
    padding-top:15px;
}

.lrerp-header{
    margin-bottom:40px;
}

fieldset{
    background:#fff;
    border:1px solid #d7e3ef !important;
    border-radius:5px;
    margin-bottom:18px;
    padding:18px;
}

legend{
    color:#003b7a;
    font-size:13px;
    font-weight:700;
    padding:0 8px;
    display:flex;
    align-items:center;
}

label{
    color:#555;
    font-size:12px !important;
    margin-bottom:5px !important;
}

input,
select,
textarea{
    width:100%;
    height:38px;
    padding:8px 10px;
    border:1px solid #c7d5e5 !important;
    border-radius:3px;
    font-size:13px;
    box-sizing:border-box;
    background:#fff;
}

textarea{
    height:90px;
    resize:vertical;
}

small{
    display:block;
    margin-top:6px;
    color:#777;
    font-size:11px;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#0d6efd !important;
    box-shadow:0 0 5px rgba(13,110,253,.15);
}

fieldset>div{
    margin-top:8px;
}

.lrerp-descripcion-formulario{
    text-align:center;
    max-width:620px;
    margin-bottom:18px;
}

.lrerp-titulo-formulario strong{
    display:block;
    font-size:18px;
    text-align:left;
    margin-bottom:6px;
}

.lrerp-descripcion-formulario{
    text-align:left;
}

.lrerp-info-formulario{
    display:flex;
    flex-direction:column;
}

.lrerp-info-formulario strong{
    display:block;
    font-size:22px;
    margin-bottom:10px;
    text-align:center;
}

.lrerp-info-formulario .lrerp-descripcion-formulario{
    text-align:left;
    max-width:600px;
}

.lrerp-numero{
    display:inline-block;
    width:20px;
    height:20px;
    line-height:20px;
    text-align:center;
    margin-right:8px;
    background:#0d6efd;
    color:#fff;
    border-radius:4px;
    font-size:12px;
    font-weight:bold;
    flex-shrink:0;
}

.lrerp-stats{
    display:flex;
    gap:15px;
    margin:20px 0;
    flex-wrap:wrap;
}

.lrerp-stat{
    min-width:160px;
    padding:18px;
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:8px;
    text-align:center;
}

.lrerp-stat strong{
    font-size:28px;
    display:block;
    margin-bottom:8px;
}

/* =====================================================
   ERP UI v2
=====================================================*/

.lrerp-dashboard{
    display:flex;
    gap:30px;
    align-items:flex-start;
}

.lrerp-sidebar{
    width:260px;
    min-width:260px;
    flex:0 0 260px;

    background:#1e293b;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.lrerp-sidebar h3{
    margin:0;
    padding:22px;
    background:#0f172a;
    color:#fff;
    font-size:20px;
    font-weight:700;
}

.lrerp-sidebar ul{
    margin:0;
    padding:12px;
    list-style:none;
}

.lrerp-sidebar li{
    margin:4px 0;
}

.lrerp-sidebar a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    color:#e2e8f0;
    text-decoration:none;
    border-radius:10px;
    transition:.25s;
    font-size:15px;
}

.lrerp-sidebar a:hover{
    background:#2563eb;
    color:#fff;
    transform:translateX(4px);
}

.lrerp-content{
    flex:1;
    min-width:0;
    background:#fff;
    padding:20px;
    border-radius:14px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.lrerp-content h2{
    margin-top:0;
    margin-bottom:25px;
    font-size:28px;
    font-weight:700;
}


/* ===== Cards ===== */

.lrerp-dashboard-cards,
.lrerp-stats{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin:30px 0;
}

.lrerp-card,
.lrerp-stat{
    flex:1;
    min-width:190px;
    background:#fff;
    border:none;
    border-radius:16px;
    padding:28px;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
    transition:.25s;
    text-align:center;
}

.lrerp-card:hover,
.lrerp-stat:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(37,99,235,.15);
}

.lrerp-card strong,
.lrerp-stat strong{
    display:block;
    color:#64748b;
    font-size:14px;
    margin-bottom:15px;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.lrerp-card{
    color:#0f172a;
}

.lrerp-card h2{
    font-size:34px;
    font-weight:700;
    margin-bottom:20px;
}

.lrerp-card h3{
    font-size:26px;
    font-weight:600;
    margin:25px 0 15px;
}

.lrerp-card p{
    margin:0 0 15px;
}

.lrerp-card label{
    display:block;
    margin-bottom:6px;
    font-size:15px;
    font-weight:600;
    text-align:left;
}

.lrerp-card input{
    width:100%;
    margin:0;
}

.lrerp-stat{
    font-size:34px;
    font-weight:700;
    color:#2563eb;
}

/* ===== Tablas ===== */

.widefat{
    width:100%;
    border-collapse:collapse;
    border:none;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.widefat thead{
    background:#0f172a;
}

.widefat thead th{
    color:#fff;
    font-size:14px;
    font-weight:600;
    padding:18px;
    text-align:left;
    border:none;
}

.widefat tbody td{
    padding:16px 18px;
    border-bottom:1px solid #eef2f7;
    vertical-align:middle;
}

.widefat tbody tr{
    transition:.2s;
}

.widefat tbody tr:hover{
    background:#f8fafc;
}

.widefat tbody tr:last-child td{
    border-bottom:none;
}

/* ===== Botones ===== */

.lrerp-dashboard .button,
.lrerp-dashboard .button-primary,
.lrerp-dashboard .button-secondary,
.lrerp-dashboard button,
.lrerp-dashboard input[type=submit]{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    
    line-height:1;
    vertical-align:middle;

    padding:12px 22px;

    border:none;
    border-radius:10px;

    background:#2563eb;
    color:#fff !important;

    font-size:14px;
    font-weight:600;

    text-decoration:none;

    cursor:pointer;

    transition:.25s;

    box-shadow:0 6px 16px rgba(37,99,235,.25);

}

.lrerp-dashboard .button:hover,
.lrerp-dashboard .button-primary:hover,
.lrerp-dashboard .button-secondary:hover,
.lrerp-dashboard button:hover,
.lrerp-dashboard input[type=submit]:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(37,99,235,.35);

}

.button-small{

    padding:8px 14px;
    font-size:13px;

}

.button-danger{

    background:#dc2626;

}

.button-danger:hover{

    background:#b91c1c;

}

.button-success{

    background:#16a34a;

}

.button-success:hover{

    background:#15803d;

}

/* ===== Cabecera ===== */

.lrerp-header{
    text-align:center;
    margin-bottom:30px;
}

.lrerp-header h2{

    margin:0;

}

.lrerp-back{

    display:inline-flex;
    align-items:center;
    gap:8px;

    color:#2563eb;

    font-weight:600;

    text-decoration:none;

}

.lrerp-back:hover{

    color:#1d4ed8;

}

.lrerp-subtitle{

    margin:6px 0 0;

    color:#64748b;

    font-size:14px;

}
/* ===== Header ERP ===== */

.lrerp-page-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:30px;
    padding-bottom:18px;

    border-bottom:1px solid #e5e7eb;

}

.lrerp-page-title h2{

    margin:0;
    font-size:28px;
    color:#0f172a;

}

.lrerp-page-title p{

    margin:6px 0 0;
    color:#64748b;
    font-size:14px;

}

.lrerp-page-actions{

    display:flex;
    gap:12px;
}

/* ===== Iconos ===== */

.lrerp-icon{

    width:18px;
    height:18px;

    display:inline-block;

    vertical-align:middle;

    fill:currentColor;

    flex-shrink:0;

}

.button .lrerp-icon{

    margin-right:8px;

}

.lrerp-badge{
    display:inline-flex;
    align-items:center;
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
}

.lrerp-badge-default{
    background:#eef2ff;
    color:#3730a3;
}

.lrerp-badge-success{
    background:#dcfce7;
    color:#166534;
}

.lrerp-badge-danger{
    background:#fee2e2;
    color:#991b1b;
}

.lrerp-badge-warning{
    background:#fef3c7;
    color:#92400e;
}

.lrerp-stat-card{
    position:relative;
}

.lrerp-stat-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:12px;
    background:#eef4ff;
    color:#2563eb;
    margin-bottom:16px;
}

.lrerp-stat-value{
    font-size:32px;
    font-weight:700;
    line-height:1;
    margin-bottom:8px;
}

.lrerp-stat-title{
    font-size:15px;
    font-weight:600;
    color:#111827;
}

.lrerp-stat-description{
    margin-top:6px;
    font-size:13px;
    color:#6b7280;
}

@media(max-width:900px){

    .lrerp-dashboard{

        flex-direction:column;

    }

    .lrerp-sidebar{

        width:100%;

    }

}

@media(max-width:700px){

    .lrerp-page-header{

        flex-direction:column;
        align-items:flex-start;
        gap:16px;

    }

}

.widefat{

    display:block;
    overflow-x:auto;

}

/* ===== Formulario de contratación ===== */

.lrerp-card form p{
    margin:0 0 16px;
}

.lrerp-card form label{
    display:block;
    margin:0 0 6px;
    font-weight:600;
}

.lrerp-card form input[type="text"],
.lrerp-card form input[type="email"],
.lrerp-card form input[type="password"]{
    width:100%;
    margin:0;
}

.lrerp-card form h3{
    margin:25px 0 15px;
}

.lrerp-card form hr{
    margin:25px 0;
}

/* ===== Formulario ===== */

.lrerp-form-group{
    margin-bottom:18px;
}

.lrerp-form-group label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:600;
    color:#334155;
    text-align:left;
}

.lrerp-form-group input,
.lrerp-form-group select,
.lrerp-form-group textarea{
    width:100%;
    height:48px;
    margin:0;
    padding:0 14px;
    border:1px solid #cbd5e1;
    border-radius:8px;
    font-size:15px;
    background:#fff;
}

.lrerp-form-group input:focus,
.lrerp-form-group select:focus,
.lrerp-form-group textarea:focus{
    border-color:#2563eb;
    outline:none;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* ==========================
   CARD
========================== */

.lrerp-card{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:14px;

    padding:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.lrerp-card-header{

    margin-bottom:25px;

}

.lrerp-card-header h2{

    margin:0;

    font-size:28px;

    color:#1e3a8a;

}

.lrerp-card-header p{

    margin-top:8px;

    color:#6b7280;

    line-height:1.6;

}

/* ==========================
   GRID
========================== */

.lrerp-grid-2{
    display:grid;
    grid-template-columns:50% 50%;
    gap:22px;
}

@media(max-width:768px){

    .lrerp-grid-2{
        grid-template-columns:100%;
    }

}

.lrerp-grid-2 label{

    display:block;

    font-weight:600;

    margin-bottom:8px;

    color:#374151;

}

.lrerp-grid-2 input{

    width:100%;

    border:1px solid #d1d5db;

    border-radius:10px;

    padding:12px 14px;

    font-size:15px;

    transition:.25s;

    box-sizing:border-box;

}

.lrerp-grid-2 input:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

/* ==========================
   ALERTA
========================== */

.lrerp-alert{

    margin-top:30px;

    padding:18px;

    border-left:5px solid #2563eb;

    background:#eff6ff;

    border-radius:8px;

    color:#374151;

}

/* ==========================
   BOTON
========================== */

.lrerp-center{

    margin-top:30px;

    text-align:center;

}

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

@media (max-width:900px){

    .lrerp-dashboard{

        flex-direction:column;

    }

    .lrerp-sidebar{

        width:100%;
        min-width:100%;
        flex:none;

    }

    .lrerp-content{

        width:100%;
        min-width:0;

    }

}

/* Radios */

.lrerp-radio{

    display:flex;
    align-items:center;
    gap:12px;
    margin-top:12px;

}

.lrerp-radio input[type=radio]{

    width:20px !important;
    height:20px !important;
    margin:0;
    flex:none;

}

.lrerp-radio label{

    margin:0;
    cursor:pointer;
    font-weight:600;

}

/* ==========================================
   OPTION CARD
========================================== */

.lrerp-option-group{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-top:12px;

}

.lrerp-option-card{

    display:block;

    cursor:pointer;

    border:2px solid #dbe3f0;

    border-radius:14px;

    padding:18px;

    transition:.25s;

    background:#fff;

}

.lrerp-option-card:hover{

    border-color:#2563eb;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(37,99,235,.10);

}

.lrerp-option-card input{

    display:none;

}

.lrerp-option-content{

    display:flex;

    align-items:center;

    gap:18px;

}

.lrerp-option-icon{

    width:54px;

    height:54px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    background:#eff6ff;

    font-size:26px;

    flex:none;

}

.lrerp-option-icon i{

    font-size:24px;

}

.lrerp-option-content strong{

    display:block;

    font-size:16px;

    color:#1f2937;

    margin-bottom:5px;

}

.lrerp-option-content small{

    display:block;

    color:#6b7280;

    line-height:1.5;

    font-size:13px;

}

.lrerp-option-card.active{

    border-color:#2563eb;

    background:#eff6ff;

    box-shadow:0 10px 25px rgba(37,99,235,.15);

}

.lrerp-option-card.active .lrerp-option-icon{

    background:#2563eb;

    color:#fff;

}

/*=========================
PLAN CARD
=========================*/

.lrerp-subtitle{

    text-align:center;

    color:#6b7280;

    margin-top:-10px;

    margin-bottom:30px;

}

.lrerp-plan-card{

    text-align:center;

    background:#f8fbff;

    border:2px solid #dbeafe;

    border-radius:16px;

    padding:28px;

    margin-bottom:30px;

}

.lrerp-plan-name{

    font-size:26px;

    font-weight:700;

    color:#1e3a8a;

}

.lrerp-plan-price{

    margin-top:15px;

    font-size:42px;

    font-weight:700;

    color:#2563eb;

}

.lrerp-plan-price span{

    font-size:18px;

    color:#6b7280;

}

.lrerp-plan-locales{

    margin-top:20px;

    color:#374151;

    font-size:16px;

}

/*==================================
LOGIN
==================================*/

.lrerp-login{

    display:flex;

    justify-content:center;

    padding:60px 20px;

}

.lrerp-login-card{

    width:100%;

    max-width:520px;

    background:#fff;

    border-radius:18px;

    padding:40px;

    border:1px solid #e5e7eb;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.lrerp-login-v2 .lrerp-login-right h2{

    margin:0;

    text-align:center;

    font-size:56px;

    color:#1e3a8a;

}

.lrerp-login-subtitle{

    text-align:center;

    color:#6b7280;

    margin:15px 0 35px;

    line-height:1.6;

}

.lrerp-login .lrerp-form-group{

    margin-bottom:22px;

}

.lrerp-login label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#374151;

}

.lrerp-login input{

    width:100%;

    box-sizing:border-box;

    border:1px solid #d1d5db;

    border-radius:10px;

    padding:14px 16px;

    font-size:15px;

    transition:.25s;

}

.lrerp-login input:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.lrerp-login .lrerp-btn-login{

    width:100% !important;

    display:block;

    padding:16px;

    border:none !important;

    border-radius:10px;

    background:#2563eb !important;

    color:#fff !important;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

    box-shadow:0 10px 25px rgba(37,99,235,.20);

}

.lrerp-login .lrerp-btn-login:hover{

    background:#1d4ed8 !important;

    color:#fff !important;

}

.lrerp-login-footer{

    margin-top:30px;

    text-align:center;

    color:#6b7280;

}

.lrerp-login-footer a{

    color:#2563eb;

    font-weight:700;

    text-decoration:none;

}

.lrerp-login-footer a:hover{

    text-decoration:underline;

}

/*==================================
MIS DATOS
==================================*/

.lrerp-card{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    padding:30px;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.lrerp-card-title{

    margin:0;

    color:#1e3a8a;

    font-size:30px;

}

.lrerp-card-subtitle{

    color:#6b7280;

    margin:10px 0 30px;

}

.lrerp-info-item{

    background:#f8fafc;

    border:1px solid #e5e7eb;

    border-radius:12px;

    padding:18px;

}

.lrerp-info-item span{

    display:block;

    color:#6b7280;

    font-size:13px;

    margin-bottom:6px;

}

.lrerp-info-item strong{

    font-size:17px;

    color:#111827;

    word-break:break-word;

}

/*==================================
ESTADOS
==================================*/

.lrerp-status{

    display:inline-block;

    padding:8px 16px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.lrerp-status.activo{

    background:#dcfce7;

    color:#166534;

}

.lrerp-status.pendiente{

    background:#fef3c7;

    color:#92400e;

}

.lrerp-status.vencido{

    background:#fee2e2;

    color:#991b1b;

}

/*==================================
CONFIRMACION
==================================*/

.lrerp-confirmacion-botones{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:30px;
    flex-wrap:wrap;
}

.lrerp-confirmacion-botones .lrerp-btn,
.lrerp-btn-secundario{

    min-width:240px;
    padding:14px 24px;
    border-radius:10px;
    text-align:center;
    text-decoration:none;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;

}

.lrerp-btn-secundario{

    background:#fff;
    color:#0d47a1;
    border:1px solid #0d47a1;

}

.lrerp-btn-secundario:hover{

    background:#0d47a1;
    color:#fff;

}

@media(max-width:768px){

    .lrerp-confirmacion-botones{

        flex-direction:column;

    }

    .lrerp-confirmacion-botones .lrerp-btn,
    .lrerp-btn-secundario{

        width:100%;

    }

}

/*==================================
CONFIRMACION
==================================*/

.lrerp-confirmacion-aviso{

    background:#eef5fc;
    border-radius:10px;
    padding:18px 22px;
    margin:25px 0;
    color:#475569;

}

.lrerp-confirmacion-card{

    background:#fff;
    border:1px solid #cfe4ff;
    border-radius:12px;
    padding:20px;
    margin:25px 0;

}

.lrerp-confirmacion-titulo{

    margin:0 0 15px;
    font-size:38px;
    line-height:1.1;

}

.lrerp-confirmacion-texto{

    margin:0 0 20px;
    color:#666;
    font-size:16px;

}

.lrerp-confirmacion-grid{

    display:flex;
    gap:20px;
    flex-wrap:wrap;

}

.lrerp-confirmacion-item{

    flex:1 1 100%;
    min-width:0;
    width:100%;
    box-sizing:border-box;

}

.lrerp-confirmacion-item{

    border:1px solid #cfe4ff;
    border-radius:10px;
    padding:10px;

}

.lrerp-confirmacion-label{

    display:block;
    color:#64748b;
    font-size:14px;
    margin-bottom:8px;

}

.lrerp-confirmacion-valor{

    display:block;
    color:#0d4ea6;
    font-size:22px;
    font-weight:700;
    line-height:1.15;
    word-break:break-word;

}

.lrerp-confirmacion-botones{

    display:flex;
    gap:15px;
    justify-content:center;
    margin-top:30px;

}

.lrerp-btn-secundario{

    display:inline-flex;
    justify-content:center;
    align-items:center;

    padding:14px 24px;

    border:1px solid #0d4ea6;
    border-radius:10px;

    background:#fff;
    color:#0d4ea6;

    text-decoration:none;
    font-weight:600;

}

.lrerp-btn-secundario:hover{

    background:#0d4ea6;
    color:#fff;

}

@media(max-width:768px){

    .lrerp-confirmacion-card{

        padding:22px;

    }

    .lrerp-confirmacion-titulo{

        font-size:28px;

    }

    .lrerp-confirmacion-texto{

        font-size:16px;

    }

    .lrerp-confirmacion-grid{

        flex-direction:column;

    }

    .lrerp-confirmacion-item{

        width:100%;
        min-width:100%;

    }

    .lrerp-confirmacion-valor{

        font-size:28px;

    }

    .lrerp-confirmacion-botones{

        flex-direction:column;

    }

    .lrerp-confirmacion-botones .lrerp-btn,
    .lrerp-btn-secundario{

        width:100%;

    }

    .lrerp-titulo-formulario{
    
        flex-direction:column;
        align-items:center;
        text-align:center;
        padding:22px;
    
    }


    .lrerp-info-formulario strong{

        text-align:center;

    }

    .lrerp-descripcion-formulario{

        text-align:center;
        margin-bottom:15px;

    }

    .lrerp-titulo-formulario div:last-child{

        width:100%;
        text-align:center;
        border-top:1px solid #d8e5f1;
        padding-top:15px;
        margin-top:15px;

    }

    .lrerp-info-formulario{
        width:100%;
        align-items:center;
    }
    
    .lrerp-fecha-formulario{
        width:100%;
        text-align:center;
        border-top:1px solid #d8e5f1;
        padding-top:15px;
        margin-top:15px;
    }

    .lrerp-negocio{
        flex-direction:column;
        max-width:460px;
        margin:0 auto 25px;
        align-items:center;
    }
    
    .lrerp-logo{
        width:100%;
        height:110px;
        border-right:none;
        border-bottom:1px solid #d8e5f1;
    }
    
    .lrerp-info{
        width:100%;
        text-align:center;
        border-right:none;
        border-bottom:1px solid #d8e5f1;
    }
    
    .lrerp-qr{
        width:100%;
    }

    .lrerp-info{
    
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
    
        text-align:center;
    
    }

    .lrerp-responsive-detail{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        padding-bottom:10px;
    }
    
    .lrerp-responsive-detail::after{
        content:"Desliza horizontalmente";
        display:block;
        text-align:center;
        font-size:12px;
        color:#6b7280;
        margin-top:6px;
    }
    
    .lrerp-responsive-detail .form-table{
        min-width:600px;
    }

    .lrerp-responsive-detail .form-table th{
        width:120px;
        min-width:120px;
    }
    
    .lrerp-responsive-detail .form-table td{
        min-width:260px;
    }

}

.lrerp-fecha-formulario{
    text-align:right;
    white-space:nowrap;
}

.lrerp-filtros{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    align-items:flex-end;
}

.lrerp-filtros > div{
    flex:1;
    min-width:180px;
}

.lrerp-filtros label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
}

.lrerp-filtros input,
.lrerp-filtros select{
    width:100%;
    box-sizing:border-box;
}

@media(max-width:768px){

    .lrerp-filtros{
        display:flex;
        flex-direction:column;
        gap:15px;
    }

    .lrerp-filtros > div{
        width:100%;
    }

    .lrerp-filtros .button{
        width:100%;
        margin-bottom:8px;
    }

}

.lrerp-estadisticas{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:20px;
}

.lrerp-estadistica{
    flex:1;
    min-width:180px;
    padding:18px;
}

.lrerp-estadistica h2{
    margin:0 0 8px;
    font-size:34px;
}

.lrerp-estadistica p{
    margin:0;
}

@media(max-width:768px){

    .lrerp-estadisticas{
        gap:12px;
    }

    .lrerp-estadistica{
        flex:0 0 calc(50% - 6px);
        min-width:0;
        padding:14px;
        box-sizing:border-box;
    }

    .lrerp-estadistica h2{
        font-size:28px;
    }

    .lrerp-estadistica p{
        font-size:13px;
    }

    .lrerp-local-actions{
        display:flex;
        flex-direction:column;
        gap:10px;
    }
    
    .lrerp-local-actions .button{
        display:flex;
        width:100%;
        justify-content:center;
        box-sizing:border-box;
    }

}

/*==================================
LOGIN V2
==================================*/

.lrerp-login-v2{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    box-sizing:border-box;
}

.lrerp-login-v2 .lrerp-login-card{
    width:100%;
    max-width:1350px;
    display:flex;
    overflow:hidden;
    background:transparent;
    border:none;
    border-radius:18px;
    box-shadow:none;
    gap:0;
    justify-content:space-between;
}

.lrerp-login-left h2{
    color:#fff;
    font-size:34px;
    margin-bottom:20px;
}


.lrerp-login-left h3{
    margin:0 0 12px;
    font-size:28px;
    font-weight:700;
    line-height:1.15;
    color:#fff;
}

.lrerp-login-v2 input::placeholder{
    color:#94a3b8;
}

@media (max-width:768px){

    .lrerp-login-v2{
        min-height:auto;
        padding:20px 15px;
    }
    
    .lrerp-login-v2 .lrerp-login-card{
        display:block;
        border-radius:18px;
    }
    
    .lrerp-login-left,
    .lrerp-login-right{
        width:100%;
    }
    
    .lrerp-login-left{
        min-height:auto;
        background:linear-gradient(180deg,#2563eb,#1d4ed8);
        padding:45px 25px;
        border-radius:18px 18px 0 0;
    }
    
    .lrerp-login-right{
        padding:35px 25px;
        border-radius:0 0 18px 18px;
    }
    
    .lrerp-login-v2 .lrerp-login-right h2{
        font-size:36px;
    }
    
    .lrerp-login-left h3{
        font-size:32px;
    }


    .lrerp-login-v2 .lrerp-login-card{
        display:flex !important;
        flex-direction:column !important;
    }
    
    .lrerp-login-left{
        width:100% !important;
        min-height:auto !important;
        border-radius:18px 18px 0 0 !important;
    }
    
    .lrerp-login-right{
        width:100% !important;
        border-radius:0 0 18px 18px !important;
        padding:35px 25px !important;
    }
    
    .lrerp-login-left h3{
        font-size:30px !important;
    }
    
    .lrerp-login-v2 .lrerp-login-right h2{
        font-size:40px !important;
    }

    .lrerp-login-icon,
    .lrerp-login-left p,
    .lrerp-login-features{
        display:none !important;
    }
    
    .lrerp-login-left{
        padding:30px 20px !important;
        min-height:auto !important;
    }
    
    .lrerp-login-left h3{
        margin:0 !important;
        font-size:32px !important;
    }
    

}

.lrerp-login-left{
    width:32%;
    min-height:720px;
    padding:25px 30px;
    background:linear-gradient(180deg,#2563eb,#1d4ed8);
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    box-sizing:border-box;
    border-radius:18px 0 0 18px;
}

.lrerp-login-right{
    width:68%;
    padding:45px 55px;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-sizing:border-box;
    border-radius:0 18px 18px 0;
}

.lrerp-login-v2 .lrerp-login-right h2{
    margin:0 0 5px;
    font-size:38px;
    font-weight:700;
    line-height:1.15;
    color:#1e3a8a;
    text-align:left;
}

.lrerp-login-v2 .lrerp-login-subtitle{
    margin:0 0 25px;
    font-size:18px;
    line-height:1.7;
    color:#64748b;
    text-align:left;
}

.lrerp-login-v2 .lrerp-form-group{
    margin-bottom:12px;
}

.lrerp-login-v2 label{
    display:block;
    margin-bottom:4px;
    font-size:14px;
    font-weight:600;
    color:#334155;
}

.lrerp-login-v2 input{
    width:100%;
    height:48px;
    padding:0 18px;
    border:1px solid #dbe4ee;
    border-radius:12px;
    background:#fff;
    font-size:16px;
    color:#1f2937;
    box-sizing:border-box;
    transition:all .25s ease;
}

.lrerp-login-v2 input:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.lrerp-login-v2 .lrerp-btn-login{
    width:100%;
    height:48px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-size:17px;
    font-weight:700;
    letter-spacing:.3px;
    cursor:pointer;
    transition:all .25s ease;
    box-shadow:0 10px 25px rgba(37,99,235,.25);
}

.lrerp-login-v2 .lrerp-btn-login:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 35px rgba(37,99,235,.35);
}

.lrerp-login-icon{
    width:70px;
    height:70px;
    margin:0 auto 15px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.25);
}

.lrerp-login-left h2{
    font-size:52px;
    line-height:1.1;
    margin:0 0 12px;
}

.lrerp-login-left p{
    margin:0;
    max-width:320px;
    font-size:16px;
    line-height:1.5;
    margin-bottom:15px;
    color:rgba(255,255,255,.92);
}

.lrerp-login-features{
    margin-top:40px;
    width:100%;
}

.lrerp-login-features div{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    border-radius:10px;
    padding:8px 14px;
    margin-bottom:8px;
    font-size:16px;
    font-weight:600;
}

.lrerp-login-v2{
    max-width:1350px;
    width:100%;
    margin:0 auto;
}

.lrerp-login-v2 .lrerp-login-card{
    max-width:none;
}

.lrerp-login-v2 form{
    width:100%;
    max-width:1350px;
    margin:0 auto;
}

/* Reclamos: vista tipo tarjeta */
.lrerp-claims-list{display:grid;gap:13px;margin-top:18px}
.lrerp-claim-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 5px 18px rgba(15,23,42,.04);overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.lrerp-claim-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.08);border-color:#dbe4ef}
.lrerp-claim-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border-bottom:1px solid #eef2f7;background:#fbfcfe}
.lrerp-claim-number span,.lrerp-claim-consumer>div>span,.lrerp-claim-meta span{display:block;font-size:9px;font-weight:800;letter-spacing:.1em;color:#94a3b8}
.lrerp-claim-number a{display:inline-block;margin-top:3px;color:#1d4ed8;font-size:17px;font-weight:800;text-decoration:none}
.lrerp-claim-number a:hover{text-decoration:underline}
.lrerp-claim-number small{margin-left:9px;color:#94a3b8;font-size:11px}
.lrerp-claim-top-right{display:flex;align-items:center;gap:16px}
.lrerp-claim-body{display:grid;grid-template-columns:minmax(280px,1.05fr) minmax(480px,2fr);gap:20px;padding:19px 20px}
.lrerp-claim-consumer{display:flex;align-items:center;gap:12px;min-width:0}
.lrerp-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:14px;font-weight:900}
.lrerp-claim-consumer strong{display:block;margin-top:4px;color:#172033;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lrerp-claim-consumer small{display:block;margin-top:3px;color:#94a3b8;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lrerp-claim-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:center}
.lrerp-claim-meta div{padding-left:14px;border-left:1px solid #eef2f7;min-width:0}
.lrerp-claim-meta strong{display:block;margin-top:5px;color:#334155;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lrerp-claim-footer{display:flex;align-items:center;justify-content:flex-start;padding:12px 20px;background:#fafbfc;border-top:1px solid #eef2f7}
.lrerp-claim-footer a{font-size:12px;color:#64748b;text-decoration:none;font-weight:600}
.lrerp-claim-footer .lrerp-claim-view{color:#2563eb;font-weight:800}
.lrerp-claim-view span{margin-left:4px;font-size:15px}
@media (max-width: 900px){
    .lrerp-claim-body{grid-template-columns:1fr}
    .lrerp-claim-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 600px){
    .lrerp-claim-top{align-items:flex-start;flex-direction:column;gap:10px}
    .lrerp-claim-number small{display:block;margin:4px 0 0}
    .lrerp-claim-meta{grid-template-columns:1fr 1fr;gap:10px}
    .lrerp-claim-meta div{padding-left:10px}
}


/* =====================================================
   DASHBOARD PREMIUM - RESUMEN Y GRÁFICO MENSUAL
===================================================== */
.lrerp-dashboard-stats{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin:0 0 24px;
}

.lrerp-stat-card{
    position:relative;
    min-width:0;
    padding:22px 22px 20px;
    border:1px solid #e8edf5;
    border-radius:18px;
    background:#fff;
    overflow:hidden;
    text-align:left;
    box-shadow:0 12px 32px rgba(15,23,42,.06);
    transition:transform .2s ease, box-shadow .2s ease;
}
.lrerp-stat-card::after{
    content:"";
    position:absolute;
    width:125px;
    height:125px;
    right:-55px;
    bottom:-65px;
    border-radius:50%;
    opacity:.8;
}
.lrerp-stat-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(15,23,42,.10);
}
.lrerp-stat-icon{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    margin-bottom:17px;
    border-radius:15px;
}
.lrerp-stat-icon svg{width:25px;height:25px;display:block}
.lrerp-stat-value{
    position:relative;
    z-index:1;
    font-size:34px;
    line-height:1;
    font-weight:800;
    letter-spacing:-1px;
    color:#0f172a;
}
.lrerp-stat-title{
    position:relative;
    z-index:1;
    margin-top:8px;
    font-size:15px;
    font-weight:700;
    color:#334155;
}
.lrerp-stat-description{
    position:relative;
    z-index:1;
    margin-top:5px;
    font-size:12px;
    color:#94a3b8;
}
.lrerp-stat-total .lrerp-stat-icon{background:#eaf1ff;color:#2563eb}
.lrerp-stat-total::after{background:#eaf1ff}
.lrerp-stat-pending .lrerp-stat-icon{background:#fff4cf;color:#d18a00}
.lrerp-stat-pending::after{background:#fff8df}
.lrerp-stat-process .lrerp-stat-icon{background:#e5f6ff;color:#1397d3}
.lrerp-stat-process::after{background:#eaf9ff}
.lrerp-stat-attended .lrerp-stat-icon{background:#e4f9ef;color:#15966a}
.lrerp-stat-attended::after{background:#edfbf4}

.lrerp-monthly-card{
    margin:0 0 28px;
    padding:28px 28px 24px;
    border:1px solid #e8edf5;
    border-radius:20px;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
    box-shadow:0 14px 38px rgba(15,23,42,.06);
}
.lrerp-monthly-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}
.lrerp-section-kicker{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:7px;
    color:#94a3b8;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
}
.lrerp-section-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:9px;
    background:#edf3ff;
    color:#2563eb;
    font-size:16px;
    letter-spacing:0;
}
.lrerp-monthly-head h3{
    margin:0;
    color:#0f172a;
    font-size:24px;
    line-height:1.15;
}
.lrerp-monthly-head p{
    margin:7px 0 0;
    color:#64748b;
    font-size:13px;
}
.lrerp-monthly-total{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    padding:10px 15px;
    border:1px solid #e7edf6;
    border-radius:13px;
    background:#f8fafc;
    white-space:nowrap;
}
.lrerp-monthly-total strong{font-size:21px;color:#2563eb;line-height:1}
.lrerp-monthly-total span{margin-top:5px;font-size:10px;color:#94a3b8}

.lrerp-chart{
    position:relative;
    height:245px;
    padding:10px 6px 0 42px;
}
.lrerp-chart::before,
.lrerp-chart::after{
    content:"";
    position:absolute;
    left:42px;
    right:0;
    border-top:1px dashed #e5eaf2;
}
.lrerp-chart::before{top:18px}
.lrerp-chart::after{bottom:45px}
.lrerp-chart-grid{
    position:absolute;
    left:0;
    top:13px;
    bottom:42px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    color:#94a3b8;
    font-size:10px;
}
.lrerp-bars{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(12,minmax(28px,1fr));
    gap:12px;
    height:100%;
}
.lrerp-bar-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
    min-width:0;
}
.lrerp-bar-value{
    height:18px;
    color:#94a3b8;
    font-size:11px;
    font-weight:700;
}
.lrerp-bar-track{
    position:relative;
    width:100%;
    max-width:46px;
    height:168px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
}
.lrerp-bar{
    width:100%;
    min-height:4px;
    border-radius:9px 9px 4px 4px;
    background:#e8edf4;
    transition:height .35s ease, transform .2s ease;
}
.lrerp-bar-item.is-active .lrerp-bar{
    background:linear-gradient(180deg,#4d7ff4 0%,#2563eb 100%);
    box-shadow:0 7px 18px rgba(37,99,235,.24);
}
.lrerp-bar-item.is-active .lrerp-bar-value{color:#2563eb}
.lrerp-bar-item:hover .lrerp-bar{transform:scaleX(1.04)}
.lrerp-bar-label{
    margin-top:9px;
    color:#475569;
    font-size:11px;
    font-weight:700;
    text-align:center;
}
.lrerp-bar-label small{
    display:block;
    margin-top:2px;
    color:#a1aabd;
    font-size:9px;
    font-weight:500;
}

@media(max-width:1050px){
    .lrerp-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
    .lrerp-dashboard-stats{grid-template-columns:1fr 1fr;gap:12px}
    .lrerp-stat-card{padding:17px}
    .lrerp-stat-icon{width:42px;height:42px;margin-bottom:13px}
    .lrerp-stat-value{font-size:28px}
    .lrerp-stat-title{font-size:13px}
    .lrerp-monthly-card{padding:21px 15px 18px;border-radius:16px}
    .lrerp-monthly-head{align-items:flex-start;flex-direction:column}
    .lrerp-monthly-total{align-items:flex-start}
    .lrerp-chart{padding-left:28px;overflow-x:auto}
    .lrerp-bars{min-width:650px;gap:10px}
    .lrerp-chart::before,.lrerp-chart::after{left:28px;min-width:650px}
}


/* Reclamos: plazo visible y paginación */
.lrerp-claim-top-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.lrerp-claim-deadline{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#ecfdf5;color:#15803d;font-size:12px;font-weight:800;white-space:nowrap}.lrerp-claim-deadline.is-expired{background:#fef2f2;color:#dc2626}.lrerp-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:22px 0 6px;padding:14px 18px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 6px 20px rgba(15,23,42,.04)}.lrerp-pagination a{display:inline-flex;align-items:center;padding:9px 14px;border-radius:9px;text-decoration:none;background:#eff6ff;color:#2563eb;font-weight:700}.lrerp-pagination a:hover{background:#dbeafe}.lrerp-pagination span{font-size:13px;color:#64748b;font-weight:700}
@media (max-width:640px){.lrerp-claim-top-right{justify-content:flex-start}.lrerp-pagination{gap:8px;padding:12px;justify-content:space-between}.lrerp-pagination a{padding:8px 10px;font-size:12px}}
