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

body.larelio-body {
    font-family: Inter, system-ui, sans-serif;
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: #e2e8f0;
}

/* LAYOUT */
.app-shell {
    display: flex;
    max-width: 1400px;
    margin: auto;
    padding: 20px;
    gap: 20px;
}

/* SIDEBAR */
.sidebar {
    width: 240px;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 20px;
}

.brand {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    background: #7c5cff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
}

.nav-link:hover {
    color: white;
}

/* MAIN */
.main-column {
    flex: 1;
}

/* TOPBAR */
.topbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.topbar input {
    width: 400px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #1e293b;
    color: white;
}

/* BUTTONS */
.btn {
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
}

.btn-primary {
    background: #7c5cff;
    color: white;
}

.btn-secondary {
    background: #1e293b;
    color: white;
}

/* HERO */
.hero-card {
    background: linear-gradient(135deg, #1e293b, #020617);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-card h1 {
    font-size: 32px;
}

/* HUBS */
.hub-card {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    display: block;
}

.hub-card:hover {
    background: rgba(255,255,255,0.06);
}

/* FEED */
.feed-card {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.feed-card h3 {
    margin-bottom: 8px;
}

.feed-card-bottom {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    font-size: 14px;
}

/* FORM */
.panel-card {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #1e293b;
    color: white;
}

textarea {
    min-height: 150px;
}

/* RIGHT PANEL */
.right-panel {
    width: 260px;
}

.tag {
    display: inline-block;
    background: #1e293b;
    padding: 6px 10px;
    border-radius: 10px;
    margin: 4px;
}

/* BADGE */
.badge {
    background: rgba(124,92,255,0.2);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* FIX SELECT */
select option {
    background: #1e293b;
    color: white;
}
/* FIX LINKS */
a {
    color: #c4b5fd;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #ffffff;
}

/* TITLES IN CARDS */
.feed-card h3 a {
    font-size: 18px;
    font-weight: 600;
}

/* USER BADGE */
.username {
    background: rgba(124,92,255,0.15);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

/* HOVER EFFECT CARDS */
.feed-card,
.hub-card,
.panel-card {
    transition: all 0.2s ease;
}

.feed-card:hover,
.hub-card:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.06);
}

/* BUTTON HOVER */
.btn-primary:hover {
    background: #6d4cff;
}

.btn-secondary:hover {
    background: #334155;
}

/* RIGHT PANEL */
.right-panel .panel-card {
    background: rgba(255,255,255,0.02);
}

/* FIX TEXT */
h1, h2, h3 {
    color: #f1f5f9;
}
