/* ============================================================
   DOCK.CSS — Dock icons, mini icons, animations
============================================================ */

/* Container voor elk dock-item (app of folder) */
.dock-icon {
    text-align: center;
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icoon zelf */
.dock-icon img {
    width: 54px;
    height: 54px;
    transition: transform 0.25s;
    cursor: pointer;
    border-radius: 12px;
}

/* Hover effect */
.dock-icon img:hover {
    transform: scale(1.3);
}

/* Titel onder het icoon */
.dock-title {
    margin-top: 4px;
    font-size: 11px;
    color: white;
    text-shadow: 0 0 4px black;
    pointer-events: none;
}

/* Bounce animatie bij klikken */
.dock-bounce {
    animation: dockBounce 0.6s ease;
}

@keyframes dockBounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-18px); }
    60%  { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

/* ============================================================
   MINI ICONS — Enhanced macOS-style minimized window indicators
============================================================ */

.dock-miniicon {
    width: 42px;          /* groter */
    height: 42px;         /* groter */
    margin-top: 6px;
    animation: miniIconAppear 0.35s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.dock-miniicon img {
    width: 36px;          /* groter */
    height: 36px;         /* groter */
    border-radius: 8px;   /* iets ronder voor grotere iconen */
    box-shadow: 0 2px 6px rgba(0,0,0,0.35); /* subtiele schaduw */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effects */
.dock-miniicon:hover {
    transform: scale(1.15); /* subtiele scale-up */
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.45)); /* lichte glow */
}

.dock-miniicon:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.45); /* iets sterkere schaduw */
}


/* Blauwe stip (optioneel, als je hem wilt houden) */
.dock-miniicon .mini-dot {
    width: 10px;
    height: 10px;
    background: #4af;
    border-radius: 50%;
    box-shadow: 0 0 8px #4af;
}

@keyframes miniIconAppear {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(10px);
    }
    60% {
        opacity: 1;
        transform: scale(1.15) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
