/* ✅ Topbar Container */
.topbar {
    width: 100%;
    padding: 10px 20px;
    background: rgba(17, 24, 39, 0.85); /* Glass effect with blur */
    color: var(--topbar-text-color, #fff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

/* ✅ Flex Layout */
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* ✅ Left Section (Logo + Message) */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* ✅ Welcome Message */
.welcome-msg {
    font-weight: 600;
    font-size: 16px;
    color: var(--topbar-text-color, #fff);
}

/* ✅ Right Section (Buttons) */
.topbar-right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-btn {
    background: linear-gradient(135deg, var(--primary-color, #4f46e5), var(--secondary-color, #6366f1));
    color: #fff;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.topbar-btn:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    transform: translateY(-1px);
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .topbar {
        padding: 12px 16px;
    }

    .topbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .topbar-right {
        justify-content: flex-start;
    }

    .topbar-logo {
        height: 36px;
    }

    .topbar-btn {
        padding: 7px 14px;
        font-size: 13px;
    }
}