/* =========================
   FLOATING DOCK (DESKTOP ONLY)
========================= */

.dock-container {
    position: fixed;

    /* 🔥 CONTROL VERTICAL POSITION */
    bottom: var(--dock-bottom, 40px);

    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 6px;
    border: 0.5px solid white;
    border-radius: 999px;

    /* 🔥 DARK PURPLE BACKGROUND */
    background: #2d0b59;

    box-shadow: 0 15px 40px rgba(0,0,0,0.25);

    z-index: 9999;
}

/* =========================
   BUTTON STYLE
========================= */

.dock-item {
    box-sizing: border-box;   /* ✅ KEY FIX */
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    /* 🔥 CONTROL SIZE */
    padding: 8px 20px;   /* width ↑ height ↓ */

    min-width: 120px;   /* wider buttons */
    height: 30px;       /* smaller height */
    border-radius: 999px;
    line-height: 1; 
    font-family: 'Figtree', sans-serif;

    color: #bfbfbf;
    text-decoration: none;

    font-weight: 500;
    font-size: 14px;

    transition: 0.3s ease;
}

/* Home smaller */
.dock-item:first-child {
    min-width: 50px;
    padding: 8px;
}

/* ICON */
.dock-item i {
    font-size: 16px;
    color: #bfbfbf;
    transition: 0.3s;
}

/* TEXT */
.dock-item span {
    white-space: nowrap;
}

/* HOVER EFFECT */
/* ACTIVE (default state) */
.dock-item.active {
    background: rgba(255,255,255,0.08);
}

/* Keep text normal */
.dock-item.active i,
.dock-item.active span {
    color: #bfbfbf;
}

/* HOVER (ALL buttons including active) */
.dock-item:hover {
    background: rgba(255,255,255,0.08);
}

.dock-item:hover i,
.dock-item:hover span {
    color: #ffffff;
}

/* HIDE ON MOBILE */
@media (max-width: 768px) {
    .dock-container {
        display: none;
    }
}