File: /home/niyknzcu/nexlancedigital.com/claude - Copy/dashboard.css
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", sans-serif;
}
body {
background: #f3efff;
}
.container {
display: flex;
height: 100vh;
}
/* Sidebar */
.sidebar {
width: 240px;
background: #e8e2ff;
padding: 20px;
}
.logo {
color: #6c5ce7;
margin-bottom: 30px;
}
.nav {
list-style: none;
}
.nav li {
padding: 12px;
margin-bottom: 8px;
border-radius: 8px;
cursor: pointer;
}
.nav li:hover,
.nav li.active {
background: #d6ccff;
color: #4b3fbf;
font-weight: 600;
}
/* Navigation anchor links */
.nav li a,
.nav li a:link,
.nav li a:visited {
display: block;
color: #333;
text-decoration: none;
font-weight: inherit;
}
.nav li.active a,
.nav li.active a:link,
.nav li.active a:visited,
.nav li:hover a {
color: #4b3fbf;
}
/* Main */
.main {
flex: 1;
padding: 20px 40px;
overflow-y: auto;
}
/* Topbar */
.topbar {
display: flex;
justify-content: space-between;
margin-bottom: 25px;
}
.topbar input {
width: 60%;
padding: 10px 15px;
border-radius: 20px;
border: none;
background: #ffffff;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.profile {
background: #6c5ce7;
color: white;
padding: 8px 15px;
border-radius: 20px;
}
/* Cards */
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.card {
background: white;
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(108,92,231,0.15);
}
.card h4 {
color: #777;
margin-bottom: 10px;
}
.card h2 {
color: #4b3fbf;
}
/* Charts */
.charts {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
margin-bottom: 30px;
}
.chart-box {
background: white;
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(108,92,231,0.15);
}
/* Activity */
.activity {
background: white;
padding: 20px;
border-radius: 15px;
margin-bottom: 20px;
box-shadow: 0 4px 10px rgba(108,92,231,0.15);
}
.activity ul {
list-style: none;
}
.activity li {
padding: 8px 0;
border-bottom: 1px solid #eee;
}
/* Alerts */
.alerts {
background: white;
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(108,92,231,0.15);
}
.alert {
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
font-weight: 500;
}
.danger {
background: #ffe5e5;
color: #d63031;
}
.warning {
background: #fff4d6;
color: #e17055;
}