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

body{
    font-family:'Inter', sans-serif;
    background:#f5f7f8;
    color:#343434;
}

.layout{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:280px;
    background:#ffffff;
    border-right:1px solid #e5e7eb;
    padding:30px 20px;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
}

.logo-area{
    text-align:center;
    margin-bottom:40px;
}

.logo-sidebar{
    width:170px;
}

.menu-title{
    font-size:12px;
    font-weight:800;
    color:#9ca3af;
    margin-bottom:15px;
    letter-spacing:1px;
}

.menu{
    list-style:none;
}

.menu li{
    margin-bottom:12px;
}

.menu a{
    display:block;
    text-decoration:none;
    padding:14px 18px;
    border-radius:14px;
    color:#343434;
    font-weight:700;
    transition:0.2s;
}

.menu a:hover{
    background:#8CC218;
    color:white;
}

.main-content{
    margin-left:280px;
    width:100%;
    padding:40px;
}

.page-title{
    font-size:34px;
    font-weight:900;
    margin-bottom:10px;
}

.page-subtitle{
    color:#777;
    margin-bottom:35px;
}

.card{
    background:white;
    border-radius:24px;
    padding:25px;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
    margin-bottom:25px;
}

.btn{
    display:inline-block;
    background:#8CC218;
    color:white;
    padding:14px 22px;
    border-radius:14px;
    text-decoration:none;
    font-weight:800;
    border:none;
    cursor:pointer;
}

.btn:hover{
    background:#6EA000;
}

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

.table th{
    background:#f9fafb;
    text-align:left;
    padding:15px;
    font-size:13px;
    color:#777;
}

.table td{
    padding:15px;
    border-top:1px solid #f1f1f1;
}

.badge{
    display:inline-block;
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
}

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

.badge-danger{
    background:#fee2e2;
    color:#991b1b;
}
.btn-small{
    padding:9px 14px;
    font-size:13px;
}

small{
    color:#777;
}
.form-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
}

.form-group label{
    display:block;
    font-size:13px;
    font-weight:800;
    color:#777;
    margin-bottom:8px;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    font-size:15px;
    font-family:'Inter', sans-serif;
}

.form-group textarea{
    min-height:110px;
    resize:vertical;
}

.form-full{
    grid-column:1 / -1;
}

.form-actions{
    grid-column:1 / -1;
    display:flex;
    gap:12px;
    margin-top:10px;
}

.btn-secondary{
    background:#343434;
}

.btn-secondary:hover{
    background:#111;
}
.login-body{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f7f8;
}

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

.login-card{
    background:#ffffff;
    padding:38px;
    border-radius:24px;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
    text-align:center;
}

.logo-login{
    width:180px;
    display:block;
    margin:0 auto 22px auto;
}

.login-card h1{
    font-size:34px;
    font-weight:900;
    color:#343434;
    margin-bottom:8px;
}

.login-card p{
    color:#777;
    margin-bottom:28px;
}

.login-card form{
    text-align:left;
}

.login-card label{
    display:block;
    font-size:13px;
    font-weight:800;
    color:#777;
    margin-top:16px;
    margin-bottom:8px;
}

.login-card input{
    width:100%;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    font-size:15px;
}

.login-card button{
    width:100%;
    margin-top:24px;
    padding:14px;
    background:#8CC218;
    color:white;
    border:none;
    border-radius:14px;
    font-weight:900;
    cursor:pointer;
}

.login-card button:hover{
    background:#6EA000;
}

.error{
    background:#fee2e2;
    color:#991b1b;
    padding:12px;
    border-radius:14px;
    margin-bottom:15px;
    font-weight:700;
}
.stats-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
    margin-bottom:25px;
}

.stat-card{
    background:white;
    border-radius:24px;
    padding:25px;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

.stat-card span{
    display:block;
    color:#777;
    font-weight:700;
    margin-bottom:12px;
}

.stat-card strong{
    font-size:38px;
    font-weight:900;
    color:#343434;
}

.quick-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

.card h2{
    font-size:22px;
    font-weight:900;
    margin-bottom:10px;
}
.table-responsive{
    width:100%;
    overflow-x:auto;
}

.copy-cell{
    cursor:pointer;
    transition:0.2s;
}

.copy-cell:hover{
    background:#f0f9d8;
    color:#6EA000;
}

.clave-cell{
    font-family:monospace;
    font-weight:800;
    color:#343434;
}

.copiado-alerta{
    position:fixed;
    right:30px;
    bottom:30px;
    background:#343434;
    color:white;
    padding:14px 22px;
    border-radius:14px;
    font-weight:800;
    opacity:0;
    transform:translateY(20px);
    pointer-events:none;
    transition:0.3s;
}

.copiado-alerta.mostrar{
    opacity:1;
    transform:translateY(0);
}
.check-label{
    display:flex !important;
    align-items:center;
    gap:10px;
    font-weight:800;
    color:#343434 !important;
}

.check-label input{
    width:auto;
}