/* =========================
   GLOBAL
========================= */

* {
    box-sizing: border-box;
}

html,
body,
input,
button,
select,
textarea,
a,
div,
span,
p,
label,
th,
td,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Roboto,sans-serif!important;
}

body {
    margin: 0;
    background: #eef5ff;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   LAYOUT
========================= */

.layout {
    display: flex;
    min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    width: 260px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 18px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #3056d3;
    margin-bottom: 25px;
}

.logo span {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
}

.sidebar a {
    display: block;
    padding: 13px 14px;
    margin: 6px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    transition: .2s;
}

.sidebar a:hover {
    background: #e5e7eb;
}

/* =========================
   MAIN
========================= */

.main {
    flex: 1;
}

/* =========================
   TOPBAR
========================= */

.topbar {
    height: 58px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 24px;
}

.userbar {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* =========================
   CONTENT
========================= */

.content {
    padding: 28px;
}

.hero {
    text-align: center;
    padding: 30px;
}

.hero h1 {
    font-size: 38px;
    color: #253a9f;
    font-weight: 700;
}

/* =========================
   CARD
========================= */

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);

    padding: 24px;
    margin-bottom: 22px;
}

/* =========================
   GRID
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;

    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #dbeafe;
}

.product-card .body {
    padding: 20px;
}

.product-card h3 {
    margin-top: 0;
    font-weight: 700;
}

/* =========================
   PRICE
========================= */

.price {
    color: #ef4444;
    font-weight: 700;
}

/* =========================
   BUTTON
========================= */

.btn {
    display: inline-block;

    border: 0;
    border-radius: 10px;

    padding: 11px 16px;

    background: #2563eb;
    color: #fff;

    text-decoration: none;
    text-align: center;

    font-weight: 700;
    cursor: pointer;
}

.btn:hover {
    opacity: .95;
}

.btn.full {
    width: 100%;
}

.btn.green {
    background: #16a34a;
}

.btn.orange {
    background: #f59e0b;
}

/* =========================
   TEXT
========================= */

.muted {
    color: #64748b;
}

/* =========================
   TABLE
========================= */

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th,
.table td {
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.table th {
    background: #f8fafc;
    font-weight: 700;
}

/* =========================
   BADGE
========================= */

.badge {
    padding: 6px 10px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.badge.green {
    background: #dcfce7;
    color: #166534;
}

.badge.yellow {
    background: #fef3c7;
    color: #92400e;
}

/* =========================
   FORM
========================= */

.form {
    max-width: 420px;
    margin: 60px auto;
}

.input,
select,
textarea {
    width: 100%;

    padding: 12px;

    border: 1px solid #d1d5db;
    border-radius: 10px;

    margin: 8px 0 14px;
}

.input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* =========================
   PLAN
========================= */

.plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.plan {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.plan h3 {
    font-weight: 700;
}

/* =========================
   LICENSE
========================= */

.license {
    font-family: Consolas, monospace !important;
    background: #f8fafc;
    padding: 8px;
    border-radius: 8px;
    word-break: break-all;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .sidebar {
        display: none;
    }

    .grid,
    .plans {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 14px;
    }
}