/* ===== Base Layout ===== */
body {
    background: #f8f9ff;
    font-family: 'Segoe UI', sans-serif;
}

.search-bar {
    margin: 15px 0;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

/* Sidebar */
.sidebar {
    height: 100vh;
    background: white;
    border-right: 1px solid #eee;
    padding-top: 1rem;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    margin: 4px 0;
    color: #444;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
}

.sidebar a.active,
.sidebar a:hover {
    background: #f0ebff;
    color: #6a42f5;
}
.text-purple {
    color: #6a0DAD; /* or your preferred purple shade */
}

/* ===== KPI Section ===== */
.dashboard-card {
    background: #f3e8ff;
    /* light purple container */
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.dashboard-title {
    color: #6a0dad;
    /* darker purple */
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 15px;
}

.card-kpi {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-kpi h4 {
    margin: 5px 0;
    font-weight: bold;
    color: #333;
}

/* ===== Influencer Cards ===== */
.influencer-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.influencer-card:hover {
    transform: translateY(-3px);
}

/* Circular avatar */
.influencer-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 70%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Influencer Name */
.influencer-card h6 {
    font-weight: bold;
    margin: 5px 0 0 0;
    font-size: 15px;
}

/* Handle (insta username) */
.influencer-card .handle {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

/* Stats row (followers + engagement) */
.influencer-card .stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.influencer-card .stats div {
    text-align: center;
}

influencer-card .stats strong {
    font-size: 18px;
    display: block;
    color: #000;
    margin-bottom: 2px;
    /* reduce gap */
    line-height: 1.2;
    /* tighter spacing */
}

.influencer-card .stats span {
    font-size: 12px;
    color: #666;
    margin-top: 0;
    /* no extra space */
    line-height: 1.1;
    /* compact */
}

/* CTA Button */
.btn-custom {
    background: #e6d7ff;
    color: #6a0dad;
    border-radius: 8px;
    font-size: 14px;
    padding: 6px 14px;
    border: none;
    font-weight: 500;
    transition: 0.2s;
}

.btn-custom:hover {
    background: #d4bfff;
}