.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 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;
}

.lrerp-grid-2{
    display:grid;
    grid-template-columns:48% 48%;
    justify-content:space-between;
    gap:18px;
}

@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{
    max-width:460px;
    width:100%;
    margin:0 auto 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border:1px solid #d8e5f1;
    background:#fff;
}

.lrerp-logo{
    width:150px;
    height:80px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;
    border:1px solid #d8e5f1;
    border-radius:8px;
    padding:8px;
    box-sizing:border-box;
}

.lrerp-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.lrerp-qr{
    width:90px;
    height:90px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#f5f8fc;
}

.lrerp-info{
    flex:1;
     padding:15px;
    text-align:left;
    font-size:12px;
    line-height:1.8;
}

.lrerp-titulo-formulario{
    max-width:960px;
    margin:0 auto 20px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    border:1px solid #d8e5f1;
    background:#eef5fc;
    padding:18px 22px;
    border-radius:6px;
    box-sizing:border-box;
}

.lrerp-titulo-formulario strong{
    font-size:18px;
}

.lrerp-titulo-formulario div:last-child{
    text-align:right;
    font-size:12px;
}

.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{
    margin:6px 0 0 0;
    font-size:12px;
    color:#666;
    font-weight:400;
    line-height:1.5;
    text-align:left;
    max-width:600px;
}

.lrerp-titulo-formulario strong{
    display:block;
    font-size:18px;
    text-align:left;
    margin-bottom:6px;
}

.lrerp-descripcion-formulario{
    text-align:left;
}

.lrerp-info-formulario{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.lrerp-info-formulario strong{
    display:block;
    font-size:18px;
    margin-bottom:6px;
    text-align:left;
}

.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:30px;
    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:repeat(2,1fr);

    gap:22px;

}

.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-card h2{

    margin:0;

    text-align:center;

    font-size:34px;

    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;

}
