/* ==========================================================
   NepaWeb License Manager
   app.css v1.0
   ========================================================== */

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --success:#16a34a;
    --warning:#f59e0b;
    --danger:#dc2626;

    --sidebar:#0f172a;
    --sidebar-hover:#1e293b;

    --navbar:#ffffff;

    --body:#eef3fb;
    --card:#ffffff;

    --text:#1f2937;
    --text-light:#6b7280;

    --border:#e5e7eb;

    --radius:16px;

    --shadow:
        0 10px 30px rgba(0,0,0,.08);

    --transition:.25s;

}

/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html,
body{

    width:100%;
    height:100%;

    background:var(--body);

    color:var(--text);

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:15px;

}

/* ==========================================================
   LINKS
========================================================== */

a{

    color:var(--primary);

    text-decoration:none;

    transition:.25s;

}

a:hover{

    color:var(--primary-dark);

}

/* ==========================================================
   WRAPPER
========================================================== */

.wrapper{

    display:flex;

    min-height:100vh;

}

/* ==========================================================
   CONTENT
========================================================== */

.content{

    flex:1;

    padding:30px;

}

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

.row{

    display:flex;

    gap:25px;

    margin-bottom:25px;

}

.col-12{width:100%;}
.col-8{width:66.666%;}
.col-6{width:50%;}
.col-4{width:33.333%;}
.col-3{width:25%;}

@media(max-width:1200px){

.row{

flex-direction:column;

}

.col-3,
.col-4,
.col-6,
.col-8,
.col-12{

width:100%;

}

}

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

.card{

    background:var(--card);

    border:none;

    border-radius:18px;

    box-shadow:var(--shadow);

    overflow:hidden;

    margin-bottom:25px;

}

.card-header{

    padding:20px 25px;

    font-size:20px;

    font-weight:700;

    border-bottom:1px solid var(--border);

    background:#fff;

}

.card-body{

    padding:25px;

}

/* ==========================================================
   DASHBOARD STATS
========================================================== */

.stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-bottom:30px;

}

@media(max-width:1200px){

.stats{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.stats{

grid-template-columns:1fr;

}

}

.stat{

    background:#fff;

    border-radius:18px;

    box-shadow:var(--shadow);

    padding:25px;

    display:flex;

    align-items:center;

    gap:20px;

    transition:.25s;

}

.stat:hover{

    transform:translateY(-5px);

}

.stat-icon{

    width:70px;

    height:70px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    color:#fff;

}

.blue{

background:#2563eb;

}

.green{

background:#16a34a;

}

.orange{

background:#f59e0b;

}

.red{

background:#dc2626;

}

.stat-info h2{

    font-size:34px;

    margin-bottom:5px;

}

.stat-info span{

    color:var(--text-light);

}

/* ==========================================================
   TABLES
========================================================== */

.table{

    width:100%;

    border-collapse:collapse;

}

.table th{

    background:#f8fafc;

    padding:15px;

    text-align:left;

    font-weight:700;

    border-bottom:1px solid var(--border);

}

.table td{

    padding:15px;

    border-bottom:1px solid var(--border);

}

.table tbody tr:hover{

    background:#f8fafc;

}

/* ==========================================================
   BUTTONS
========================================================== */

.btn{

    border:none;

    border-radius:10px;

    padding:11px 20px;

    cursor:pointer;

    transition:.25s;

    font-weight:600;

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

.btn-primary:hover{

    background:var(--primary-dark);

}

.btn-success{

    background:var(--success);

    color:#fff;

}

.btn-danger{

    background:var(--danger);

    color:#fff;

}

.btn-warning{

    background:var(--warning);

    color:#fff;

}

/* ==========================================================
   BADGES
========================================================== */

.badge{

    display:inline-block;

    padding:6px 12px;

    border-radius:8px;

    font-size:13px;

    font-weight:600;

}

.badge-success{

    background:#dcfce7;

    color:#166534;

}

.badge-warning{

    background:#fef3c7;

    color:#92400e;

}

.badge-danger{

    background:#fee2e2;

    color:#991b1b;

}

/* ==========================================================
   STATUS
========================================================== */

.status{

    padding:15px;

    border-radius:12px;

    margin-bottom:15px;

    font-weight:600;

}

.status.success{

    background:#dcfce7;

    color:#166534;

}

.status.warning{

    background:#fef3c7;

    color:#92400e;

}

.status.danger{

    background:#fee2e2;

    color:#991b1b;

}

/* ==========================================================
   FORMS
========================================================== */

.form-control{

    width:100%;

    border:1px solid var(--border);

    border-radius:10px;

    padding:12px 15px;

    transition:.25s;

}

.form-control:focus{

    outline:none;

    border-color:var(--primary);

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

}

/* ==========================================================
   UTILITIES
========================================================== */

.text-center{

text-align:center;

}

.text-right{

text-align:right;

}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}

.shadow{

box-shadow:var(--shadow);

}

.rounded{

border-radius:var(--radius);

}
