/* Mini Timer Widget */
.mini-timer-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 180px;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 12px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.4);
    font-family: 'Libre Franklin', sans-serif;
    cursor: move;
    user-select: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

.mini-timer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.mini-timer-label {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-timer-close {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.mini-timer-close:hover {
    transform: scale(1.2);
}

.mini-timer-display {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    font-family: 'Monaco', 'Courier New', monospace;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .mini-timer-widget {
        width: 150px;
        bottom: 1rem;
        right: 1rem;
    }

    .mini-timer-display {
        font-size: 28px;
    }

    .mini-timer-label {
        font-size: 10px;
    }
}
